Create cancellation refund quote

POST https://api.duffel.com/air/order_cancellations

Before you actually cancel an order, we give you the ability to see what your refund would be. We call this step requesting a cancellation. Using the id of the order you'd like to cancel, request the cancellation to receive the refund amount you'd get back when the order is cancelled.

This request is effectively creating an order cancellation object, which can be referenced by its id. The order cancellation will include the refund_currency and refund_amount that will be refunded to your organisation upon cancellation.

Request Body

{"data"=>{"order_id"=>"{{ORDER_ID}}"}}

HEADERS

KeyDatatypeRequiredDescription
Acceptstring
Duffel-Versionstring