Skip to content

Cancel order

Use the Cancel order API to stop the production and shipment process. Note: if the order has moved to status printed or shipped the order can't be canceled, please review the Order get flowchart.


Request example

$ curl -X POST \ \
   -H 'Content-Type: application/json' \
   -H 'X-API-KEY: {{apiKey}}' 


Parameter Type Description
orderId (required) string Gelato order id.

Response Statuses

HTTP Status Code Description
200 The order is canceled.
409 The order cannot be canceled, because at least one of the items is in 'printed' status.
404 Order not found.