API Reference
/- Update Counterparty
Get Counterparties
Create Counterparty
Get Counterparty
Update Counterparty
This endpoint is used to update a counterparty. For example, you can use it to unlink a counterparty that is no longer needed, or to set or change its display_name.
The request body takes an UpdateCounterpartyRequest object. On success, it returns the updated counterparty object.
Security
CodeBearer(Required scopes: customer.write)
- Production serverhttps://api.business.jiko.io/api/v2/counterparties/{counterparty_id}/
- Sandbox serverhttps://customer-api.sandbox-api.jikoservices.com/api/v2/counterparties/{counterparty_id}/
curl -i -X PATCH \
'https://api.business.jiko.io/api/v2/counterparties/{counterparty_id}/' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"status": "UNLINKED",
"display_name": "string"
}'