Skip to main content
Parcel Events Sandbox Docs

Search documentation

Type to search this documentation.

Cancel a shipment before handoff

DELETE/v1/shipments/{shipment_id}Cancel a shipment before handoff

Parameters

shipment_idstringpathrequired

pattern ^shp_[a-z0-9]{20}$

Responses

204Shipment canceled
409Current resource state prevents the operationapplication/problem+json
objectProblem
detailstring
errorsarray of object
Show child attributes
Show array items
messagestringrequired
pathstringrequired
request_idstringrequired
statusintegerrequired

maximum 599 · minimum 400

titlestringrequired
typestring · urirequired
Example response
{
  "request_id": "req_00000000000000000005",
  "status": 409,
  "title": "Synthetic resource state conflicts",
  "type": "https://parcel-events.example/problems/conflict"
}

Documentation menu