{ "opencollection": "1.0.0", "info": { "name": "Duffel Ancillaries Order Cancellations API", "version": "v2" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Order Cancellations", "type": "folder" }, "items": [ { "info": { "name": "List order cancellations", "type": "http" }, "http": { "method": "GET", "url": "https://api.duffel.com/air/order_cancellations", "headers": [ { "name": "Duffel-Version", "value": "" } ], "params": [ { "name": "limit", "value": "", "type": "query" } ] }, "docs": "List order cancellations" }, { "info": { "name": "Create a pending order cancellation", "type": "http" }, "http": { "method": "POST", "url": "https://api.duffel.com/air/order_cancellations", "headers": [ { "name": "Duffel-Version", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Previews the refund amount for cancelling an order." }, { "info": { "name": "Get a single order cancellation", "type": "http" }, "http": { "method": "GET", "url": "https://api.duffel.com/air/order_cancellations/:id", "headers": [ { "name": "Duffel-Version", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Get a single order cancellation" }, { "info": { "name": "Confirm an order cancellation", "type": "http" }, "http": { "method": "POST", "url": "https://api.duffel.com/air/order_cancellations/:id/actions/confirm", "headers": [ { "name": "Duffel-Version", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path" } ] }, "docs": "Confirms a pending cancellation, refunding and voiding the order." } ] } ], "bundled": true }