Cancel order parameters

DELETE /orders/{tracking_number}

Cancels an order in Shippit using the tracking number.

The API first checks if the current state of the order allows it to be cancelled, and returns an immediate response. If the order is successfully cancelled, the API answers with the order state updated to cancelled. If the order can’t be cancelled, your receive a 422 error instead.

Name In Type Required Description
tracking_number path string true The tracking number of the Order.

To perform this operation, you must be authenticated with an authentication token.