Cancel a Deal

This method cancels a deal identified by its unique ID. The deal can only be canceled if it is in the 'queued' status.
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 cancel.

Headers
string
required

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

Responses

{
  "message": "Deal canceled 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