Skip to content

OR29 - Perform a full cancelation of an order

Request

⚠️ Content-length header

The Content-Length header must be present with value 0, even when there is no request body.

Call Frequency
Maximum usage: At each order cancelation
Security
Shop-API-Key(Required scopes: ROLE_SHOP_ADMINROLE_PARTNER_ORDER_CANCEL)
Path
order_idstringrequired

Order's identifier

Query
shop_idinteger, (int64)

Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.

curl -i -X PUT \
  'https://your-instance.mirakl.net/api/orders/{order_id}/cancel?shop_id=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

No Content