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.