Update counterparty
Updates counterparty attributes. At least one field must be provided. Use null on externalId to clear it.
Path parameters
Counterparty identifier.
Counterparty identifier.
Headers
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Request body
Example request
{
"externalId": "customer_42",
"entityType": "business",
"displayName": "Jane Q. Doe"
}Response
Counterparty updated
Example response
{
"data": {
"counterparty": {
"id": "cpty_example",
"organizationId": "org_example",
"projectId": "prj_example",
"externalId": "customer_42",
"entityType": "individual",
"displayName": "Jane Doe",
"status": "active",
"createdBy": "usr_example",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-02T00:00:00.000Z"
}
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}Changes
Changed in 2 of the 9 revisions of this API.28
- ▲
removed the required property
data/counterparty/emailfrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
data/counterparty/identityfrom the response with the200statusresponse-required-property-removed
- ●
removed the request property
emailrequest-property-removed
- ●
removed the request property
identityrequest-property-removed
- ▲
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status403response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status409response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status500response-property-enum-value-added
- ●