Skip to main content
POST
/
integrations
/
{id}
/
shipments
/
delete
curl --request POST \
  --url https://panel.sendcloud.sc/api/v2/integrations/{id}/shipments/delete \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "shipment_uuid": "39874b59-2a68-4a3d-8e00-aeb9e0540d00"
}
'
API v2 is entering maintenance mode. New users should start with API v3 to access our latest features and improved performance. Already using v2? Don’t worry, your current integration remains fully functional. Read more about maintenance mode, or check out the migration guide for API v3.
The order_status and payment_status fields we retrieve from integrations are not mapped in our system, meaning that orders will not be automatically updated or deleted if the values for these fields change after an order is placed. You can delete an order by providing either a shipment_uuid, or a combination of the external_order_id and external_shipment_id properties.

Authorizations

Authorization
string
header
required

Basic Authentication using API key and secrets is currently the main authentication mechanism.

Path Parameters

id
integer
required

The id of the integration to which the shipments belong

Body

application/json

You must provide either a shipment_uuid or the combination of external_order_id and external_shipment_id to this endpoint.

shipment_uuid
string<uuid>
required

Autogenerated Sendcloud's internal ID

Response

No Content