capabilities.work

Cancel a Shipment with Confirmation

A 2-step recipe with Sendcloud. We can help you get access.

Recipe · 2 steps

Cancel a Shipment with Confirmation

Works with AI assistants

Retrieve a shipment and cancel it, distinguishing immediate from queued cancellation.

  1. Retrieve the shipment by its id to confirm it exists and read its current parcel status before attempting cancellation.
  2. Request cancellation of the shipment; a 200 indicates immediate cancellation while a 202 indicates the request was queued.
What you'll need to have ready
  • shipmentId: The id of the shipment to retrieve and cancel.
For your developer

Arazzo workflow sendcloud:cancel-shipment, 2 operations: sc-public-v3-scp-get-shipment_by_id → sc-public-v3-scp-post-cancel_shipment. Specs on APIs.io.