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
![Screen Shot 2021-03-13 at 22.55.37.png 1287](https://files.readme.io/b8d8230-Screen_Shot_2021-03-13_at_22.55.37.png)
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 over 1 year ago
What’s Next