Cancel an order
This can only be done for orders that have not been processed, meaning they do not have an inpart and have not been invoiced. Mark an order for cancellation by its order number, optionally providing a reason.
Authentication
AuthorizationBasic
Basic authentication of the form Basic <base64(username:password)>.
Headers
RushOrderMomCode
All requests require the header to contain RushOrderMomCode, a 3 character string that represents the client internally in Rush Order. This should be given to you by Rush Order.
Request
At least one of Order or AltOrder is required.
Order
The Rush Order order number. Supply either Order or AltOrder; if both are sent, Order is used.
AltOrder
Your own order number. Supply either Order or AltOrder; if both are sent, Order is used.
Reason
Response
The order was queued for cancelation. The response body is empty. This endpoint is not idempotent: cancelling an already-cancelled order returns 409.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
