Link a contact to a debt or change its role
PUT/v1/debts/:debt_id/parties/:contact_id
Links a contact of the account to the debt with the role in the body. When the contact is already linked, its role changes. The debt needs no existing party.
Permissions - contacts.read + debts.write. API keys - manage.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The debt with the contacts linked to it
BadRequest
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789Unauthorized
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789The specified resource was not found
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789Internal Server Error
Response Headers
X-Request-Id
Unique identifier for the API request, useful for debugging and tracking.
Example:
abc123xyz789