Cancel Order

Cancel an ITAD order within 2 hours of placement.

POST
/api/v1/itad/{order_number}/cancel

Description

Cancels an ITAD order by order_number. No request body is required.

Cancellation is allowed within 2 hours of placement (UTC), measured by elapsed seconds. For example, an order placed at 10:15 UTC can be cancelled until 12:15 UTC.

The time window uses the unix timestamp embedded in order_number when available (Place Order format); otherwise created_at (UTC) is used.

Request

Headers

HeaderValueRequired
AuthorizationBearer <access_token>Yes
Content-Typeapplication/jsonYes

Path Parameters

ParameterTypeRequiredDescription
order_numberstringYesNumeric order number returned by Place Order or the ITAD order list/detail endpoints.

Response

FieldTypeDescription
messagestringCancellation result message.
order_numberstringCancelled order number.

Notes

  • No request body; Content-Type is optional.
  • Errors use the same envelope as Place Order: success, message, and errors.cancelOrder (string array) for business-rule failures.
  • Cancellation is allowed from any non-cancelled status as long as the order is still within the 2-hour window — not only immediately after placement.
  • Cancel sets order_status to CANCELLED; it does not reverse recovery actions already started (labels, pickup requests, box shipment).
  • Use order_number from Place Order, Order List, or Order Detail. order_id is not accepted on this route.

Related Endpoints

Did this page help you?