Skip to main content

Update credit debt purchaser

Important:

To update the credit debt purchaser, the following requirements must be met:

  • the credit operation cannot be cancelled;
  • the credit operation cannot be in the assignment processing stage;
  • the credit operation cannot be assigned;
  • there must be an active assignment configuration with the new purchaser.

Request

ENDPOINT
/debt/DEBT-KEY/purchaser
MÉTODO
PATCH
Request Body
{
"purchaser_document_number": "01234567890001"
}

PATH PARAMS

FieldTypeDescription
debt_key *stringDebt Id.

Response

STATUS
201
Response Body
{}
STATUS
400
Response Body
{
"data": "{\"title\": \"Bad Request\", \"description\": \"Credit Operation is already in assignment process for changing the purchaser.\", \"translation\": \"A opera\u00e7\u00e3o de cr\u00e9dito est\u00e1 em processo de cess\u00e3o e n\u00e3o pode ter seu comprador alterado.\", \"extra_fields\": {}, \"code\": \"COP000376\"}"
}