Cancel order
shippit_cancel_orderWRITE: cancel a Shippit order by tracking number (the order ends in state cancelled and cannot be revived; for some carriers Shippit also sends a cancellation request to the carrier). Shippit refuses with a 422 and the reason when the order can no longer be cancelled, for example once the carrier has it. Requires confirm: true. DELETE /orders/{tracking_number}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true. A cancelled order cannot be recovered; ask the user to confirm first. | |
| tracking_number | Yes | The Shippit tracking number of the order (returned by shippit_create_order; usually starts with PP). |