Operations

POST /orders/{order_num}/cancel

Summary Cancel an order
URL /api/v1/orders/{order_num}/cancel
Detailed Description Request that the order with given order number be cancelled. Orders can only be cancelled if work on them has not begun yet.
Request Parameters
  • order_num - Order number of the order to be cancelled
Request Headers
  • Authorization - contains client/user API keys
Request Body Empty
Response On success, 204 No Content.
On Error, if there is no order with given number for the authorized customer, 404 Not Found.
If this order cannot be cancelled because work has already gotten started on it, 403 Forbidden.
Response Headers None
Response Body Empty
Error Codes None