Delete a shipment
POST {{baseUrl}}/integrations/:id/shipments/delete
Deleting orders from an integration
If an order is canceled or deleted in your shop system, delete it from the Sendcloud database via this endpoint. 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.
Request Body
{"shipment_uuid"=>"<uuid>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |