Update Deal Status

This method updates the status of a deal identified by its unique ID. The following status transitions are allowed:

  • queued => completed, canceled
  • new => completed, canceled
  • pending => completed, canceled
  • paid => completed
  • expired => completed, canceled
    Provide your bearer token in the Authorization header when making requests to protected resources. Example: Authorization: Bearer 123.
Path Params
string
required

The InHouse DealID or legacy ID of the deal to update.

Body Params
uuid
required
string
enum
required
Headers
string
required

Bearer token for authenticating the request. Example: Authorization: Bearer 123.

Responses

{
  "message": "Deal status updated successfully."
}

{
  "error": "ERROR_ACCESS_TOKEN_INVALID",
  "message": "Access token is invalid.",
  "statusCode": 400
}

{
  "error": "ERROR_TOKEN_EXPIRED",
  "message": "Access token has expired.",
  "statusCode": 401
}
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json