Cancel Booking
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
Please note
A cancellation fee may be charged, check order receipt and listen to webhooks to receive final data
Request
Name | Value | Description |
---|---|---|
URL | /v1/orders/<order_id>/cancel?businessId={{businessid}} | 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
Updated almost 2 years ago
Whatβs Next