Delete Order
DELETE/api/v1/orders/:order_id
Marks order as deleted/cancelled. Can fail if the order cannot be cancelled due to it currently being picked or is already fulfilled/shipped.
Request
Responses
- 204
- 401
- 403
- 404
- 422
Successful Response
unauthorized
: Invalid or no credentials where supplied.
could_not_validate_credentials
: Could not validate credentials.
order_not_found
: No order found matching the given id.
order_already_fulfilled
: The order cannot be cancelled as it was already fulfilled.
picking_in_progress
: The order cannot be cancelled as it is currently being picked.