Cancel Order
POST/v1/order/cancel
Cancel Order EP
Cancels the order in S&D. Requires either order_id or order_number
Required Scopes (io.w)
Request
order_id: str | None
The unique identifier of the order to cancel
order_number: str | None
The order number of the order to cancel
note: str | None
A note to include with cancellation
Response
Returns None. The endpoint processes the cancellation and returns with no response
Responses
- 200
- 422
Successful Response
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...