Cancel order

Orders can be cancelled only in specific states follow the Cycle diagram to get know with the order status

Customer care can cancel an order in any state

📘

Access token

The Access token should be requested with order scope

🚧

Please note

A cancellation fee may be charged, check order receipt and listen to webhooks to receive final data

Request

Name

Value

Description

URL

https://business-api.gett.com/v1/orders/<orderId>/cancel?businessId=<companyUUID>;

URL for "Cancel order" request

orderId

string

Order ID obtained in Create order request

businessId

UUID

Company UUID identificator obtained from Gett in registration process

curl --location -g -X POST 'https://business-api.gett.com/v1/orders/<orderId>/cancel?businessId=<companyUUID>' \
-H 'Authorization: Bearer token'

Response

Response with HTTP Status = 204


What’s Next
Did this page help you?