Skip to content

Shipment cancellation request

Request

Requests cancellation of shipment. Cancellation request, if valid, is accepted via API - it means we try to process this request within the carrier. The final state of this request can be checked in the Shipment detail endpoint.

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
guidstringrequired

Shipment GUID.

Example:93bc0dbe-7481-11e8-8216-002590dad85e
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X POST \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/shipments/93bc0dbe-7481-11e8-8216-002590dad85e/cancel-request \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

Accepted

Response
No content