EntityCounterparty

Hide Payors

POST
Marks Payors as unsearchable by Entity via Counterparty search. Invoices associated with these Payors will still be searchable via Invoice search.

Path parameters

entityIdstringRequired

Request

This endpoint expects an object.
payors
list of stringsRequired
List of payor entity IDs to hide
POST
1curl -X POST https://api.mercoa.com/entity/ent_8545a84e-a45f-41bf-bdf1-33b42a55812c/hidePayors \
2 -H "Authorization: Bearer <token>" \
3 -H "Content-Type: application/json" \
4 -d '{
5 "payors": [
6 "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d"
7 ]
8}'