Version: 202201
Cancel Order
POST/openapi/2022-01/orders/:id/cancel
Canceling an order by specifying its unique ID and an optional cancel reason.
Request
Path Parameters
id stringrequired
Order's ID
- application/json
- Body
- Example
Body
reasonstring
Cancel reason
{
"reason": "string"
}
Responses
- 200
- 404
200
- application/json
No schema
404
- application/json
- Schema
- Example
- Result
Schema
errorsstring[]
{
"errors": [
"Unable to find resource"
]
}
{
"errors": [
"Unable to find resource"
]
}