{"components":{"callbacks":{},"examples":{},"headers":{},"links":{},"parameters":{},"pathItems":{},"requestBodies":{},"responses":{},"schemas":{"PublishedResponses_PreviousResponseDuffel_Airport":{"properties":{"city_name":{"type":"string"},"iata_code":{"type":"string"},"id":{"type":"string"},"name":{"type":"string"}},"type":"object"},"PublishedResponses_PreviousResponseDuffel_Offer":{"properties":{"expires_at":{"format":"date-time","type":"string"},"id":{"example":"off_0000BAzrX1wdbYyQFAuAoz","type":"string"},"passenger_ids":{"items":{"type":"string"},"type":"array"},"slices":{"items":{"properties":{"id":{"type":"string"},"segments":{"items":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_Segment"},"type":"array"}},"type":"object"},"type":"array"},"total_amount":{"description":"Decimal string, e.g. 70.48","example":"70.48","type":"string"},"total_currency":{"example":"USD","type":"string"}},"type":"object"},"PublishedResponses_PreviousResponseDuffel_OfferRequest":{"properties":{"cabin_class":{"type":"string"},"id":{"example":"orq_0000BAzrX1jsN0lVbavyvg","type":"string"},"live_mode":{"type":"boolean"},"offers":{"items":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_Offer"},"type":"array"},"passengers":{"items":{"properties":{"id":{"example":"pas_0000BAzrX1jsN0lVbavyvi","type":"string"},"type":{"type":"string"}},"type":"object"},"type":"array"},"slices":{"items":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_SliceInput"},"type":"array"}},"type":"object"},"PublishedResponses_PreviousResponseDuffel_Order":{"properties":{"available_actions":{"items":{"type":"string"},"type":"array"},"booking_reference":{"example":"DJMT4D","type":"string"},"documents":{"items":{"properties":{"id":{"type":"string"},"type":{"enum":["electronic_ticket"],"type":"string"},"unique_id":{"type":"string"}},"type":"object"},"type":"array"},"id":{"example":"ord_0000BAzrYIJiDdmFJKIhcy","type":"string"},"live_mode":{"type":"boolean"},"total_amount":{"type":"string"},"total_currency":{"type":"string"}},"type":"object"},"PublishedResponses_PreviousResponseDuffel_OrderCancellation":{"properties":{"confirmed_at":{"format":"date-time","type":["string","null"]},"expires_at":{"format":"date-time","type":["string","null"]},"id":{"example":"ore_0000BAzrZ6yBtPriPLcjeX","type":"string"},"order_id":{"type":"string"},"refund_amount":{"description":"0.00 when non-refundable; null when the airline has not quoted","type":["string","null"]},"refund_currency":{"type":["string","null"]},"refund_to":{"type":"string"}},"type":"object"},"PublishedResponses_PreviousResponseDuffel_Segment":{"properties":{"arriving_at":{"format":"date-time","type":"string"},"departing_at":{"format":"date-time","type":"string"},"destination":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_Airport"},"flight_number":{"type":"string"},"id":{"type":"string"},"operating_carrier":{"properties":{"iata_code":{"type":"string"},"name":{"type":"string"}},"type":"object"},"origin":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_Airport"}},"type":"object"},"PublishedResponses_PreviousResponseDuffel_SliceInput":{"properties":{"departure_date":{"description":"YYYY-MM-DD","format":"date","type":"string"},"destination":{"description":"IATA airport code (ATL) or city code","type":"string"},"origin":{"description":"IATA airport code (JFK) or city code (NYC)","type":"string"}},"required":["origin","destination","departure_date"],"type":"object"}},"securitySchemes":{"bearerAuth":{"scheme":"bearer","type":"http"}}},"info":{"description":"","title":"Duffel Flights","version":"1","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-catalogs":{"duffel-flights":{"description":"","title":"Duffel Flights","x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","quote":{"header":"X-AISA-Cost-Mode","value":"quote"}},"x-aisa-document":{"facts_hash":"d0ae990bcd8ea1a75abd7e4a4e47260a24ab01e5c2b9d2fcc0366eae9f069f96","generator_version":"3","protocol_version":"1","schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"}}},"x-aisa-configured-paths":["/apis/v1/duffel/flights/offer-requests/create","/apis/v1/duffel/flights/offer-requests/list","/apis/v1/duffel/flights/offer-requests/{id}","/apis/v1/duffel/flights/offers/list","/apis/v1/duffel/flights/offers/{id}","/apis/v1/duffel/flights/order-cancellations/create","/apis/v1/duffel/flights/order-cancellations/{id}","/apis/v1/duffel/flights/order-cancellations/{id}/confirm","/apis/v1/duffel/flights/order-change-requests/create","/apis/v1/duffel/flights/order-change-requests/{id}","/apis/v1/duffel/flights/order-changes/create","/apis/v1/duffel/flights/orders/create","/apis/v1/duffel/flights/orders/hold-create","/apis/v1/duffel/flights/orders/{id}","/apis/v1/duffel/flights/seat-maps"],"x-aisa-document":{"composer_version":"26","document_hash":"sha256:7215160437f8ebdad941d4216401e4c44581391a83189741286cafd21885bd71","facts_hash":"d0ae990bcd8ea1a75abd7e4a4e47260a24ab01e5c2b9d2fcc0366eae9f069f96","generator_version":"3","protocol_version":"1","response_pending":[{"method":"POST","operation_id":"post_duffel_offer_requests_create","path":"/apis/v1/duffel/flights/offer-requests/create","reason":"public success response has no authoritative payload declaration","statuses":["200"]},{"method":"GET","operation_id":"get_duffel_offer_request","path":"/apis/v1/duffel/flights/offer-requests/{id}","reason":"public success response has no authoritative payload declaration","statuses":["200"]}],"schema_version":"1"},"x-aisa-plans":{"builder":1.0,"display_plan":"payg","payg":1.0,"similarweb_payg":1.0,"team":1.0,"version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb"},"x-aisa-provider":"duffel-flights"},"jsonSchemaDialect":"https://json-schema.org/draft/2020-12/schema","openapi":"3.1.0","paths":{"/apis/v1/duffel/flights/offer-requests/create":{"post":{"description":"Search flights: submit slices and passengers, returns offers\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.02 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_offer_requests_create","parameters":[{"description":"When set to `true`, the offer request resource returned will include _all_ the `offer`s returned by the airlines.\nIf set to `false`, the offer request resource won't include any `offer`s. To retrieve the associated offers later, use the [List Offers](/docs/api/offers/get-offers) endpoint, specifying the `offer_request_id`. You should use this option if you want to take advantage of the pagination, sorting and filtering that the [List Offers](/docs/api/offers/get-offers) endpoint provides.\n","in":"query","name":"return_offers","required":false,"schema":{"default":true,"example":false,"type":"boolean"}},{"description":"The maximum amount of time in milliseconds to wait for each airline search to complete. This timeout applies to the [response time](/docs/api/overview/response-times) of the call to the airline and includes some additional overhead added by Duffel.\nValue should be between 2 seconds and 60 seconds. Any values outside the range will be ignored and the default `supplier_timeout` will be used.\nIf a value is set, the response will only include offers from airline searches that completed within the given time.\nIf a value is not set, the response will only include offers from airline searches that completed within the default `supplier_timeout` value of 20 seconds.\nWe recommend setting `supplier_timeout` lower than the timeout on the HTTP request you send to Duffel API as that will allow us to respond with the offers we received before your request times out with an empty response.\n","in":"query","name":"supplier_timeout","required":false,"schema":{"default":20000,"example":10000,"type":"integer"}},{"description":"The format of the response. When set to `offers` (the default), the response includes a flat list of offers.\nWhen set to `itineraries`, offers are grouped into a hierarchical structure of slices, itineraries, and brands,\nwith shared data (airlines, places, aircraft) in top-level reference maps.\n","in":"query","name":"view","required":false,"schema":{"default":"offers","enum":["offers","itineraries"],"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"airline_credit_ids":{"description":"The list of airline credit IDs that Duffel received as input.","example":["acd_00009hthhsUZ8W4LxQgkjo","acd_0000thhsUZ8W4LxQgkjo00"],"items":{"example":"acd_0000thhsUZ8W4LxQgkjo00","type":"string"},"type":"array"},"cabin_class":{"description":"The cabin that the passengers want to travel in","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"include_split_ticket":{"description":"When set to `true` and the search has more than one slice, additional one-way searches will be fired per slice to find split-ticket candidates. These results are only included in the response when `view` is set to `itineraries`. Please get in touch with the Duffel support team at <help@duffel.com> to access this feature.","example":true,"type":"boolean"},"max_connections":{"default":1,"description":"The maximum number of connections within any slice of the offer. For example 0 means a direct flight which will have a single segment within each slice and 1 means a maximum of two segments within each slice of the offer.","example":0,"maximum":2,"minimum":0,"type":"integer"},"passengers":{"description":"The passengers who want to travel. If you specify an `age` for a passenger, the `type` may differ for the same passenger in different offers due to airline's different rules. e.g. one airline may treat a 14 year old as an adult, and another as a young adult. You may only specify an `age` or a `type` – not both.","items":{"oneOf":[{"description":"A passenger specified by their type","properties":{"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Earhart","type":"string"},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Amelia","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger. If the passenger is aged 18 or over, you should specify a `type` of `adult`. If a passenger is aged under 18, you should specify their `age` instead of a `type`. A passenger can have only a type or an age, but not both.","enum":["adult","child","infant_without_seat"],"example":"adult","type":"string"},"user_id":{"description":"The ID of the customer user that associates with this passenger.\n","example":"icu_0000A3t2sL46m5eDF45kWW","type":"string"}},"required":["type"],"title":"Offer Request Body Passenger With Type","type":"object"},{"description":"A passenger specified by their age","properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice. e.g. if you are searching for a round trip and the passenger is 15 years old at the time of the outbound flight, but they then have their birthday and are 16 years old for the inbound flight, you must set the age to 16. You should specify an `age` for passengers who are under 18 years old. A passenger can have only a type or an age, but not both. You can optionally pass age with fare_type though.","example":14,"maximum":130,"minimum":0,"type":"integer"},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Earhart","type":"string"},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Amelia","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"user_id":{"description":"The ID of the customer user that associates with this passenger.\n","example":"icu_0000A3t2sL46m5eDF45kWW","type":"string"}},"required":["age"],"title":"Offer Request Body Passenger With Age","type":"object"},{"description":"A passenger specified by their fare type. This is used for leisure private fares.","properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice. e.g. if you are searching for a round trip and the passenger is 15 years old at the time of the outbound flight, but they then have their birthday and are 16 years old for the inbound flight, you must set the age to 16. You should specify an `age` for passengers who are under 18 years old. A passenger can have only a type or an age, but not both. You can optionally pass age with fare_type though.","example":14,"maximum":130,"minimum":0,"type":"integer"},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Earhart","type":"string"},"fare_type":{"description":"The fare type of the passenger. If the passenger is aged less than 18, you should pass in age as well.","enum":["accompanying_adult","contract_bulk","contract_bulk_child","contract_bulk_infant_with_seat","contract_bulk_infant_without_seat","frequent_flyer","group_inclusive_tour","group_inclusive_tour_child","humanitarian","individual_inclusive_tour_child","marine","seat_only","student","teacher","tour_operator_inclusive","tour_operator_inclusive_infant","unaccompanied_child","visiting_friends_and_family"],"example":"student","type":"string"},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Amelia","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"user_id":{"description":"The ID of the customer user that associates with this passenger.\n","example":"icu_0000A3t2sL46m5eDF45kWW","type":"string"}},"required":["fare_type"],"title":"Offer Request Body Passenger With Fare Type","type":"object"}]},"type":"array"},"private_fares":{"additionalProperties":true,"description":"The private fare codes for this offer request. You can pass in multiple airlines with their specific private fare codes. The key is the airline's IATA code that provided the private fare code. The `corporate_code` and `tour_code` are provided to you by the airline and the `tracking_reference` is to identify your business by the airlines.","example":{"QF":[{"corporate_code":"FLX53","tracking_reference":"ABN:2345678"}],"UA":[{"corporate_code":"1234","tour_code":"578DFL"}]}},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up this offer request. One-way journeys can be expressed using one slice, whereas return trips will need two.","items":{"properties":{"arrival_time":{"description":"The inclusive time range for the arrival of the slice","properties":{"from":{"description":"The local time in the format `hh:mm` of the destination airport at or after which the slice should arrive. Defaults to `00:00` when only `to` is provided","example":"09:45","format":"hh:mm","type":["string","null"]},"to":{"description":"The local time in the format `hh:mm` of the destination airport at or before which the slice should arrive. Defaults to `23:59` when only `from` is provided","example":"17:00","format":"hh:mm","type":["string","null"]}},"title":"ArrivalTime","type":["object","null"]},"departure_date":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to depart","example":"2020-04-24","format":"date","type":"string"},"departure_time":{"description":"The inclusive time range for the departure of the slice","properties":{"from":{"description":"The local time in the format `hh:mm` of the origin airport at or after which the slice should depart. Defaults to current time at airport when only `to` is provided or `from` value is in the past","example":"09:45","format":"hh:mm","type":["string","null"]},"to":{"description":"The local time in the format `hh:mm` of the origin airport at or before which the slice should depart. Defaults to `23:59` when only `from` is provided","example":"17:00","format":"hh:mm","type":["string","null"]}},"title":"DepartureTime","type":["object","null"]},"destination":{"description":"The 3-letter IATA code for the city or airport where this slice ends","example":"JFK","type":"string"},"origin":{"description":"The 3-letter IATA code for the city or airport where this slice starts","example":"LHR","type":"string"}},"required":["departure_date","destination","origin"],"title":"Offer Request Body Slice","type":"object"},"type":"array"}},"required":["slices","passengers"],"title":"Body parameters","type":"object"}},"required":["data"],"type":"object"}}},"required":true},"responses":{"200":{"description":"Successful response"},"201":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_OfferRequest"}},"type":"object"}}},"description":"Offer request created"},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Create Flight Search","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-offer-requests-create","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"fixed_success","customer_pricing":"fixed_success","default_request_estimate_usd":0.02,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":true},"x-aisa-response-pending":{"method":"POST","operation_id":"post_duffel_offer_requests_create","path":"/apis/v1/duffel/flights/offer-requests/create","reason":"public success response has no authoritative payload declaration","statuses":["200"]},"x-aisa-response-source":{"content_hash":"sha256:d7dd675de0e8e73cfa2d7e00d932f52b208a5499f901df2e19ffcf5b39438155","kind":"published_success_contract"},"x-aisa-revision":{"customer_pricing_ref":"fbbe73cde8e2","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"4aac849d831a"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_offer_requests_create","path":"/apis/v1/duffel/flights/offer-requests/create"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/offer_requests","x-aisa-validation":"provider"}},"/apis/v1/duffel/flights/offer-requests/list":{"get":{"description":"List offer requests (paginated)\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_offer_requests_list","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"}},{"in":"query","name":"offer_id","required":false,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"airline_credit_ids":{"description":"The IDs of airline credits to be used when searching for offers. These credits will be evaluated for applicability to the returned offers and included in the `available_airline_credits` field of compatible offers.","example":["acd_00009htYpSCXrwaB9DnUm1","acd_00009htYpSCXrwaB9DnUm2"],"items":{"type":"string"},"type":"array"},"cabin_class":{"description":"The cabin that the passengers want to travel in","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"client_key":{"description":"A client key to allow the Duffel Ancillaries component to talk to the Duffel API to retrieve information about an offer and its ancillaries. Learn more about how to use this on https://duffel.com/docs/guides/ancillaries-component.","example":"SFMyNTY.g2gDdAAAAANkAAlsaXZlX21vZGVkAAVmYWxzZWQAD29yZ2FuaXNhdGlvbl9pZG0AAAAab3JnXzAwMDA5VWhGY29ERGk5TTFTRjhiS2FkAAtyZXNvdXJjZV9pZG0AAAAab3JxXzAwMDBBVkZWZnFJUXFBWXpYeVRRVlVuBgDpOCvdhwFiAAFRgA.df1RmLeBFUR7r1WFHHiEksilfSZNLhmPX0nj5VOKWJ4","type":"string"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer request was created","example":"2020-02-12T15:21:01.927Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"orq_00009hjdomFOCJyxHG7k7k","type":"string"},"live_mode":{"description":"Whether the offer request was created in live mode. This field will be set to `true` if the offer request was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"offers":{"description":"The offers returned by the airlines","items":{"properties":{"base_amount":{"description":"The base price of the offer for all passengers, excluding taxes. It does not include the base amount of any service(s) that might be booked with the offer.","example":"30.20","type":"string"},"base_currency":{"description":"The currency of the `base_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"conditions":{"description":"The conditions associated with this offer, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this offer - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole offer can be changed before the departure of the first slice.\nIf all of the slices on the offer can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the offer can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the offer is changeable.\nIf the airline hasn't provided any information about whether this offer can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole offer can be refunded before the departure of the first slice.\nIf all of the slices on the offer can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the offer can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this offer can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OfferConditions","type":"object"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime expiry of the offer before which the traveller should use this offer to create an order. After this time the offer can no longer be used to create an order.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"live_mode":{"description":"Whether the offer request was created in live mode. This field will be set to `true` if the offer request was created in live mode, or `false` if it was created in test mode.","example":true,"type":"boolean"},"owner":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline which provided the offer"}]},"partial":{"description":"Partial offers are a new concept we're introducing as a part of a new multi-step search flow that we're currently experimenting with.\nA partial offer can't be booked directly, but it can be combined with other partial offers to form a full offer.\nPartial offers are only ever returned through the multi-step search flow. So there's no need to add any handling to deal with partial offers if you're using the traditional `OfferRequest` search flow to create offers.\n","example":true,"type":"boolean"},"passenger_identity_documents_required":{"description":"Whether identity documents must be provided for each of the passengers when creating an order based on this offer. If this is `true`, you must provide a passport document for every passenger.","example":false,"type":"boolean"},"passengers":{"description":"The passengers included in the offer","items":{"properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice","example":14,"maximum":130,"minimum":0,"type":["integer","null"]},"family_name":{"description":"The passenger's family name","example":"Earhart","type":["string","null"]},"fare_type":{"description":"The fare type of the passenger","example":"contract_bulk","type":["string","null"]},"given_name":{"description":"The passenger's given name","example":"Amelia","type":["string","null"]},"id":{"description":"The identifier for the passenger. This ID will be generated by Duffel","example":"pas_00009hj8USM7Ncg31cBCL","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":["string","null"]}},"title":"Offer Passenger","type":"object"},"type":"array"},"payment_requirements":{"allOf":[{"properties":{"payment_required_by":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this offer. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order.\nThis will be `null` when the offer requires immediate payment - that is, when `requires_instant_payment` is `true`.\n","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"price_guarantee_expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and may change before payment.\nThis will be `null` when `requires_instant_payment` is `true`.\n","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"requires_instant_payment":{"description":"When payment is required at the time of booking this will be `true` and `payment_required_by` and `price_guarantee_expires_at` will be `null`. When payment can be made at a time after booking, this will be `false` and the time limits on the payment will be provided in `payment_required_by` and `price_guarantee_expires_at`.\n","example":false,"type":"boolean"}},"title":"OfferPaymentRequirements","type":"object"},{"description":"The payment requirements for this offer"}]},"private_fares":{"description":"The private fares applied on this offer.","items":{"properties":{"corporate_code":{"description":"The corporate code that was applied, if any","example":"FLX53","type":["string","null"]},"tour_code":{"description":"The tour code that was applied, if any","example":"578DFL","type":["string","null"]},"tracking_reference":{"description":"The tracking reference that was applied, if any","example":"ABN:2345678","type":["string","null"]},"type":{"description":"The type of private fare applied","enum":["corporate","leisure","negotiated"],"example":"corporate","type":"string"}},"required":["type","corporate_code","tracking_reference","tour_code"],"title":"Offer Private Fares","type":"object"},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up this offer. Each slice will include one or more [segments](/docs/api/overview/key-concepts), the specific flights that the airline is offering to take the passengers from the slice's `origin` to its `destination`.\n[Partial](#offers-schema-partial) offers contain a single slice as each partial offer is for a particular slice of the journey.\n","items":{"properties":{"comparison_key":{"description":"A hash uniquely identifying this slice. This value could be use to group together identical slices from different offers.","example":"BmlZDw==","type":"string"},"conditions":{"description":"The conditions associated with this slice, describing the kinds of\nmodifications you can make post-booking and any penalties that\nwill apply to those modifications and also what perks will\nbe available to passengers when travelling.\n\nThis condition is applied only to this slice and to all the passengers\nassociated with this offer - for information at the offer level\n(e.g. \"what happens if I want to change all the slices?\") refer to the\n`conditions` at the top level.\n\nIf a particular kind of modification is allowed, you may not always be able to take action through\nthe Duffel API. In some cases, you may need to contact the Duffel support team or\nthe airline directly.\n\nNote that the perks associated with the slice are aggregated across passengers\nand segments and are intended to provide a brief summary of the passenger experience, however\nthe experience may not be consistent across all segments. As an example, priority boarding may\nbe flagged as available on the slice but not available on all segments on the slice.\n\n**Note**: `advance_seat_selection`, `priority_boarding` and `priority_check_in` are under restricted `NGS` feature.\nIf you need access, get in touch with the Duffel support team.\n","properties":{"advance_seat_selection":{"description":"Whether passengers are able to select a seat prior to check in.","example":"true","type":["boolean","null"]},"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalty that is applied if the entire offer is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"priority_boarding":{"description":"Whether passengers are given preferential boarding over other passengers in their cabin.","example":"true","type":["boolean","null"]},"priority_check_in":{"description":"Whether passengers are given access to a fast track lane during check in.","example":"true","type":["boolean","null"]}},"title":"OfferSliceConditions","type":"object"},"destination":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport where this slice ends"}]},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice.\nA fare brand specifies the travel conditions you get on your slice made available by the airline.\ne.g. a British Airways Economy Basic fare will only include a hand baggage allowance.\nIt is worth noting that the fare brand names are defined by the airlines themselves and\ntherefore they are subject to change without any prior notice.\nWe’re in the process of adding support for `fare_brand_name` across all our airlines,\nso for now, this field may be `null` in some offers.\nThis will become a non-nullable attribute in the near future.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"ngs_shelf":{"description":"A summary of the seat characteristics and extras available to passengers on the given slice.\n\nThe shelf is calculated by Duffel and may be used to group similar slices across offers when building a shopping display.\n\nNote this value does not take into account any services that may be purchased in addition to the offer and should not be directly used\nin any offer ranking systems.\n\nIncludes the following:\n\n  - `1`: standard seating with limited extras.\n  - `2`: standard seating with extras, i.e. carry-on baggage, advanced seat selection,  priority boarding etc.\n  - `3`: preferred seating, such as additional legroom, seat width or middle seat free\n  - `4`: premium seating, additional legroom and recline. Situated in business class or higher.\n  - `5`: deluxe seating, additional legroom and reclines to lie flat position. Situated in business class or higher.\n\n**Note**: this field is under restricted `NGS` feature. If you need access, get in touch with the Duffel support team.\n","enum":[1,2,3,4,5],"example":1,"type":["integer","null"]},"origin":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport where this slice begins"}]},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline."}]},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline."}]},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport from which the flight is scheduled to depart"}]},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment included in the offer. Some airlines may allow additional baggage to be booked as a service - see the offer's `available_services`.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin":{"description":"Data about the cabin that the passenger will be flying in for this segment","properties":{"amenities":{"description":"The amenities specific to this cabin class on this plane","properties":{"power":{"description":"If power (AC and/or USB) is available, information on what is available","properties":{"available":{"description":"Whether there is power available or not in this cabin","example":"true","type":"boolean"}},"type":["object","null"]},"seat":{"description":"Information on the standard seat in this cabin class. Exceptions may apply, such as on exit rows.","properties":{"legroom":{"description":"The available legroom for the passenger","enum":["less","more","standard","n/a"],"example":"standard","type":"string"},"pitch":{"description":"The distance from a point on a seat to the seat front/behind it, in inches, or \"n/a\" if not available","example":"32","type":"string"},"type":{"description":"A summary of the seat characteristics for the cabin.\n\nIncludes the following:\n\n  - `\"standard\"` - typical seating with regular legroom / recline\n  - `\"skycouch\"` - a row of seats converted into a couch layout\n  - `\"recliner\"` - seating with additional legroom and recline\n  - `\"angle_flat\"` - seating with additional legroom and near flat recline\n  - `\"full_flat\"` - seating with full flat recline\n  - `\"full_flat_pod\"` - seating with full flat recline and enclosing privacy screens\n  - `\"private_suite\"` - a full suite, typically including a bed and recliner seat\n","enum":["standard","skycouch","recliner","angle_flat","full_flat","full_flat_pod","private_suite"],"example":"standard","type":["string","null"]}},"type":["object","null"]},"wifi":{"description":"If Wi-Fi is available, information on its cost, availability, etc.","properties":{"available":{"description":"Whether Wi-Fi is available in this cabin","example":"true","type":"boolean"},"cost":{"description":"The cost, if any, to use the Wi-Fi","enum":["free","free or paid","paid","n/a"],"example":"free","type":"string"}},"type":["object","null"]}},"type":["object","null"]},"marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":"string"},"name":{"description":"The name of the cabin class","enum":["first","business","premium_economy","economy"],"example":"economy","type":"string"}},"type":["object","null"]},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":"string"},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":"string"},"fare_basis_code":{"description":"The airline's alphanumeric code for the fare that the passenger is using to travel. Where this is `null`, it means that either the fare basis code is not available or the airline does not use fare basis codes.","example":"OXZ0RO","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"}},"title":"Offer Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Offer Slice Segment Stop","type":"object"},"type":"array"}},"title":"Offer Slice Segment","type":"object"},"type":"array"}},"title":"Offer Slice","type":"object"},"type":"array"},"supported_passenger_identity_document_types":{"description":"The types of identity documents supported by the airline and may be provided for the passengers when creating an order based on this offer.\nCurrently, possible types are `passport`, `tax_id`, `known_traveler_number`, and `passenger_redress_number`.","example":["passport"],"items":{"enum":["passport","tax_id","known_traveler_number","passenger_redress_number"],"type":"string"},"type":"array"},"tax_amount":{"description":"The amount of tax payable on the offer for all passengers","example":"40.80","type":["string","null"]},"tax_currency":{"description":"The currency of the `tax_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"total_amount":{"description":"The total price of the offer for all passengers, including taxes. It does not include the total price of any service(s) that might be booked with the offer.","example":"45.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency, with two exceptions. If you request the offer with a card or airline credit via `intended_payment_methods`, it will be the currency the airline charges in. If you’re using Duffel as an accredited IATA agent, it will be the currency provided by the airline (usually based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"total_emissions_kg":{"description":"An estimate of the total carbon dioxide (CO₂) emissions when all of the passengers fly this offer's itinerary, measured in kilograms","example":"460","type":["string","null"]}},"title":"Offer Index","type":"object"},"type":"array"},"passengers":{"description":"The passengers who want to travel","items":{"oneOf":[{"description":"A passenger specified by their type","properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice","example":14,"maximum":130,"minimum":0,"type":["integer","null"]},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Earhart","type":["string","null"]},"fare_type":{"description":"The fare type of the passenger","example":"contract_bulk","type":["string","null"]},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Amelia","type":["string","null"]},"id":{"description":"The identifier for the passenger, unique within this Offer Request and across all Offer Requests. This ID will be generated by Duffel.","example":"pas_00009hj8USM7Ncg31cBCL","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":"string"}},"title":"Offer Request Passenger With Type","type":"object"},{"description":"A passenger specified by their age","properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice","example":14,"maximum":130,"minimum":0,"type":"integer"},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Earhart","type":["string","null"]},"fare_type":{"description":"The fare type of the passenger","example":"contract_bulk","type":["string","null"]},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Amelia","type":["string","null"]},"id":{"description":"The identifier for the passenger, unique within this Offer Request and across all Offer Requests. This ID will be generated by Duffel.","example":"pas_00009hj8USM7Ncg31cBCL","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":["string","null"]}},"title":"Offer Request Passenger With Age","type":"object"},{"description":"A passenger specified by their fare type","properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice","example":14,"maximum":130,"minimum":0,"type":["integer","null"]},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Earhart","type":["string","null"]},"fare_type":{"description":"The fare type of the passenger","example":"contract_bulk","type":"string"},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 character, and the maximum is 20 characters.\n\nThis is only required if you're also including loyalty programme accounts.\n","example":"Amelia","type":["string","null"]},"id":{"description":"The identifier for the passenger, unique within this Offer Request and across all Offer Requests. This ID will be generated by Duffel.","example":"pas_00009hj8USM7Ncg31cBCL","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":["string","null"]}},"title":"Offer Request Passenger With Fare Type","type":"object"}]},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up this offer request. One-way journeys can be expressed using one slice, whereas return trips will need two.","items":{"properties":{"departure_date":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to depart","example":"2020-04-24","format":"date","type":"string"},"destination":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport the passengers want to travel to"}]},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"origin":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport the passengers want to depart from"}]},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"}},"title":"Offer Request Slice","type":"object"},"type":"array"}},"title":"Offer Request","type":"object"},"type":"array"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"List Flight Searches","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-offer-requests-list","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:964da5a3ccbf661fb6ad8ecf9039ec6c5d88b1f9487748351aea52c76cdde63d","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:5bb1ade8a35019289faeb18f10f2545b4c088655153685e42a1549f7e6f5a166","converter":"scripts/import_duffel_flights_reference.py@1+explicit-response-binding@1","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","parent_source_hash":"sha256:d875b5ad32404f5d316f916cceb24fb5d3eddfed2ef4dcb1eca324850b752fbf","path_space":"public","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_only":true,"response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"8b85d71d354d63e8ddb1bcce8087799cbd1a79d9dd7dc3ec8b638d13f0290852","url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"8b85d71d354d63e8ddb1bcce8087799cbd1a79d9dd7dc3ec8b638d13f0290852","x-aisa-revision":{"customer_pricing_ref":"7cfcbf2d2b98","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"7cc9fe60b27f"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_offer_requests_list","path":"/apis/v1/duffel/flights/offer-requests/list"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/offer-requests/{id}":{"get":{"description":"Retrieve a single offer request by id\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_offer_request","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response"},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get Flight Search","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-offer-requests-id","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-pending":{"method":"GET","operation_id":"get_duffel_offer_request","path":"/apis/v1/duffel/flights/offer-requests/{id}","reason":"public success response has no authoritative payload declaration","statuses":["200"]},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"85247217bce621c0b7a7967f9b9649bcfa2c9d205173b2fd1f3e53224460c236","x-aisa-revision":{"customer_pricing_ref":"8269b5d4bc82","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"6c9b66269a0c"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_offer_request","path":"/apis/v1/duffel/flights/offer-requests/{id}"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/offers/list":{"get":{"description":"List offers across searches (paginated)\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_offers_list","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"}},{"in":"query","name":"offer_id","required":false,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"properties":{"available_airline_credit_ids":{"description":"The IDs of airline credits that can be used to pay for this offer. Each ID represents a credit that can be applied as a payment method when creating an order from this offer.","example":["acd_00009htYpSCXrwaB9DnUm1","acd_00009htYpSCXrwaB9DnUm2"],"items":{"type":"string"},"type":"array"},"available_services":{"description":"The services that can be booked along with the offer but are not included by default, for example an additional checked bag. This field is only returned in the [Get single offer](/docs/api/offers/get-offer-by-id) endpoint. When there are no services available, or we don't support services for the airline, this list will be empty. If you want to know which airlines we support services for, please get in touch with the Duffel support team at <help@duffel.com>.","items":{"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ase_00009UhD4ongolulWd9123","type":"string"},"maximum_quantity":{"description":"The maximum quantity of this service that can be booked with an order","example":1,"minimum":1,"type":"integer"},"metadata":{"description":"The metadata varies by the type of service. It includes further data\nabout the service. For example, for baggages, it may have data about\nsize and weight restrictions.\n","oneOf":[{"additionalProperties":false,"description":"An object containing metadata about the service, like the maximum weight and dimensions of the baggage.","properties":{"maximum_depth_cm":{"description":"The maximum depth that the baggage can have in centimetres","example":75,"type":["number","null"]},"maximum_height_cm":{"description":"The maximum height that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_length_cm":{"description":"The maximum length that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_weight_kg":{"description":"The maximum weight that the baggage can have in kilograms","example":23,"type":["number","null"]},"type":{"description":"The type of the baggage","enum":["checked","carry_on"],"example":"checked","type":"string"}},"required":["type"],"title":"Service Metadata for a Baggage","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service, like the designator of the \nseat.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"required":["designator","name","disclosures"],"title":"Service Metadata for a Seat","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service","properties":{"meal":{"description":"Data about the meal","enum":["baby_meal","bland_meal","asian_vegetarian_meal","diabetic_meal","gluten_free_meal","hindu_meal","kosher_meal","muslim_meal","vegan_meal","vegetarian_lacto_ovo_meal","traditional_meal","low_fat_meal","low_salt_meal","lactose_free_meal","healthy_meal","swiss_cold_meal","swiss_brunch","japanese_meal","child_meal","allergen_meal","vegetarian_meal","meal"],"example":"kosher","type":"string"}},"required":["meal"],"title":"Service Metadata for a Meal","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service","properties":{"merchant_copy":{"description":"Details of what this CFAR service entails and how it can be used","example":"If you purchase this product we can refund up to 75% of your base fare if you cancel 24 hours before your first scheduled departure\n","type":"string"},"refund_amount":{"description":"The amount of money that will be returned","example":"90.80","type":"string"},"terms_and_conditions_url":{"description":"The URL where you can find the terms and conditions for this CFAR service","example":"https://duffel.com/cfar_terms_and_conditions","type":"string"}},"required":["refund_amount","terms_and_conditions_url","merchant_copy"],"title":"Service Metadata for Cancel for Any Reason","type":"object"}]},"passenger_ids":{"description":"The list of passenger `id`s the service applies to. If you add this service to an order it will apply to all the passengers in this list. For services where the type is `baggage`, this list will include only a single passenger.","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"segment_ids":{"description":"The list of segment `id`s the service applies to. If you add this service to an order it will apply to all the segments in this list. For services where the type is `baggage`, depending on the airline, this list includes all the segments of all slices or all the segments of a single slice.","example":["seg_00009hj8USM7Ncg31cB456"],"items":{"type":"string"},"type":"array"},"total_amount":{"description":"The total price of the service for all passengers and segments it\napplies to, including taxes. This price is for a single unit of the\nservice.\n","example":"15.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIf an offer or order is priced with balance, it matches your organisation's billing currency. If it is priced with card or airline credit, it is returned in the currency the airline charges in. If it is priced without payment methods and not using Duffel Content, it is returned in the agency point of sale currency.\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of the service","enum":["baggage","seat","meal","cancel_for_any_reason"],"example":"baggage","type":"string"}},"title":"Offer Service","type":"object"},"type":"array"},"base_amount":{"description":"The base price of the offer for all passengers, excluding taxes. It does not include the base amount of any service(s) that might be booked with the offer.","example":"30.20","type":"string"},"base_currency":{"description":"The currency of the `base_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"conditions":{"description":"The conditions associated with this offer, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this offer - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole offer can be changed before the departure of the first slice.\nIf all of the slices on the offer can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the offer can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the offer is changeable.\nIf the airline hasn't provided any information about whether this offer can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole offer can be refunded before the departure of the first slice.\nIf all of the slices on the offer can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the offer can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this offer can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OfferConditions","type":"object"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime expiry of the offer before which the traveller should use this offer to create an order. After this time the offer can no longer be used to create an order.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"off_00009htYpSCXrwaB9DnUm0","type":"string"},"intended_payment_methods":{"description":"The payment methods that will be used to pay for the offer and their fees if any.","items":{"oneOf":[{"additionalProperties":false,"properties":{"card_id":{"description":"The ID of the card you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be charged to the card payment","example":"500.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"surcharge_amount":{"description":"The surcharge amount that will be applied to the card payment","example":"30.20","type":["string","null"]},"surcharge_currency":{"description":"The currency of the surcharge amount","example":"GBP","format":"ISO 4217","type":["string","null"]},"type":{"description":"The type of payment method you intend to use","enum":["card"],"example":"card","type":"string"}},"required":["type","card_id","charge_amount","charge_currency","surcharge_amount","surcharge_currency"],"title":"Intended Card Surcharge","type":"object"},{"additionalProperties":false,"properties":{"airline_credit_id":{"description":"The ID of the airilne credit you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be taken from this airline credit","example":"30.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":"string"},"penalty_currency":{"description":"The currency of the penalty amount","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of payment method you intend to use","enum":["airline_credit"],"example":"airline_credit","type":"string"}},"required":["type","airline_credit_id","charge_amount","charge_currency","penalty_amount","penalty_currency"],"title":"Intended Airline Credit Charge","type":"object"}]},"type":"array"},"intended_services":{"description":"The services that will be booked with the offer.","items":{"additionalProperties":false,"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ase_00009UhD4ongolulWd9123","type":"string"},"quantity":{"description":"The quantity of the service you intend to book. This will always be `1` for seat services.","example":1,"minimum":1,"type":"integer"}},"required":["id","quantity"],"title":"Intended Service","type":"object"},"type":"array"},"live_mode":{"description":"Whether the offer request was created in live mode. This field will be set to `true` if the offer request was created in live mode, or `false` if it was created in test mode.","example":true,"type":"boolean"},"owner":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline which provided the offer"}]},"partial":{"description":"Partial offers are a new concept we're introducing as a part of a new multi-step search flow that we're currently experimenting with.\nA partial offer can't be booked directly, but it can be combined with other partial offers to form a full offer.\nPartial offers are only ever returned through the multi-step search flow. So there's no need to add any handling to deal with partial offers if you're using the traditional `OfferRequest` search flow to create offers.\n","example":true,"type":"boolean"},"passenger_identity_documents_required":{"description":"Whether identity documents must be provided for each of the passengers when creating an order based on this offer. If this is `true`, you must provide a passport document for every passenger.","example":false,"type":"boolean"},"passengers":{"description":"The passengers included in the offer","items":{"properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice","example":14,"maximum":130,"minimum":0,"type":["integer","null"]},"family_name":{"description":"The passenger's family name","example":"Earhart","type":["string","null"]},"fare_type":{"description":"The fare type of the passenger","example":"contract_bulk","type":["string","null"]},"given_name":{"description":"The passenger's given name","example":"Amelia","type":["string","null"]},"id":{"description":"The identifier for the passenger. This ID will be generated by Duffel","example":"pas_00009hj8USM7Ncg31cBCL","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":["string","null"]}},"title":"Offer Passenger","type":"object"},"type":"array"},"payment_requirements":{"allOf":[{"properties":{"payment_required_by":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this offer. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order.\nThis will be `null` when the offer requires immediate payment - that is, when `requires_instant_payment` is `true`.\n","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"price_guarantee_expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and may change before payment.\nThis will be `null` when `requires_instant_payment` is `true`.\n","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"requires_instant_payment":{"description":"When payment is required at the time of booking this will be `true` and `payment_required_by` and `price_guarantee_expires_at` will be `null`. When payment can be made at a time after booking, this will be `false` and the time limits on the payment will be provided in `payment_required_by` and `price_guarantee_expires_at`.\n","example":false,"type":"boolean"}},"title":"OfferPaymentRequirements","type":"object"},{"description":"The payment requirements for this offer"}]},"private_fares":{"description":"The private fares applied on this offer.","items":{"properties":{"corporate_code":{"description":"The corporate code that was applied, if any","example":"FLX53","type":["string","null"]},"tour_code":{"description":"The tour code that was applied, if any","example":"578DFL","type":["string","null"]},"tracking_reference":{"description":"The tracking reference that was applied, if any","example":"ABN:2345678","type":["string","null"]},"type":{"description":"The type of private fare applied","enum":["corporate","leisure","negotiated"],"example":"corporate","type":"string"}},"required":["type","corporate_code","tracking_reference","tour_code"],"title":"Offer Private Fares","type":"object"},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up this offer. Each slice will include one or more [segments](/docs/api/overview/key-concepts), the specific flights that the airline is offering to take the passengers from the slice's `origin` to its `destination`.\n[Partial](#offers-schema-partial) offers contain a single slice as each partial offer is for a particular slice of the journey.\n","items":{"properties":{"comparison_key":{"description":"A hash uniquely identifying this slice. This value could be use to group together identical slices from different offers.","example":"BmlZDw==","type":"string"},"conditions":{"description":"The conditions associated with this slice, describing the kinds of\nmodifications you can make post-booking and any penalties that\nwill apply to those modifications and also what perks will\nbe available to passengers when travelling.\n\nThis condition is applied only to this slice and to all the passengers\nassociated with this offer - for information at the offer level\n(e.g. \"what happens if I want to change all the slices?\") refer to the\n`conditions` at the top level.\n\nIf a particular kind of modification is allowed, you may not always be able to take action through\nthe Duffel API. In some cases, you may need to contact the Duffel support team or\nthe airline directly.\n\nNote that the perks associated with the slice are aggregated across passengers\nand segments and are intended to provide a brief summary of the passenger experience, however\nthe experience may not be consistent across all segments. As an example, priority boarding may\nbe flagged as available on the slice but not available on all segments on the slice.\n\n**Note**: `advance_seat_selection`, `priority_boarding` and `priority_check_in` are under restricted `NGS` feature.\nIf you need access, get in touch with the Duffel support team.\n","properties":{"advance_seat_selection":{"description":"Whether passengers are able to select a seat prior to check in.","example":"true","type":["boolean","null"]},"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalty that is applied if the entire offer is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"priority_boarding":{"description":"Whether passengers are given preferential boarding over other passengers in their cabin.","example":"true","type":["boolean","null"]},"priority_check_in":{"description":"Whether passengers are given access to a fast track lane during check in.","example":"true","type":["boolean","null"]}},"title":"OfferSliceConditions","type":"object"},"destination":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport where this slice ends"}]},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice.\nA fare brand specifies the travel conditions you get on your slice made available by the airline.\ne.g. a British Airways Economy Basic fare will only include a hand baggage allowance.\nIt is worth noting that the fare brand names are defined by the airlines themselves and\ntherefore they are subject to change without any prior notice.\nWe’re in the process of adding support for `fare_brand_name` across all our airlines,\nso for now, this field may be `null` in some offers.\nThis will become a non-nullable attribute in the near future.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"ngs_shelf":{"description":"A summary of the seat characteristics and extras available to passengers on the given slice.\n\nThe shelf is calculated by Duffel and may be used to group similar slices across offers when building a shopping display.\n\nNote this value does not take into account any services that may be purchased in addition to the offer and should not be directly used\nin any offer ranking systems.\n\nIncludes the following:\n\n  - `1`: standard seating with limited extras.\n  - `2`: standard seating with extras, i.e. carry-on baggage, advanced seat selection,  priority boarding etc.\n  - `3`: preferred seating, such as additional legroom, seat width or middle seat free\n  - `4`: premium seating, additional legroom and recline. Situated in business class or higher.\n  - `5`: deluxe seating, additional legroom and reclines to lie flat position. Situated in business class or higher.\n\n**Note**: this field is under restricted `NGS` feature. If you need access, get in touch with the Duffel support team.\n","enum":[1,2,3,4,5],"example":1,"type":["integer","null"]},"origin":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport where this slice begins"}]},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline."}]},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline."}]},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport from which the flight is scheduled to depart"}]},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment included in the offer. Some airlines may allow additional baggage to be booked as a service - see the offer's `available_services`.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin":{"description":"Data about the cabin that the passenger will be flying in for this segment","properties":{"amenities":{"description":"The amenities specific to this cabin class on this plane","properties":{"power":{"description":"If power (AC and/or USB) is available, information on what is available","properties":{"available":{"description":"Whether there is power available or not in this cabin","example":"true","type":"boolean"}},"type":["object","null"]},"seat":{"description":"Information on the standard seat in this cabin class. Exceptions may apply, such as on exit rows.","properties":{"legroom":{"description":"The available legroom for the passenger","enum":["less","more","standard","n/a"],"example":"standard","type":"string"},"pitch":{"description":"The distance from a point on a seat to the seat front/behind it, in inches, or \"n/a\" if not available","example":"32","type":"string"},"type":{"description":"A summary of the seat characteristics for the cabin.\n\nIncludes the following:\n\n  - `\"standard\"` - typical seating with regular legroom / recline\n  - `\"skycouch\"` - a row of seats converted into a couch layout\n  - `\"recliner\"` - seating with additional legroom and recline\n  - `\"angle_flat\"` - seating with additional legroom and near flat recline\n  - `\"full_flat\"` - seating with full flat recline\n  - `\"full_flat_pod\"` - seating with full flat recline and enclosing privacy screens\n  - `\"private_suite\"` - a full suite, typically including a bed and recliner seat\n","enum":["standard","skycouch","recliner","angle_flat","full_flat","full_flat_pod","private_suite"],"example":"standard","type":["string","null"]}},"type":["object","null"]},"wifi":{"description":"If Wi-Fi is available, information on its cost, availability, etc.","properties":{"available":{"description":"Whether Wi-Fi is available in this cabin","example":"true","type":"boolean"},"cost":{"description":"The cost, if any, to use the Wi-Fi","enum":["free","free or paid","paid","n/a"],"example":"free","type":"string"}},"type":["object","null"]}},"type":["object","null"]},"marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":"string"},"name":{"description":"The name of the cabin class","enum":["first","business","premium_economy","economy"],"example":"economy","type":"string"}},"type":["object","null"]},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":"string"},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":"string"},"fare_basis_code":{"description":"The airline's alphanumeric code for the fare that the passenger is using to travel. Where this is `null`, it means that either the fare basis code is not available or the airline does not use fare basis codes.","example":"OXZ0RO","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"}},"title":"Offer Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Offer Slice Segment Stop","type":"object"},"type":"array"}},"title":"Offer Slice Segment","type":"object"},"type":"array"}},"title":"Offer Slice","type":"object"},"type":"array"},"supported_loyalty_programmes":{"description":"A list of airline IATA codes whose loyalty programmes are supported when booking the offer.\nLoyalty programmes present within the offer passengers that are not present in this field shall be ignored at booking.\nIf this is an empty list (`[]`), no loyalty programmes are supported for the offer and shall be ignored if provided.","example":["AF","KL","DL"],"items":{"type":"string"},"type":"array"},"supported_passenger_identity_document_types":{"description":"The types of identity documents supported by the airline and may be provided for the passengers when creating an order based on this offer.\nCurrently, possible types are `passport`, `tax_id`, `known_traveler_number`, and `passenger_redress_number`.","example":["passport"],"items":{"enum":["passport","tax_id","known_traveler_number","passenger_redress_number"],"type":"string"},"type":"array"},"tax_amount":{"description":"The amount of tax payable on the offer for all passengers","example":"40.80","type":["string","null"]},"tax_breakdown":{"description":"The airline's breakdown of `tax_amount` by tax code. This field is returned by the [Get single offer](/docs/api/offers/get-offer-by-id), price-offer and upsell-offers endpoints, which return priced offers. It is not returned in search results.\nWhen the field is present, the list is empty when the airline gives us no usable itemisation. Treat an empty list as \"no breakdown available\" rather than \"no tax\".\nEach line is in the currency the airline quoted it in, which is given per line. Where Duffel converts the price into your billing currency, that currency differs from `tax_currency`, so the lines cannot be compared with `tax_amount` without converting them.\nEven in a single currency, the lines can add up to less than `tax_amount`: a line the airline quoted without a code, a currency or an amount is dropped, and some airlines itemise only part of the tax they charge. Do not reconcile against it, and do not use it to compute a total.\nA line's `name` is the short label for the charge and its `description` the fuller explanation of what it is and who levies it.\nA line's `name`, `description` and `carrier_imposed` are all nullable, and are `null` for a tax code we cannot yet classify.\n","items":{"properties":{"amount":{"description":"The amount charged under this code, for all passengers.\nA refundable tax appears as a negative amount.\n","example":"26.00","type":"string"},"carrier_imposed":{"description":"Whether the charge is set by the airline itself, rather than by a government or an airport.\nThis is `null` for a code we cannot classify. Do not read `null` as `false`.\n","example":false,"type":["boolean","null"]},"code":{"description":"The tax code the airline used for this charge, as it was quoted to us.\nCodes are mostly the IATA ticket tax codes (for example `GB` for UK Air Passenger Duty), but an airline is free to quote a code that is not in that list.\n","example":"GB","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis is the currency the airline quoted the tax in. Where Duffel converts the price into your billing currency, it will differ from `tax_currency`.\n","example":"GBP","format":"ISO 4217","type":"string"},"description":{"description":"A plain-English description of what the charge is for, written by Duffel.\nThis is `null` for a code we do not yet have a description for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty, an excise duty charged on each passenger departing from a UK airport, banded by distance and cabin.","type":["string","null"]},"name":{"description":"A short label for the charge, written by Duffel: the country that levies it (or the airline, for a charge the airline sets itself) followed by the charge.\nUse it where a line item has to fit beside its amount. This is `null` for a code we do not yet have a name for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty","type":["string","null"]}},"required":["code","amount","currency","name","description","carrier_imposed"],"title":"Tax Breakdown Item","type":"object"},"type":"array"},"tax_currency":{"description":"The currency of the `tax_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"total_amount":{"description":"The total price of the offer for all passengers, including taxes. It does not include the total price of any service(s) that might be booked with the offer.","example":"45.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency, with two exceptions. If you request the offer with a card or airline credit via `intended_payment_methods`, it will be the currency the airline charges in. If you’re using Duffel as an accredited IATA agent, it will be the currency provided by the airline (usually based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"total_emissions_kg":{"description":"An estimate of the total carbon dioxide (CO₂) emissions when all of the passengers fly this offer's itinerary, measured in kilograms","example":"460","type":["string","null"]},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"title":"Offer","type":"object"},"type":"array"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"List Flight Offers","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-offers-list","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:29aa2adc4eb00871c095587ffdf1a05bfc5629ec26d154d410f8174cc3b99640","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:49bbcc9c24d238e29066906f279d7f5795d2f4b91e0624132b35172057f5fd4b","converter":"scripts/import_duffel_flights_reference.py@1+explicit-response-binding@1","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","parent_source_hash":"sha256:d875b5ad32404f5d316f916cceb24fb5d3eddfed2ef4dcb1eca324850b752fbf","path_space":"public","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_only":true,"response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"dc3946ec7afee15d6adca0c19f41f7097bb6e08fece3a634c62a66cb529fdabe","url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"dc3946ec7afee15d6adca0c19f41f7097bb6e08fece3a634c62a66cb529fdabe","x-aisa-revision":{"customer_pricing_ref":"a5b53bd2a3a5","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"95b92e4041db"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_offers_list","path":"/apis/v1/duffel/flights/offers/list"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/offers/{id}":{"get":{"description":"Refresh a single offer; authoritative price before ordering\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_offer","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"available_airline_credit_ids":{"description":"The IDs of airline credits that can be used to pay for this offer. Each ID represents a credit that can be applied as a payment method when creating an order from this offer.","example":["acd_00009htYpSCXrwaB9DnUm1","acd_00009htYpSCXrwaB9DnUm2"],"items":{"type":"string"},"type":"array"},"available_services":{"description":"The services that can be booked along with the offer but are not included by default, for example an additional checked bag. This field is only returned in the [Get single offer](/docs/api/offers/get-offer-by-id) endpoint. When there are no services available, or we don't support services for the airline, this list will be empty. If you want to know which airlines we support services for, please get in touch with the Duffel support team at <help@duffel.com>.","items":{"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ase_00009UhD4ongolulWd9123","type":"string"},"maximum_quantity":{"description":"The maximum quantity of this service that can be booked with an order","example":1,"minimum":1,"type":"integer"},"metadata":{"description":"The metadata varies by the type of service. It includes further data\nabout the service. For example, for baggages, it may have data about\nsize and weight restrictions.\n","oneOf":[{"additionalProperties":false,"description":"An object containing metadata about the service, like the maximum weight and dimensions of the baggage.","properties":{"maximum_depth_cm":{"description":"The maximum depth that the baggage can have in centimetres","example":75,"type":["number","null"]},"maximum_height_cm":{"description":"The maximum height that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_length_cm":{"description":"The maximum length that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_weight_kg":{"description":"The maximum weight that the baggage can have in kilograms","example":23,"type":["number","null"]},"type":{"description":"The type of the baggage","enum":["checked","carry_on"],"example":"checked","type":"string"}},"required":["type"],"title":"Service Metadata for a Baggage","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service, like the designator of the \nseat.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"required":["designator","name","disclosures"],"title":"Service Metadata for a Seat","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service","properties":{"meal":{"description":"Data about the meal","enum":["baby_meal","bland_meal","asian_vegetarian_meal","diabetic_meal","gluten_free_meal","hindu_meal","kosher_meal","muslim_meal","vegan_meal","vegetarian_lacto_ovo_meal","traditional_meal","low_fat_meal","low_salt_meal","lactose_free_meal","healthy_meal","swiss_cold_meal","swiss_brunch","japanese_meal","child_meal","allergen_meal","vegetarian_meal","meal"],"example":"kosher","type":"string"}},"required":["meal"],"title":"Service Metadata for a Meal","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service","properties":{"merchant_copy":{"description":"Details of what this CFAR service entails and how it can be used","example":"If you purchase this product we can refund up to 75% of your base fare if you cancel 24 hours before your first scheduled departure\n","type":"string"},"refund_amount":{"description":"The amount of money that will be returned","example":"90.80","type":"string"},"terms_and_conditions_url":{"description":"The URL where you can find the terms and conditions for this CFAR service","example":"https://duffel.com/cfar_terms_and_conditions","type":"string"}},"required":["refund_amount","terms_and_conditions_url","merchant_copy"],"title":"Service Metadata for Cancel for Any Reason","type":"object"}]},"passenger_ids":{"description":"The list of passenger `id`s the service applies to. If you add this service to an order it will apply to all the passengers in this list. For services where the type is `baggage`, this list will include only a single passenger.","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"segment_ids":{"description":"The list of segment `id`s the service applies to. If you add this service to an order it will apply to all the segments in this list. For services where the type is `baggage`, depending on the airline, this list includes all the segments of all slices or all the segments of a single slice.","example":["seg_00009hj8USM7Ncg31cB456"],"items":{"type":"string"},"type":"array"},"total_amount":{"description":"The total price of the service for all passengers and segments it\napplies to, including taxes. This price is for a single unit of the\nservice.\n","example":"15.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIf an offer or order is priced with balance, it matches your organisation's billing currency. If it is priced with card or airline credit, it is returned in the currency the airline charges in. If it is priced without payment methods and not using Duffel Content, it is returned in the agency point of sale currency.\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of the service","enum":["baggage","seat","meal","cancel_for_any_reason"],"example":"baggage","type":"string"}},"title":"Offer Service","type":"object"},"type":"array"},"base_amount":{"description":"The base price of the offer for all passengers, excluding taxes. It does not include the base amount of any service(s) that might be booked with the offer.","example":"30.20","type":"string"},"base_currency":{"description":"The currency of the `base_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"conditions":{"description":"The conditions associated with this offer, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this offer - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole offer can be changed before the departure of the first slice.\nIf all of the slices on the offer can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the offer can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the offer is changeable.\nIf the airline hasn't provided any information about whether this offer can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole offer can be refunded before the departure of the first slice.\nIf all of the slices on the offer can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the offer can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this offer can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OfferConditions","type":"object"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime expiry of the offer before which the traveller should use this offer to create an order. After this time the offer can no longer be used to create an order.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"off_00009htYpSCXrwaB9DnUm0","type":"string"},"intended_payment_methods":{"description":"The payment methods that will be used to pay for the offer and their fees if any.","items":{"oneOf":[{"additionalProperties":false,"properties":{"card_id":{"description":"The ID of the card you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be charged to the card payment","example":"500.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"surcharge_amount":{"description":"The surcharge amount that will be applied to the card payment","example":"30.20","type":["string","null"]},"surcharge_currency":{"description":"The currency of the surcharge amount","example":"GBP","format":"ISO 4217","type":["string","null"]},"type":{"description":"The type of payment method you intend to use","enum":["card"],"example":"card","type":"string"}},"required":["type","card_id","charge_amount","charge_currency","surcharge_amount","surcharge_currency"],"title":"Intended Card Surcharge","type":"object"},{"additionalProperties":false,"properties":{"airline_credit_id":{"description":"The ID of the airilne credit you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be taken from this airline credit","example":"30.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":"string"},"penalty_currency":{"description":"The currency of the penalty amount","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of payment method you intend to use","enum":["airline_credit"],"example":"airline_credit","type":"string"}},"required":["type","airline_credit_id","charge_amount","charge_currency","penalty_amount","penalty_currency"],"title":"Intended Airline Credit Charge","type":"object"}]},"type":"array"},"intended_services":{"description":"The services that will be booked with the offer.","items":{"additionalProperties":false,"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ase_00009UhD4ongolulWd9123","type":"string"},"quantity":{"description":"The quantity of the service you intend to book. This will always be `1` for seat services.","example":1,"minimum":1,"type":"integer"}},"required":["id","quantity"],"title":"Intended Service","type":"object"},"type":"array"},"live_mode":{"description":"Whether the offer request was created in live mode. This field will be set to `true` if the offer request was created in live mode, or `false` if it was created in test mode.","example":true,"type":"boolean"},"owner":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline which provided the offer"}]},"partial":{"description":"Partial offers are a new concept we're introducing as a part of a new multi-step search flow that we're currently experimenting with.\nA partial offer can't be booked directly, but it can be combined with other partial offers to form a full offer.\nPartial offers are only ever returned through the multi-step search flow. So there's no need to add any handling to deal with partial offers if you're using the traditional `OfferRequest` search flow to create offers.\n","example":true,"type":"boolean"},"passenger_identity_documents_required":{"description":"Whether identity documents must be provided for each of the passengers when creating an order based on this offer. If this is `true`, you must provide a passport document for every passenger.","example":false,"type":"boolean"},"passengers":{"description":"The passengers included in the offer","items":{"properties":{"age":{"description":"The age of the passenger on the `departure_date` of the final slice","example":14,"maximum":130,"minimum":0,"type":["integer","null"]},"family_name":{"description":"The passenger's family name","example":"Earhart","type":["string","null"]},"fare_type":{"description":"The fare type of the passenger","example":"contract_bulk","type":["string","null"]},"given_name":{"description":"The passenger's given name","example":"Amelia","type":["string","null"]},"id":{"description":"The identifier for the passenger. This ID will be generated by Duffel","example":"pas_00009hj8USM7Ncg31cBCL","type":"string"},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":["string","null"]}},"title":"Offer Passenger","type":"object"},"type":"array"},"payment_requirements":{"allOf":[{"properties":{"payment_required_by":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this offer. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order.\nThis will be `null` when the offer requires immediate payment - that is, when `requires_instant_payment` is `true`.\n","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"price_guarantee_expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and may change before payment.\nThis will be `null` when `requires_instant_payment` is `true`.\n","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"requires_instant_payment":{"description":"When payment is required at the time of booking this will be `true` and `payment_required_by` and `price_guarantee_expires_at` will be `null`. When payment can be made at a time after booking, this will be `false` and the time limits on the payment will be provided in `payment_required_by` and `price_guarantee_expires_at`.\n","example":false,"type":"boolean"}},"title":"OfferPaymentRequirements","type":"object"},{"description":"The payment requirements for this offer"}]},"private_fares":{"description":"The private fares applied on this offer.","items":{"properties":{"corporate_code":{"description":"The corporate code that was applied, if any","example":"FLX53","type":["string","null"]},"tour_code":{"description":"The tour code that was applied, if any","example":"578DFL","type":["string","null"]},"tracking_reference":{"description":"The tracking reference that was applied, if any","example":"ABN:2345678","type":["string","null"]},"type":{"description":"The type of private fare applied","enum":["corporate","leisure","negotiated"],"example":"corporate","type":"string"}},"required":["type","corporate_code","tracking_reference","tour_code"],"title":"Offer Private Fares","type":"object"},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up this offer. Each slice will include one or more [segments](/docs/api/overview/key-concepts), the specific flights that the airline is offering to take the passengers from the slice's `origin` to its `destination`.\n[Partial](#offers-schema-partial) offers contain a single slice as each partial offer is for a particular slice of the journey.\n","items":{"properties":{"comparison_key":{"description":"A hash uniquely identifying this slice. This value could be use to group together identical slices from different offers.","example":"BmlZDw==","type":"string"},"conditions":{"description":"The conditions associated with this slice, describing the kinds of\nmodifications you can make post-booking and any penalties that\nwill apply to those modifications and also what perks will\nbe available to passengers when travelling.\n\nThis condition is applied only to this slice and to all the passengers\nassociated with this offer - for information at the offer level\n(e.g. \"what happens if I want to change all the slices?\") refer to the\n`conditions` at the top level.\n\nIf a particular kind of modification is allowed, you may not always be able to take action through\nthe Duffel API. In some cases, you may need to contact the Duffel support team or\nthe airline directly.\n\nNote that the perks associated with the slice are aggregated across passengers\nand segments and are intended to provide a brief summary of the passenger experience, however\nthe experience may not be consistent across all segments. As an example, priority boarding may\nbe flagged as available on the slice but not available on all segments on the slice.\n\n**Note**: `advance_seat_selection`, `priority_boarding` and `priority_check_in` are under restricted `NGS` feature.\nIf you need access, get in touch with the Duffel support team.\n","properties":{"advance_seat_selection":{"description":"Whether passengers are able to select a seat prior to check in.","example":"true","type":["boolean","null"]},"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalty that is applied if the entire offer is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"priority_boarding":{"description":"Whether passengers are given preferential boarding over other passengers in their cabin.","example":"true","type":["boolean","null"]},"priority_check_in":{"description":"Whether passengers are given access to a fast track lane during check in.","example":"true","type":["boolean","null"]}},"title":"OfferSliceConditions","type":"object"},"destination":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport where this slice ends"}]},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice.\nA fare brand specifies the travel conditions you get on your slice made available by the airline.\ne.g. a British Airways Economy Basic fare will only include a hand baggage allowance.\nIt is worth noting that the fare brand names are defined by the airlines themselves and\ntherefore they are subject to change without any prior notice.\nWe’re in the process of adding support for `fare_brand_name` across all our airlines,\nso for now, this field may be `null` in some offers.\nThis will become a non-nullable attribute in the near future.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"ngs_shelf":{"description":"A summary of the seat characteristics and extras available to passengers on the given slice.\n\nThe shelf is calculated by Duffel and may be used to group similar slices across offers when building a shopping display.\n\nNote this value does not take into account any services that may be purchased in addition to the offer and should not be directly used\nin any offer ranking systems.\n\nIncludes the following:\n\n  - `1`: standard seating with limited extras.\n  - `2`: standard seating with extras, i.e. carry-on baggage, advanced seat selection,  priority boarding etc.\n  - `3`: preferred seating, such as additional legroom, seat width or middle seat free\n  - `4`: premium seating, additional legroom and recline. Situated in business class or higher.\n  - `5`: deluxe seating, additional legroom and reclines to lie flat position. Situated in business class or higher.\n\n**Note**: this field is under restricted `NGS` feature. If you need access, get in touch with the Duffel support team.\n","enum":[1,2,3,4,5],"example":1,"type":["integer","null"]},"origin":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The city or airport where this slice begins"}]},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline."}]},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"allOf":[{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},{"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline."}]},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport from which the flight is scheduled to depart"}]},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment included in the offer. Some airlines may allow additional baggage to be booked as a service - see the offer's `available_services`.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin":{"description":"Data about the cabin that the passenger will be flying in for this segment","properties":{"amenities":{"description":"The amenities specific to this cabin class on this plane","properties":{"power":{"description":"If power (AC and/or USB) is available, information on what is available","properties":{"available":{"description":"Whether there is power available or not in this cabin","example":"true","type":"boolean"}},"type":["object","null"]},"seat":{"description":"Information on the standard seat in this cabin class. Exceptions may apply, such as on exit rows.","properties":{"legroom":{"description":"The available legroom for the passenger","enum":["less","more","standard","n/a"],"example":"standard","type":"string"},"pitch":{"description":"The distance from a point on a seat to the seat front/behind it, in inches, or \"n/a\" if not available","example":"32","type":"string"},"type":{"description":"A summary of the seat characteristics for the cabin.\n\nIncludes the following:\n\n  - `\"standard\"` - typical seating with regular legroom / recline\n  - `\"skycouch\"` - a row of seats converted into a couch layout\n  - `\"recliner\"` - seating with additional legroom and recline\n  - `\"angle_flat\"` - seating with additional legroom and near flat recline\n  - `\"full_flat\"` - seating with full flat recline\n  - `\"full_flat_pod\"` - seating with full flat recline and enclosing privacy screens\n  - `\"private_suite\"` - a full suite, typically including a bed and recliner seat\n","enum":["standard","skycouch","recliner","angle_flat","full_flat","full_flat_pod","private_suite"],"example":"standard","type":["string","null"]}},"type":["object","null"]},"wifi":{"description":"If Wi-Fi is available, information on its cost, availability, etc.","properties":{"available":{"description":"Whether Wi-Fi is available in this cabin","example":"true","type":"boolean"},"cost":{"description":"The cost, if any, to use the Wi-Fi","enum":["free","free or paid","paid","n/a"],"example":"free","type":"string"}},"type":["object","null"]}},"type":["object","null"]},"marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":"string"},"name":{"description":"The name of the cabin class","enum":["first","business","premium_economy","economy"],"example":"economy","type":"string"}},"type":["object","null"]},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":"string"},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":"string"},"fare_basis_code":{"description":"The airline's alphanumeric code for the fare that the passenger is using to travel. Where this is `null`, it means that either the fare basis code is not available or the airline does not use fare basis codes.","example":"OXZ0RO","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"}},"title":"Offer Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Offer Slice Segment Stop","type":"object"},"type":"array"}},"title":"Offer Slice Segment","type":"object"},"type":"array"}},"title":"Offer Slice","type":"object"},"type":"array"},"supported_loyalty_programmes":{"description":"A list of airline IATA codes whose loyalty programmes are supported when booking the offer.\nLoyalty programmes present within the offer passengers that are not present in this field shall be ignored at booking.\nIf this is an empty list (`[]`), no loyalty programmes are supported for the offer and shall be ignored if provided.","example":["AF","KL","DL"],"items":{"type":"string"},"type":"array"},"supported_passenger_identity_document_types":{"description":"The types of identity documents supported by the airline and may be provided for the passengers when creating an order based on this offer.\nCurrently, possible types are `passport`, `tax_id`, `known_traveler_number`, and `passenger_redress_number`.","example":["passport"],"items":{"enum":["passport","tax_id","known_traveler_number","passenger_redress_number"],"type":"string"},"type":"array"},"tax_amount":{"description":"The amount of tax payable on the offer for all passengers","example":"40.80","type":["string","null"]},"tax_breakdown":{"description":"The airline's breakdown of `tax_amount` by tax code. This field is returned by the [Get single offer](/docs/api/offers/get-offer-by-id), price-offer and upsell-offers endpoints, which return priced offers. It is not returned in search results.\nWhen the field is present, the list is empty when the airline gives us no usable itemisation. Treat an empty list as \"no breakdown available\" rather than \"no tax\".\nEach line is in the currency the airline quoted it in, which is given per line. Where Duffel converts the price into your billing currency, that currency differs from `tax_currency`, so the lines cannot be compared with `tax_amount` without converting them.\nEven in a single currency, the lines can add up to less than `tax_amount`: a line the airline quoted without a code, a currency or an amount is dropped, and some airlines itemise only part of the tax they charge. Do not reconcile against it, and do not use it to compute a total.\nA line's `name` is the short label for the charge and its `description` the fuller explanation of what it is and who levies it.\nA line's `name`, `description` and `carrier_imposed` are all nullable, and are `null` for a tax code we cannot yet classify.\n","items":{"properties":{"amount":{"description":"The amount charged under this code, for all passengers.\nA refundable tax appears as a negative amount.\n","example":"26.00","type":"string"},"carrier_imposed":{"description":"Whether the charge is set by the airline itself, rather than by a government or an airport.\nThis is `null` for a code we cannot classify. Do not read `null` as `false`.\n","example":false,"type":["boolean","null"]},"code":{"description":"The tax code the airline used for this charge, as it was quoted to us.\nCodes are mostly the IATA ticket tax codes (for example `GB` for UK Air Passenger Duty), but an airline is free to quote a code that is not in that list.\n","example":"GB","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis is the currency the airline quoted the tax in. Where Duffel converts the price into your billing currency, it will differ from `tax_currency`.\n","example":"GBP","format":"ISO 4217","type":"string"},"description":{"description":"A plain-English description of what the charge is for, written by Duffel.\nThis is `null` for a code we do not yet have a description for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty, an excise duty charged on each passenger departing from a UK airport, banded by distance and cabin.","type":["string","null"]},"name":{"description":"A short label for the charge, written by Duffel: the country that levies it (or the airline, for a charge the airline sets itself) followed by the charge.\nUse it where a line item has to fit beside its amount. This is `null` for a code we do not yet have a name for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty","type":["string","null"]}},"required":["code","amount","currency","name","description","carrier_imposed"],"title":"Tax Breakdown Item","type":"object"},"type":"array"},"tax_currency":{"description":"The currency of the `tax_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"total_amount":{"description":"The total price of the offer for all passengers, including taxes. It does not include the total price of any service(s) that might be booked with the offer.","example":"45.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency, with two exceptions. If you request the offer with a card or airline credit via `intended_payment_methods`, it will be the currency the airline charges in. If you’re using Duffel as an accredited IATA agent, it will be the currency provided by the airline (usually based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"total_emissions_kg":{"description":"An estimate of the total carbon dioxide (CO₂) emissions when all of the passengers fly this offer's itinerary, measured in kilograms","example":"460","type":["string","null"]},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"title":"Offer","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get Flight Offer","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-offers-id","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:3db81788edb451ba644d1e74d1e8324c38c6e1ecbb6ee37c6069b0c741a17efd","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:4fbf319c0f415a838731c55d0ea96e8a542604f20980db329ecba2cec2b3cea6","converter":"scripts/import_duffel_flights_reference.py@1+explicit-response-binding@1","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","parent_source_hash":"sha256:d875b5ad32404f5d316f916cceb24fb5d3eddfed2ef4dcb1eca324850b752fbf","path_space":"public","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_only":true,"response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"06ccdbd593b8b94d57b875a4b89573324fbeaba0869202851605e7071b2418c6","url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"06ccdbd593b8b94d57b875a4b89573324fbeaba0869202851605e7071b2418c6","x-aisa-revision":{"customer_pricing_ref":"c966a5e87ea9","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"f4744ec37746"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_offer","path":"/apis/v1/duffel/flights/offers/{id}"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/order-cancellations/create":{"post":{"description":"Fetch the refund quote for an order\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_order_cancellations_create","requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"order_id":{"description":"Duffel's unique identifier for the order","example":"ord_001","type":"string"}},"required":["order_id"],"title":"Body parameters","type":"object"}},"required":["data"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_OrderCancellation"}},"type":"object"}}},"description":"Cancellation quote"},"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":false,"description":"An order cancellation is used to cancel an order with an airline","properties":{"airline_credits":{"description":"For unconfirmed cancellations, it lists airilne credits that would be generated if the cancellation is confirmed.\nFor confirmed cancellations, it lists airline credits that were generated when this cancellation was confirmed.\n","items":{"oneOf":[{"additionalProperties":false,"description":"An airline credit quote represents the airline credit that would be issued by the airline if the order is cancelled.","properties":{"amount":{"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"amount_currency":{"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"code":{"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The human-readable name used by the airline to categorize the type of credit being offered. This name should help when trying to understand the airline's conditions of use which apply to this credit.\n","example":"Duffel Travel Credit","type":"string"},"id":{"description":"Duffel's unique identifier for the airline credit quote\n","example":"act_00009qzZWzjDipIkqpaUAj","type":"string"},"issued_on":{"description":"The date the credit was issued.\nIt is important to note that this date might not be the same as the date of cancellation. Often airlines associate credits with tickets, in which case the date of issue is considered to be the date the ticket was originally issued.\nAirline credits may have expiration dates which are based on the date of issue. Airlines don't always reliably disclose the expiration date in their APIs at the time of cancellation, so we are unable to return this information on airline credits. To get the latest info on expiration dates for airline credits we recommend checking directly with the airlines to determine the specific conditions of use for the credit.\n","example":"2023-02-24","format":"date","type":"string"},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"type":{"description":"The type of airline credit that would be issued if the cancellation is confirmed. Use this to distinguish between credits that the airline will issue against the original e-ticket (`eticket`) and credits issued as a separate MCO/EMD document (`mco`, `emd`).\n","enum":["eticket","mco","emd"],"example":"eticket","type":"string"}},"required":["id","amount","code","amount_currency","issued_on","passenger_id","type"],"title":"Airline Credit Quote","type":"object"},{"additionalProperties":false,"description":"An airline credit represents credit issued by an airline for a canceled or disrupted flight.","properties":{"airline_iata_code":{"description":"The two-character IATA code for the airline that issued this credit","example":"AA","type":"string"},"amount":{"description":"Value of this airline credit","example":"30.20","type":"string"},"amount_currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"code":{"description":"Credit identifier provided by the airline","example":"12345678","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was created.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The common name given to this airline credit.\n","example":"Future Flight Credit","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit expires and will no longer be eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"family_name":{"description":"The family name of the passenger associated with this airline credit.\n","example":"Doe","type":"string"},"given_name":{"description":"The given name of the passenger associated with this airline credit.\n","example":"John","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"acd_00009UhD4ongolulWd91Ky","type":"string"},"invalidated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was invalidated. Invalidated credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"issued_on":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was issued by the airline.","example":"2020-04-11","format":"date","type":"string"},"live_mode":{"description":"Whether the payment was created in live mode. This field will be set to `true` if the payment was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the order that the credit is associated with\n","example":"ord_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":["string","null"]},"penalty_currency":{"description":"The currency of the penalty amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"spent_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was spent. Spent credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"type":{"description":"Type of the airline credit","enum":["eticket","mco","emd"],"example":"eticket","type":"string"},"user_id":{"description":"Duffel's unique identifier for the customer user that the credit is associated with\n","example":"icu_00009hj8USM7Ncg31cBCLL","type":["string","null"]}},"required":["id","amount","amount_currency","created_at","issued_on","live_mode","given_name","family_name","type","airline_iata_code","expires_at"],"title":"Airline Credit","type":"object"}]},"type":"array"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order cancellation was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order cancellation was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this cancellation must be confirmed","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"ore_00009qzZWzjDipIkqpaUAj","type":"string"},"live_mode":{"description":"Whether the order cancellation was created in live mode. This field will be set to `true` if the order cancellation was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"refund_amount":{"description":"The total value that will be returned to the customer if the order is cancelled, determined according to the fare conditions. When the original order was paid with a mix of cash and airline credit and the cancellation is a void, this is the grand total across both the cash refunded to the original payment method and any re-issued [`airline_credits`](#tag/Order-Cancellations). This may be `0.00` if the fare is non-refundable. It will include the refund amount of the flights and the services booked. This may be null in cases where the refund amount is unknown. This only applies in cases where we are unable to get a refund quote from the carrier.\n","example":"90.80","type":["string","null"]},"refund_currency":{"description":"The currency of the `refund_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\nFor `hold` orders that are awaiting payment, the refund amount will always be 0.00.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n`awaiting_payment` is for pay later orders where no payment has been made yet.\n","enum":["arc_bsp_cash","balance","card","voucher","awaiting_payment","airline_credits","original_form_of_payment"],"example":"arc_bsp_cash","type":"string"}},"required":["id","order_id","live_mode","expires_at","refund_amount","refund_currency","refund_to","confirmed_at","created_at","airline_credits"],"title":"Order Cancellation","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Create Order Cancellation","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-order-cancellations-create","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-source":{"content_hash":"sha256:6f40d6562f5f89057e1b1fad89875c897e2a6f5228d8ce2658507cd8b99b214a","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-revision":{"customer_pricing_ref":"de3692845f1e","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"61ba1e24fa65"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_order_cancellations_create","path":"/apis/v1/duffel/flights/order-cancellations/create"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/order_cancellations","x-aisa-validation":"provider","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/duffel/flights/order-cancellations/create \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"data\": {\n    \"order_id\": \"ord_001\"\n  }\n}'"}]}},"/apis/v1/duffel/flights/order-cancellations/{id}":{"get":{"description":"Retrieve an order cancellation quote\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_order_cancellation","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":false,"description":"An order cancellation is used to cancel an order with an airline","properties":{"airline_credits":{"description":"For unconfirmed cancellations, it lists airilne credits that would be generated if the cancellation is confirmed.\nFor confirmed cancellations, it lists airline credits that were generated when this cancellation was confirmed.\n","items":{"oneOf":[{"additionalProperties":false,"description":"An airline credit quote represents the airline credit that would be issued by the airline if the order is cancelled.","properties":{"amount":{"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"amount_currency":{"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"code":{"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The human-readable name used by the airline to categorize the type of credit being offered. This name should help when trying to understand the airline's conditions of use which apply to this credit.\n","example":"Duffel Travel Credit","type":"string"},"id":{"description":"Duffel's unique identifier for the airline credit quote\n","example":"act_00009qzZWzjDipIkqpaUAj","type":"string"},"issued_on":{"description":"The date the credit was issued.\nIt is important to note that this date might not be the same as the date of cancellation. Often airlines associate credits with tickets, in which case the date of issue is considered to be the date the ticket was originally issued.\nAirline credits may have expiration dates which are based on the date of issue. Airlines don't always reliably disclose the expiration date in their APIs at the time of cancellation, so we are unable to return this information on airline credits. To get the latest info on expiration dates for airline credits we recommend checking directly with the airlines to determine the specific conditions of use for the credit.\n","example":"2023-02-24","format":"date","type":"string"},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"type":{"description":"The type of airline credit that would be issued if the cancellation is confirmed. Use this to distinguish between credits that the airline will issue against the original e-ticket (`eticket`) and credits issued as a separate MCO/EMD document (`mco`, `emd`).\n","enum":["eticket","mco","emd"],"example":"eticket","type":"string"}},"required":["id","amount","code","amount_currency","issued_on","passenger_id","type"],"title":"Airline Credit Quote","type":"object"},{"additionalProperties":false,"description":"An airline credit represents credit issued by an airline for a canceled or disrupted flight.","properties":{"airline_iata_code":{"description":"The two-character IATA code for the airline that issued this credit","example":"AA","type":"string"},"amount":{"description":"Value of this airline credit","example":"30.20","type":"string"},"amount_currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"code":{"description":"Credit identifier provided by the airline","example":"12345678","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was created.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The common name given to this airline credit.\n","example":"Future Flight Credit","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit expires and will no longer be eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"family_name":{"description":"The family name of the passenger associated with this airline credit.\n","example":"Doe","type":"string"},"given_name":{"description":"The given name of the passenger associated with this airline credit.\n","example":"John","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"acd_00009UhD4ongolulWd91Ky","type":"string"},"invalidated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was invalidated. Invalidated credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"issued_on":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was issued by the airline.","example":"2020-04-11","format":"date","type":"string"},"live_mode":{"description":"Whether the payment was created in live mode. This field will be set to `true` if the payment was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the order that the credit is associated with\n","example":"ord_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":["string","null"]},"penalty_currency":{"description":"The currency of the penalty amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"spent_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was spent. Spent credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"type":{"description":"Type of the airline credit","enum":["eticket","mco","emd"],"example":"eticket","type":"string"},"user_id":{"description":"Duffel's unique identifier for the customer user that the credit is associated with\n","example":"icu_00009hj8USM7Ncg31cBCLL","type":["string","null"]}},"required":["id","amount","amount_currency","created_at","issued_on","live_mode","given_name","family_name","type","airline_iata_code","expires_at"],"title":"Airline Credit","type":"object"}]},"type":"array"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order cancellation was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order cancellation was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this cancellation must be confirmed","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"ore_00009qzZWzjDipIkqpaUAj","type":"string"},"live_mode":{"description":"Whether the order cancellation was created in live mode. This field will be set to `true` if the order cancellation was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"refund_amount":{"description":"The total value that will be returned to the customer if the order is cancelled, determined according to the fare conditions. When the original order was paid with a mix of cash and airline credit and the cancellation is a void, this is the grand total across both the cash refunded to the original payment method and any re-issued [`airline_credits`](#tag/Order-Cancellations). This may be `0.00` if the fare is non-refundable. It will include the refund amount of the flights and the services booked. This may be null in cases where the refund amount is unknown. This only applies in cases where we are unable to get a refund quote from the carrier.\n","example":"90.80","type":["string","null"]},"refund_currency":{"description":"The currency of the `refund_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\nFor `hold` orders that are awaiting payment, the refund amount will always be 0.00.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n`awaiting_payment` is for pay later orders where no payment has been made yet.\n","enum":["arc_bsp_cash","balance","card","voucher","awaiting_payment","airline_credits","original_form_of_payment"],"example":"arc_bsp_cash","type":"string"}},"required":["id","order_id","live_mode","expires_at","refund_amount","refund_currency","refund_to","confirmed_at","created_at","airline_credits"],"title":"Order Cancellation","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get Order Cancellation","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-order-cancellations-id","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:6f40d6562f5f89057e1b1fad89875c897e2a6f5228d8ce2658507cd8b99b214a","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:c2db6cbfb3e2fdec86cbd6bbe20ad4eebdd936c2d7f4f398a14281a20e5426e2","converter":"scripts/import_duffel_flights_reference.py@1+explicit-response-binding@1","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","parent_source_hash":"sha256:d875b5ad32404f5d316f916cceb24fb5d3eddfed2ef4dcb1eca324850b752fbf","path_space":"public","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_only":true,"response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"2d06d0e3d4d4d2cdc2370d1e476ecef66c05371bf59a1ca9def18f826b81a57c","url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"2d06d0e3d4d4d2cdc2370d1e476ecef66c05371bf59a1ca9def18f826b81a57c","x-aisa-revision":{"customer_pricing_ref":"e7f7c6b0052e","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"327c8fc7cb06"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_order_cancellation","path":"/apis/v1/duffel/flights/order-cancellations/{id}"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/order-cancellations/{id}/confirm":{"post":{"description":"Confirm the most recent cancellation quote\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_order_cancellation_confirm","parameters":[{"description":"Duffel's unique identifier for the order cancellation","in":"path","name":"id","required":true,"schema":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":false,"description":"An order cancellation is used to cancel an order with an airline","properties":{"airline_credits":{"description":"For unconfirmed cancellations, it lists airilne credits that would be generated if the cancellation is confirmed.\nFor confirmed cancellations, it lists airline credits that were generated when this cancellation was confirmed.\n","items":{"oneOf":[{"additionalProperties":false,"description":"An airline credit quote represents the airline credit that would be issued by the airline if the order is cancelled.","properties":{"amount":{"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"amount_currency":{"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"code":{"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The human-readable name used by the airline to categorize the type of credit being offered. This name should help when trying to understand the airline's conditions of use which apply to this credit.\n","example":"Duffel Travel Credit","type":"string"},"id":{"description":"Duffel's unique identifier for the airline credit quote\n","example":"act_00009qzZWzjDipIkqpaUAj","type":"string"},"issued_on":{"description":"The date the credit was issued.\nIt is important to note that this date might not be the same as the date of cancellation. Often airlines associate credits with tickets, in which case the date of issue is considered to be the date the ticket was originally issued.\nAirline credits may have expiration dates which are based on the date of issue. Airlines don't always reliably disclose the expiration date in their APIs at the time of cancellation, so we are unable to return this information on airline credits. To get the latest info on expiration dates for airline credits we recommend checking directly with the airlines to determine the specific conditions of use for the credit.\n","example":"2023-02-24","format":"date","type":"string"},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"type":{"description":"The type of airline credit that would be issued if the cancellation is confirmed. Use this to distinguish between credits that the airline will issue against the original e-ticket (`eticket`) and credits issued as a separate MCO/EMD document (`mco`, `emd`).\n","enum":["eticket","mco","emd"],"example":"eticket","type":"string"}},"required":["id","amount","code","amount_currency","issued_on","passenger_id","type"],"title":"Airline Credit Quote","type":"object"},{"additionalProperties":false,"description":"An airline credit represents credit issued by an airline for a canceled or disrupted flight.","properties":{"airline_iata_code":{"description":"The two-character IATA code for the airline that issued this credit","example":"AA","type":"string"},"amount":{"description":"Value of this airline credit","example":"30.20","type":"string"},"amount_currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"code":{"description":"Credit identifier provided by the airline","example":"12345678","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was created.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The common name given to this airline credit.\n","example":"Future Flight Credit","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit expires and will no longer be eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"family_name":{"description":"The family name of the passenger associated with this airline credit.\n","example":"Doe","type":"string"},"given_name":{"description":"The given name of the passenger associated with this airline credit.\n","example":"John","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"acd_00009UhD4ongolulWd91Ky","type":"string"},"invalidated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was invalidated. Invalidated credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"issued_on":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was issued by the airline.","example":"2020-04-11","format":"date","type":"string"},"live_mode":{"description":"Whether the payment was created in live mode. This field will be set to `true` if the payment was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the order that the credit is associated with\n","example":"ord_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":["string","null"]},"penalty_currency":{"description":"The currency of the penalty amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"spent_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was spent. Spent credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"type":{"description":"Type of the airline credit","enum":["eticket","mco","emd"],"example":"eticket","type":"string"},"user_id":{"description":"Duffel's unique identifier for the customer user that the credit is associated with\n","example":"icu_00009hj8USM7Ncg31cBCLL","type":["string","null"]}},"required":["id","amount","amount_currency","created_at","issued_on","live_mode","given_name","family_name","type","airline_iata_code","expires_at"],"title":"Airline Credit","type":"object"}]},"type":"array"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order cancellation was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order cancellation was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this cancellation must be confirmed","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"ore_00009qzZWzjDipIkqpaUAj","type":"string"},"live_mode":{"description":"Whether the order cancellation was created in live mode. This field will be set to `true` if the order cancellation was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"refund_amount":{"description":"The total value that will be returned to the customer if the order is cancelled, determined according to the fare conditions. When the original order was paid with a mix of cash and airline credit and the cancellation is a void, this is the grand total across both the cash refunded to the original payment method and any re-issued [`airline_credits`](#tag/Order-Cancellations). This may be `0.00` if the fare is non-refundable. It will include the refund amount of the flights and the services booked. This may be null in cases where the refund amount is unknown. This only applies in cases where we are unable to get a refund quote from the carrier.\n","example":"90.80","type":["string","null"]},"refund_currency":{"description":"The currency of the `refund_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\nFor `hold` orders that are awaiting payment, the refund amount will always be 0.00.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n`awaiting_payment` is for pay later orders where no payment has been made yet.\n","enum":["arc_bsp_cash","balance","card","voucher","awaiting_payment","airline_credits","original_form_of_payment"],"example":"arc_bsp_cash","type":"string"}},"required":["id","order_id","live_mode","expires_at","refund_amount","refund_currency","refund_to","confirmed_at","created_at","airline_credits"],"title":"Order Cancellation","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Confirm Order Cancellation","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-order-cancellations-id-confirm","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-source":{"content_hash":"sha256:6f40d6562f5f89057e1b1fad89875c897e2a6f5228d8ce2658507cd8b99b214a","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-revision":{"customer_pricing_ref":"e9c7f525994a","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"3844c5751ef1"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_order_cancellation_confirm","path":"/apis/v1/duffel/flights/order-cancellations/{id}/confirm"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/order_cancellations/{id}/actions/confirm","x-aisa-validation":"provider"}},"/apis/v1/duffel/flights/order-change-requests/create":{"post":{"description":"Fetch change offers for a paid order\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_order_change_requests_create","requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"order_id":{"description":"The order ID you wish to change","example":"ord_0000A3bQ8FJIQoEfuC07n6","type":"string"},"private_fares":{"additionalProperties":true,"description":"The private fare codes for this order change request. The key is the airline's IATA code that provided the private fare code. The `corporate_code` and `tour_code` are provided to you by the airline and the `tracking_reference` is to identify your business by the airlines. The private fares for Order Change Requests work in much the same way as they do when searching for an offer request","example":{"UA":[{"corporate_code":"1234","tour_code":"578DFL"}]}},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up this offer request. One-way journeys can be expressed using one slice, whereas return trips will need two.","properties":{"add":{"description":"The search criteria for slices which you wish to add to your order","items":{"description":"The search criteria for a slice to be added","properties":{"cabin_class":{"description":"The cabin that the passengers want to travel in","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"departure_date":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to depart","example":"2020-04-24","format":"date","type":"string"},"destination":{"description":"The 3-letter IATA code for the city or airport where this slice ends","example":"JFK","type":"string"},"origin":{"description":"The 3-letter IATA code for the city or airport where this slice starts","example":"LHR","type":"string"}},"type":"object"},"type":"array"},"remove":{"description":"The slices that you wish to remove from your order","items":{"description":"The slice ID for the slice to be removed","properties":{"slice_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"required":["order_id"],"title":"Body parameters","type":"object"}},"required":["data"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"id":{"type":"string"},"order_change_offers":{"items":{"properties":{"change_total_amount":{"type":"string"},"id":{"type":"string"},"new_total_amount":{"type":"string"},"penalty_total_amount":{"type":"string"}},"type":"object"},"type":"array"}},"type":"object"}},"type":"object"}}},"description":"Change request with embedded change offers"},"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"An order change request represents a request to change slices in an existing paid order","properties":{"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change request was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"id":{"description":"The ID of your order change request","example":"ocr_0000A3bQP9RLVfNUcdpLpw","type":"string"},"live_mode":{"description":"Whether the order was created in live mode. This field will be set to `true` if the order was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_change_offers":{"description":"The list of the offers available to perform change on the order.","items":{"description":"An order change offer represents flights that can be used to replace a slice in an existing paid order","properties":{"change_total_amount":{"description":"The amount that will be charged or returned to the original payment\nmethod if refunded, determined according to the fare conditions. This may\nbe negative to reflect a refund.\n","example":"90.80","type":"string"},"change_total_currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"conditions":{"description":"The conditions associated with this offer, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this offer - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole offer can be changed before the departure of the first slice.\nIf all of the slices on the offer can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the offer can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the offer is changeable.\nIf the airline hasn't provided any information about whether this offer can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole offer can be refunded before the departure of the first slice.\nIf all of the slices on the offer can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the offer can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this offer can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OfferConditions","type":"object"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer will expire and no longer be usable to create an order","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"oco_0000A3vUda8dKRtUSQPSXw","type":"string"},"live_mode":{"description":"Whether the order change offer was created in live mode. This field will be set to `true` if the order change offer was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"new_total_amount":{"description":"The price of this offer if it was newly purchased","example":"35.50","type":["string","null"]},"new_total_currency":{"description":"The currency of the `new_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","type":"string"},"order_change_id":{"description":"The ID for an order change if one has already been created from this order change offer","example":"oce_0000A4QasEUIjJ6jHKfhHU","type":["string","null"]},"penalty_total_amount":{"description":"The penalty imposed by the airline for making this change","example":"10.50","type":["string","null"]},"penalty_total_currency":{"description":"The currency of the `penalty_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"private_fares":{"description":"The private fares applied on this offer.","items":{"properties":{"corporate_code":{"description":"The corporate code that was applied, if any","example":"FLX53","type":["string","null"]},"tour_code":{"description":"The tour code that was applied, if any","example":"578DFL","type":["string","null"]},"tracking_reference":{"description":"The tracking reference that was applied, if any","example":"ABN:2345678","type":["string","null"]},"type":{"description":"The type of private fare applied","enum":["corporate","leisure","negotiated"],"example":"corporate","type":"string"}},"required":["type","corporate_code","tracking_reference","tour_code"],"title":"Offer Private Fares","type":"object"},"type":"array"},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n","enum":["original_form_of_payment","airline_credits","voucher"],"type":"string"},"slices":{"additionalProperties":false,"description":"The slices within an order change that are being added to and/or removed from the order","properties":{"add":{"description":"The slices that will be added to the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"},"remove":{"description":"The slices that will be removed from the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"}},"required":["add","remove"],"title":"Order Change Slices","type":"object"},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"required":["change_total_amount","change_total_currency","created_at","updated_at","expires_at","id","new_total_amount","new_total_currency","live_mode","penalty_total_amount","penalty_total_currency","conditions","private_fares","slices","refund_to","order_change_id"],"title":"Order Change Offer","type":"object"},"type":"array"},"order_id":{"description":"The order ID that you want to change","example":"ord_0000A3bQ8FJIQoEfuC07n6","type":"string"},"slices":{"description":"The slices to be added and/or removed","properties":{"add":{"description":"The slices to be added","items":{"properties":{"cabin_class":{"description":"The cabin that the passengers want to travel in","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"departure_date":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to depart","example":"2020-04-24","format":"date","type":"string"},"destination":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"origin":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"}},"type":"object"},"type":"array"},"remove":{"description":"The slices to be removed","items":{"properties":{"slice_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change request was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"title":"Order Change Request","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Create Order Change Request","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-order-change-requests-create","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-source":{"content_hash":"sha256:bc759ec18d6b79f2ae30f55d858985ec54ef0a05474c4487d985e047da02497e","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-revision":{"customer_pricing_ref":"b914ba95734b","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"58f1e2dfefe5"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_order_change_requests_create","path":"/apis/v1/duffel/flights/order-change-requests/create"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/order_change_requests","x-aisa-validation":"provider","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/duffel/flights/order-change-requests/create \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"data\": {\n    \"order_id\": \"ord_0000A3bQ8FJIQoEfuC07n6\"\n  }\n}'"}]}},"/apis/v1/duffel/flights/order-change-requests/{id}":{"get":{"description":"Retrieve an order change request with change offers\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_order_change_request","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"An order change request represents a request to change slices in an existing paid order","properties":{"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change request was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"id":{"description":"The ID of your order change request","example":"ocr_0000A3bQP9RLVfNUcdpLpw","type":"string"},"live_mode":{"description":"Whether the order was created in live mode. This field will be set to `true` if the order was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_change_offers":{"description":"The list of the offers available to perform change on the order.","items":{"description":"An order change offer represents flights that can be used to replace a slice in an existing paid order","properties":{"change_total_amount":{"description":"The amount that will be charged or returned to the original payment\nmethod if refunded, determined according to the fare conditions. This may\nbe negative to reflect a refund.\n","example":"90.80","type":"string"},"change_total_currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"conditions":{"description":"The conditions associated with this offer, describing the kinds of modifications you can make post-booking and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this offer - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole offer can be changed before the departure of the first slice.\nIf all of the slices on the offer can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the offer can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the offer is changeable.\nIf the airline hasn't provided any information about whether this offer can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole offer can be refunded before the departure of the first slice.\nIf all of the slices on the offer can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the offer can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this offer can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OfferConditions","type":"object"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was created","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer will expire and no longer be usable to create an order","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"oco_0000A3vUda8dKRtUSQPSXw","type":"string"},"live_mode":{"description":"Whether the order change offer was created in live mode. This field will be set to `true` if the order change offer was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"new_total_amount":{"description":"The price of this offer if it was newly purchased","example":"35.50","type":["string","null"]},"new_total_currency":{"description":"The currency of the `new_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","type":"string"},"order_change_id":{"description":"The ID for an order change if one has already been created from this order change offer","example":"oce_0000A4QasEUIjJ6jHKfhHU","type":["string","null"]},"penalty_total_amount":{"description":"The penalty imposed by the airline for making this change","example":"10.50","type":["string","null"]},"penalty_total_currency":{"description":"The currency of the `penalty_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"private_fares":{"description":"The private fares applied on this offer.","items":{"properties":{"corporate_code":{"description":"The corporate code that was applied, if any","example":"FLX53","type":["string","null"]},"tour_code":{"description":"The tour code that was applied, if any","example":"578DFL","type":["string","null"]},"tracking_reference":{"description":"The tracking reference that was applied, if any","example":"ABN:2345678","type":["string","null"]},"type":{"description":"The type of private fare applied","enum":["corporate","leisure","negotiated"],"example":"corporate","type":"string"}},"required":["type","corporate_code","tracking_reference","tour_code"],"title":"Offer Private Fares","type":"object"},"type":"array"},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n","enum":["original_form_of_payment","airline_credits","voucher"],"type":"string"},"slices":{"additionalProperties":false,"description":"The slices within an order change that are being added to and/or removed from the order","properties":{"add":{"description":"The slices that will be added to the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"},"remove":{"description":"The slices that will be removed from the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"}},"required":["add","remove"],"title":"Order Change Slices","type":"object"},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the offer was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"required":["change_total_amount","change_total_currency","created_at","updated_at","expires_at","id","new_total_amount","new_total_currency","live_mode","penalty_total_amount","penalty_total_currency","conditions","private_fares","slices","refund_to","order_change_id"],"title":"Order Change Offer","type":"object"},"type":"array"},"order_id":{"description":"The order ID that you want to change","example":"ord_0000A3bQ8FJIQoEfuC07n6","type":"string"},"slices":{"description":"The slices to be added and/or removed","properties":{"add":{"description":"The slices to be added","items":{"properties":{"cabin_class":{"description":"The cabin that the passengers want to travel in","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"departure_date":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the passengers want to depart","example":"2020-04-24","format":"date","type":"string"},"destination":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"origin":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"}},"type":"object"},"type":"array"},"remove":{"description":"The slices to be removed","items":{"properties":{"slice_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change request was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"title":"Order Change Request","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get Order Change Request","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-order-change-requests-id","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:bc759ec18d6b79f2ae30f55d858985ec54ef0a05474c4487d985e047da02497e","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:fb9189dd90352191fb49409a8f8ce873863defc2a26266bd2af2fc6b05cbb763","converter":"scripts/import_duffel_flights_reference.py@1+explicit-response-binding@1","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","parent_source_hash":"sha256:d875b5ad32404f5d316f916cceb24fb5d3eddfed2ef4dcb1eca324850b752fbf","path_space":"public","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_only":true,"response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"d6af78169f39474c0271dee36d827ab4a3b75747c55749df7e92fca90788e80a","url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"d6af78169f39474c0271dee36d827ab4a3b75747c55749df7e92fca90788e80a","x-aisa-revision":{"customer_pricing_ref":"6a56230915d7","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"0e1369fce3c2"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_order_change_request","path":"/apis/v1/duffel/flights/order-change-requests/{id}"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/order-changes/create":{"post":{"description":"Execute a selected change offer\n\n<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $315 USD (not a fixed price). Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_order_changes_create","requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"selected_order_change_offer":{"description":"Duffel's unique identifier for the order change offer","example":"oco_0000A4QasEUIjJ6jHKfhHU","type":"string"}},"required":["selected_order_change_offer"],"title":"Body parameters","type":"object"}},"required":["data"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"type":"object"}},"type":"object"}}},"description":"Change executed"},"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"description":"An order change represents alterations to an existing order with an airline","properties":{"change_total_amount":{"description":"The amount that will be charged or refunded, determined according to the\nfare conditions. A negative value will reflect a refund.\n","example":"30.50","type":"string"},"change_total_currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order change was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this change must be confirmed","example":"2020-01-17T10:42:14.545052Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"ocr_0000A3tQSmKyqOrcySrGbo","type":"string"},"live_mode":{"description":"Whether the order change was created in live mode. This field will be set to `true` if the order change was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"new_total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes, once the change is confirmed.","example":"121.30","type":"string"},"new_total_currency":{"description":"The currency of the `new_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"order_id":{"description":"Duffel's unique identifier for the order which is being changed","example":"ord_0000A3tQcCRZ9R8OY0QlxA","type":"string"},"penalty_total_amount":{"description":"The amount charged by the airline for making this change.","example":"15.50","type":"string"},"penalty_total_currency":{"description":"The currency of the `penalty_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"refund_to":{"description":"Where the refund, once confirmed, will be sent. Refunds are indicated by a negative `change_total_amount`. If the change does not require a refund, this field will be `null`.\n`original_form_of_payment` refers to the form of payment used to create the order.\n","enum":["voucher","original_form_of_payment"],"example":"voucher","type":["string","null"]},"slices":{"additionalProperties":false,"description":"The slices within an order change that are being added to and/or removed from the order","properties":{"add":{"description":"The slices that will be added to the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"},"remove":{"description":"The slices that will be removed from the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"}},"required":["add","remove"],"title":"Order Change Slices","type":"object"}},"required":["id","order_id","live_mode","expires_at","change_total_amount","change_total_currency","new_total_amount","new_total_currency","penalty_total_amount","penalty_total_currency","refund_to","slices","created_at","confirmed_at"],"title":"Order Change","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Confirm Order Change","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-order-changes-create","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_usd","customer_multiplier":1.05,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":315.0,"estimate_source":"profile_seed","evidence_source":"response_body"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-source":{"content_hash":"sha256:859d025ff8ed4c91f866001efec0e16c754c46b85d09ad2128c106fc15bdb8aa","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-revision":{"customer_pricing_ref":"7ab447d05f90","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"bfa458b8186b"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_order_changes_create","path":"/apis/v1/duffel/flights/order-changes/create"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/order_changes","x-aisa-validation":"provider","x-codeSamples":[{"label":"Reference example","lang":"text","source":"# Fixed reference example. Playground inputs do not update this sample.\ncurl --request POST \\\n  --url https://api.aisa.one/apis/v1/duffel/flights/order-changes/create \\\n  --header 'Authorization: Bearer <token>' \\\n  --header 'Content-Type: application/json' \\\n  --data '{\n  \"data\": {\n    \"selected_order_change_offer\": \"oco_0000A4QasEUIjJ6jHKfhHU\"\n  }\n}'"}]}},"/apis/v1/duffel/flights/orders/create":{"post":{"description":"Book the selected offer; response includes booking reference and documents\n\n<!-- aisa-pricing:start -->\nUsage-based billing; Default request estimate: $315 USD (not a fixed price). Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_orders_create","requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"metadata":{"description":"Metadata contains a set of key-value pairs that you can attach to an\nobject. It can be useful for storing additional information about the\nobject, in a structured format. Duffel does not use this information.\nYou should not store sensitive information in this field.\n\nThe metadata is a collection of key-value pairs, both of which are strings.\nYou can store a maximum of 50 key-value pairs, where each key has a maximum\nlength of 40 characters and each value has a maximum length of 500 characters.\n\nKeys must only contain numbers, letters, dashes, or underscores.\n","example":{"payment_intent_id":"pit_00009htYpSCXrwaB9DnUm2"},"type":"object"},"passengers":{"description":"The personal details of the passengers, expanding on the information initially provided when creating the offer request","items":{"properties":{"born_on":{"description":"The passenger's date of birth","example":"1987-07-24","format":"date","type":"string"},"email":{"description":"The passenger's email address","example":"amelia@duffel.com","type":"string"},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 or 2 characters, and the maximum, combined with `given_name`, is 40 characters. The requirements vary by airline. We recommend using a minimum length of 2.","example":"Earhart","type":"string"},"gender":{"description":"The passenger's gender","enum":["m","f"],"example":"f","type":"string"},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 or 2 characters, and the maximum, combined with `family_name`, is 40 characters. The requirements vary by airline. We recommend using a minimum length of 2.","example":"Amelia","type":"string"},"id":{"description":"The `id` of the passenger, returned when the [offer request](/docs/api/offer-requests) was created","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"identity_documents":{"description":"The passenger's identity documents. You may only provide one identity document per type per passenger.\nThe identity document's type supported by the airline can be found in the offer's `supported_passenger_identity_document_types`.\nIf the offer's `passenger_identity_documents_required` is set to `true`, then a passport document must be provided.","items":{"properties":{"expires_on":{"description":"Must only be provided for `passport` type. The date on which the identity document expires","example":"2025-04-25","format":"date","type":"string"},"issuing_country_code":{"description":"Must only be provided for `passport`, `known_traveler_number`, and `passenger_redress_number` types. The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country that issued this identity document","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"type":{"description":"The type of the identity document. Currently, the only supported types are `passport`, `tax_id`, `known_traveler_number`, and `passenger_redress_number`.\nThe identity document's type supported by the airline can be found in the offer's `supported_passenger_identity_document_types`.","enum":["passport","tax_id","known_traveler_number","passenger_redress_number"],"example":"passport","type":"string"},"unique_identifier":{"description":"The unique identifier of the identity document. e.g. the passport number.","example":"19KL56147","type":"string"}},"required":["expires_on","issuing_country_code","type","unique_identifier"],"title":"Order Request Passenger Identity Document","type":"object"},"type":["array","null"]},"infant_passenger_id":{"description":"Infant passengers, with an `age` of 0 or 1, must be associated with an adult passenger. This field should be used to make this association. It should contain the `id` of the infant passenger as returned in the [offer request](/docs/api/offer-requests).","example":"pas_00009hj8USM8Ncg32aTGHL","type":"string"},"phone_number":{"description":"The passenger's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) (international) format","example":"+442080160509","type":"string"},"title":{"description":"The passenger's title (the `dr` title is not supported by certain airlines, where a [`ValidationError`](/docs/api/overview/response-handling) will be returned instead if used)","enum":["mr","ms","mrs","miss","dr"],"example":"mrs","type":"string"},"user_id":{"description":"Creates an association between the passenger and a previously created user.\n\nThis is intended to allow passengers the ability to manage their own orders.\n","example":"icu_00009htyDGjIfajdNBZRlw","type":"string"}},"required":["id","given_name","family_name","gender","title","born_on","email","phone_number"],"title":"Order Request Passenger","type":"object"},"type":"array"},"payments":{"description":"The payment details to use to pay for the order. This key should be omitted when the order’s `type` is `hold`.","items":{"properties":{"amount":{"description":"The amount of the payment. This should be the same as the `total_amount` of the offer specified in `selected_offers`, plus the `total_amount` of all the services specified in `services`.","example":"30.20","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. This should be the same as the `total_currency` of the offer specified in `selected_offers`.","example":"GBP","format":"ISO 4217","type":"string"},"three_d_secure_session_id":{"description":"The `id` of the 3DSecure Session ID. This is the authentication when paying by [card](/docs/api/v2/card).","example":"3ds_0000AWr2XsTRIF1Vp34gh5","type":"string"},"type":{"description":"The type of payment you want to apply to the order. If you are an IATA agent with your own agreements with airlines, in some cases, you can pay using ARC/BSP cash by specifying `arc_bsp_cash`.\nYou can pay using your Duffel account's balance by specifying `balance`. Otherwise, you can pay by [card](docs/api/v2/card). In [test mode](/docs/api/overview/test-mode), your balance is unlimited.\nIf you're not sure which of these options applies to you, get in touch with the Duffel support team at <help@duffel.com>.","enum":["arc_bsp_cash","balance","card"],"example":"balance","type":"string"}},"required":["type","amount","currency"],"type":"object"},"type":"array"},"selected_offers":{"description":"The `id`s of the offers you want to book. You must specify an array containing exactly one selected offer.\n\nNote that you can only book one offer per offer request.\n","items":{"example":"off_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"},"services":{"description":"The services you want to book along with the first selected offer.\n\nIf the offer was priced with `intended_services`, you must either send those same\nservices here or omit this key entirely. Any other set of services is rejected.\n","items":{"properties":{"id":{"description":"The `id` of the service from the offer's `available_services` that you want to book","example":"ase_00009hj8USM7Ncg31cB123","type":"string"},"quantity":{"description":"The quantity of the service to book. This will always be `1` for seat services.","example":1,"minimum":1,"type":"integer"}},"required":["id","quantity"],"title":"Order Request Service","type":"object"},"type":"array"},"type":{"description":"The type of order. You can only use `hold` with offers where `payment_requirements.requires_instant_payment` is `false`.\n\nWhen booking an offer with type `hold`, do not specify `payments` key.\n","enum":["instant","hold"],"example":"instant","type":"string"},"users":{"description":"The `id`s of users that would be allowed to manage the order.\n","items":{"example":"icu_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"}},"required":["selected_offers","passengers","payments"],"title":"Body parameters","type":"object"}},"required":["data"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_Order"}},"type":"object"}}},"description":"Order created with booking reference"},"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":false,"description":"An order represents a booking with an airline","properties":{"airline_initiated_changes":{"description":"The airline-initiated changes for this Order","items":{"additionalProperties":false,"properties":{"action_taken":{"description":"The action taken in response to this airline-initiated change.\n\nAccepted, cancelled and changed reflect your action in accepting the change,\ncancelling the order or changing the order respectively.\n","enum":["accepted","cancelled","changed"],"example":"accepted","type":["string","null"]},"action_taken_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which an action was taken","example":"2022-01-17T10:12:14.545Z","type":["string","null"]},"added":{"description":"List of updated [slices and segments](/docs/api/orders/schema#orders-schema-slices) following the change. These slices and segments may each have a new ID as a result of the changes.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"available_actions":{"description":"The available actions you can take on this Airline-Initiated Change\nthrough our API.\n\n`\"update\"` means that you can use the update endpoint for an Airline-Initiated Change.\n\nPossible values in array: `\"accept\"`, `\"cancel\"`, `\"change\"`, or `\"update\"`\n","example":["accept","cancel","change"],"items":{"enum":["accept","cancel","change","update"],"type":"string"},"type":"array"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which we detected the airline-initiated change","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"aic_00001876aqC8c5umZmrRds","type":"string"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"removed":{"description":"List of [slices and segments](/docs/api/orders/schema#orders-schema-slices) as they were before the change.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"travel_agent_ticket":{"description":"The associated Travel Agent Ticket, if any, for this Airline-Initiated Change.\nThis value will be present for Airline-Initiated changes that take some time to be processed.\n","items":{"properties":{"external_ticket_id":{"description":"Duffel's unique reference for our ticket.\nPlease include this in any correspondence with Duffel.\n","example":"1234","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"tic_00001876aqC8c5umZmrRds","type":"string"}},"title":"Travel Agent Ticket","type":"object"},"type":["object","null"],"x-preview":true},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline-initiated change was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"required":["action_taken","available_actions","added","action_taken_at","created_at","id","order_id","removed","updated_at","travel_agent_ticket"],"title":"Airline-InitiatedChange","type":"object"},"type":"array"},"available_actions":{"description":"The available actions you can take on this order through our API.\nIt's a list of zero or more of the following values:\n\n  - `\"cancel\"`: You can [cancel](https://duffel.com/docs/api/order-cancellations) the order.\n  - `\"change\"`: You can [change](https://duffel.com/docs/api/order-changes) the order's slices.\n  - `\"update\"`: You can [update](https://duffel.com/docs/api/orders/update-order-by-id) some of the order's fields.\n","example":["cancel","update"],"items":{"enum":["cancel","change","update"],"type":"string"},"type":"array"},"base_amount":{"description":"The base price of the order for all flights and services booked, excluding taxes","example":"60.60","type":["string","null"]},"base_currency":{"description":"The currency of the `base_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"booking_reference":{"description":"The airline's reference for the order, sometimes known as a \"passenger name record\" (PNR) or \"record locator\". Your customers can use this to check in and manage their booking on the airline's website. Usually, this is made up of six alphanumeric characters, but airlines can have their own formats (for example, easyJet's booking references are 7 alphanumeric characters long and LATAM's references are made up of 13 alphanumeric characters beginning with `LA`.)","example":"RZPNX8","type":"string"},"booking_references":{"description":"All carrier booking references (PNRs) associated with this order. This includes the primary booking reference as well as any additional references from other carriers involved in the booking.","items":{"additionalProperties":false,"description":"A booking reference represents a passenger name record (PNR) or record locator issued by a carrier for an order","properties":{"booking_reference":{"description":"The airline reference for the order, sometimes known as a passenger name record (PNR) or record locator","example":"RZPNX8","type":"string"},"carrier":{"additionalProperties":false,"description":"The airline that issued this booking reference","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":["object","null"]}},"title":"Booking Reference","type":"object"},"type":"array"},"cancellation":{"additionalProperties":false,"description":"The confirmed cancellation associated with this Order (if this Order has been cancelled)","properties":{"airline_credits":{"description":"For unconfirmed cancellations, it lists airilne credits that would be generated if the cancellation is confirmed.\nFor confirmed cancellations, it lists airline credits that were generated when this cancellation was confirmed.\n","items":{"oneOf":[{"additionalProperties":false,"description":"An airline credit quote represents the airline credit that would be issued by the airline if the order is cancelled.","properties":{"amount":{"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"amount_currency":{"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"code":{"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The human-readable name used by the airline to categorize the type of credit being offered. This name should help when trying to understand the airline's conditions of use which apply to this credit.\n","example":"Duffel Travel Credit","type":"string"},"id":{"description":"Duffel's unique identifier for the airline credit quote\n","example":"act_00009qzZWzjDipIkqpaUAj","type":"string"},"issued_on":{"description":"The date the credit was issued.\nIt is important to note that this date might not be the same as the date of cancellation. Often airlines associate credits with tickets, in which case the date of issue is considered to be the date the ticket was originally issued.\nAirline credits may have expiration dates which are based on the date of issue. Airlines don't always reliably disclose the expiration date in their APIs at the time of cancellation, so we are unable to return this information on airline credits. To get the latest info on expiration dates for airline credits we recommend checking directly with the airlines to determine the specific conditions of use for the credit.\n","example":"2023-02-24","format":"date","type":"string"},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"type":{"description":"The type of airline credit that would be issued if the cancellation is confirmed. Use this to distinguish between credits that the airline will issue against the original e-ticket (`eticket`) and credits issued as a separate MCO/EMD document (`mco`, `emd`).\n","enum":["eticket","mco","emd"],"example":"eticket","type":"string"}},"required":["id","amount","code","amount_currency","issued_on","passenger_id","type"],"title":"Airline Credit Quote","type":"object"},{"additionalProperties":false,"description":"An airline credit represents credit issued by an airline for a canceled or disrupted flight.","properties":{"airline_iata_code":{"description":"The two-character IATA code for the airline that issued this credit","example":"AA","type":"string"},"amount":{"description":"Value of this airline credit","example":"30.20","type":"string"},"amount_currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"code":{"description":"Credit identifier provided by the airline","example":"12345678","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was created.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The common name given to this airline credit.\n","example":"Future Flight Credit","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit expires and will no longer be eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"family_name":{"description":"The family name of the passenger associated with this airline credit.\n","example":"Doe","type":"string"},"given_name":{"description":"The given name of the passenger associated with this airline credit.\n","example":"John","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"acd_00009UhD4ongolulWd91Ky","type":"string"},"invalidated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was invalidated. Invalidated credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"issued_on":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was issued by the airline.","example":"2020-04-11","format":"date","type":"string"},"live_mode":{"description":"Whether the payment was created in live mode. This field will be set to `true` if the payment was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the order that the credit is associated with\n","example":"ord_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":["string","null"]},"penalty_currency":{"description":"The currency of the penalty amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"spent_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was spent. Spent credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"type":{"description":"Type of the airline credit","enum":["eticket","mco","emd"],"example":"eticket","type":"string"},"user_id":{"description":"Duffel's unique identifier for the customer user that the credit is associated with\n","example":"icu_00009hj8USM7Ncg31cBCLL","type":["string","null"]}},"required":["id","amount","amount_currency","created_at","issued_on","live_mode","given_name","family_name","type","airline_iata_code","expires_at"],"title":"Airline Credit","type":"object"}]},"type":"array"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order cancellation was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order cancellation was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this cancellation must be confirmed","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"ore_00009qzZWzjDipIkqpaUAj","type":"string"},"live_mode":{"description":"Whether the order cancellation was created in live mode. This field will be set to `true` if the order cancellation was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"refund_amount":{"description":"The total value that will be returned to the customer if the order is cancelled, determined according to the fare conditions. When the original order was paid with a mix of cash and airline credit and the cancellation is a void, this is the grand total across both the cash refunded to the original payment method and any re-issued [`airline_credits`](#tag/Order-Cancellations). This may be `0.00` if the fare is non-refundable. It will include the refund amount of the flights and the services booked. This may be null in cases where the refund amount is unknown. This only applies in cases where we are unable to get a refund quote from the carrier.\n","example":"90.80","type":["string","null"]},"refund_currency":{"description":"The currency of the `refund_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\nFor `hold` orders that are awaiting payment, the refund amount will always be 0.00.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n`awaiting_payment` is for pay later orders where no payment has been made yet.\n","enum":["arc_bsp_cash","balance","card","voucher","awaiting_payment","airline_credits","original_form_of_payment"],"example":"arc_bsp_cash","type":"string"}},"required":["id","order_id","live_mode","expires_at","refund_amount","refund_currency","refund_to","confirmed_at","created_at","airline_credits"],"title":"Order Cancellation","type":["object","null"]},"cancelled_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was cancelled, if it has been cancelled","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"changes":{"description":"The passenger-initiated changes for this Order","items":{"description":"An order change represents alterations to an existing order with an airline","properties":{"change_total_amount":{"description":"The amount that will be charged or refunded, determined according to the\nfare conditions. A negative value will reflect a refund.\n","example":"30.50","type":"string"},"change_total_currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order change was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this change must be confirmed","example":"2020-01-17T10:42:14.545052Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"ocr_0000A3tQSmKyqOrcySrGbo","type":"string"},"live_mode":{"description":"Whether the order change was created in live mode. This field will be set to `true` if the order change was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"new_total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes, once the change is confirmed.","example":"121.30","type":"string"},"new_total_currency":{"description":"The currency of the `new_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"order_id":{"description":"Duffel's unique identifier for the order which is being changed","example":"ord_0000A3tQcCRZ9R8OY0QlxA","type":"string"},"penalty_total_amount":{"description":"The amount charged by the airline for making this change.","example":"15.50","type":"string"},"penalty_total_currency":{"description":"The currency of the `penalty_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"refund_to":{"description":"Where the refund, once confirmed, will be sent. Refunds are indicated by a negative `change_total_amount`. If the change does not require a refund, this field will be `null`.\n`original_form_of_payment` refers to the form of payment used to create the order.\n","enum":["voucher","original_form_of_payment"],"example":"voucher","type":["string","null"]},"slices":{"additionalProperties":false,"description":"The slices within an order change that are being added to and/or removed from the order","properties":{"add":{"description":"The slices that will be added to the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"},"remove":{"description":"The slices that will be removed from the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"}},"required":["add","remove"],"title":"Order Change Slices","type":"object"}},"required":["id","order_id","live_mode","expires_at","change_total_amount","change_total_currency","new_total_amount","new_total_currency","penalty_total_amount","penalty_total_currency","refund_to","slices","created_at","confirmed_at"],"title":"Order Change","type":"object"},"type":"array"},"conditions":{"description":"The conditions associated with this order, describing the kinds of modifications you can make to it and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this order - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole order can be changed before the departure of the first slice.\nIf all of the slices on the order can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the order can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the order is changeable.\nIf the airline hasn't provided any information about whether this order can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole order can be refunded before the departure of the first slice.\nIf all of the slices on the order can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the order can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this order can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OrderConditions","type":"object"},"content":{"description":"Whether the order is Self-Managed or Managed","enum":["self_managed","managed"],"example":"self_managed","type":"string"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"documents":{"description":"The documents issued for this order","items":{"properties":{"passenger_ids":{"description":"The list of passenger `id`s the document applies to","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"type":{"description":"The type of document","enum":["electronic_ticket","electronic_miscellaneous_document_associated","electronic_miscellaneous_document_standalone"],"example":"electronic_ticket","type":"string"},"unique_identifier":{"description":"The identifier for the document, in the case of electronic tickets this string represents the payment or the entitlement to fly.","example":"1252106312810","type":"string"}},"title":"Order Document","type":"object"},"type":"array"},"id":{"description":"Duffel's unique identifier for the resource","example":"ord_00009hthhsUZ8W4LxQgkjo","type":"string"},"intended_payment_methods":{"description":"The intended payment methods for this order. This field is only present for unpaid hold orders.\n","items":{"oneOf":[{"additionalProperties":false,"properties":{"card_id":{"description":"The ID of the card you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be charged to the card payment","example":"500.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"surcharge_amount":{"description":"The surcharge amount that will be applied to the card payment","example":"30.20","type":["string","null"]},"surcharge_currency":{"description":"The currency of the surcharge amount","example":"GBP","format":"ISO 4217","type":["string","null"]},"type":{"description":"The type of payment method you intend to use","enum":["card"],"example":"card","type":"string"}},"required":["type","card_id","charge_amount","charge_currency","surcharge_amount","surcharge_currency"],"title":"Intended Card Surcharge","type":"object"},{"additionalProperties":false,"properties":{"airline_credit_id":{"description":"The ID of the airilne credit you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be taken from this airline credit","example":"30.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":"string"},"penalty_currency":{"description":"The currency of the penalty amount","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of payment method you intend to use","enum":["airline_credit"],"example":"airline_credit","type":"string"}},"required":["type","airline_credit_id","charge_amount","charge_currency","penalty_amount","penalty_currency"],"title":"Intended Airline Credit Charge","type":"object"}]},"type":["array","null"]},"live_mode":{"description":"Whether the order was created in live mode. This field will be set to `true` if the order was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"metadata":{"description":"Metadata contains a set of key-value pairs that you can attach to an object. It can be useful for storing additional information about the object, in a structured format. Duffel does not use this information. You should not store sensitive information in this field.\n","example":{"customer_prefs":"window seat","payment_intent_id":"pit_00009htYpSCXrwaB9DnUm2"},"type":["object","null"]},"offer_id":{"description":"The offer ID used at the time of booking.","example":"off_00009htYpSCXrwaB9DnUm0","type":"string"},"owner":{"additionalProperties":false,"description":"The airline who owns the order","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"passengers":{"description":"The passengers who are travelling","items":{"properties":{"born_on":{"description":"The passenger's date of birth","example":"1987-07-24","format":"date","type":"string"},"email":{"description":"The passenger's email address. Note that this data may differ from the airline's records if it was updated directly with the airline since the order was created.\n","example":"amelia@duffel.com","type":"string"},"family_name":{"description":"The passenger's family name","example":"Earhart","type":"string"},"gender":{"description":"The passenger's gender","enum":["m","f"],"example":"f","type":"string"},"given_name":{"description":"The passenger's given name","example":"Amelia","type":"string"},"id":{"description":"The `id` of the passenger, returned when the [offer request](/docs/api/offer-requests) was created","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"infant_passenger_id":{"description":"The `id` of the infant associated with this passenger","example":"pas_00009hj8USM8Ncg32aTGHL","type":["string","null"]},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"phone_number":{"description":"The passenger's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) (international) format. Note that this data may differ from the airline's records if it was updated directly with the airline since the order was created.\n","example":"+442080160509","type":"string"},"title":{"description":"The passenger's title","enum":["mr","ms","mrs","miss","dr"],"example":"mrs","type":"string"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":"string"}},"required":["id","type","infant_passenger_id","given_name","family_name","gender","title","born_on","email","phone_number","loyalty_programme_accounts"],"title":"Order Passenger","type":"object"},"type":"array"},"payment_status":{"description":"The payment status for this order","properties":{"awaiting_payment":{"description":"Whether a full payment has been made, or the airline is waiting for a payment to be made. This will be set to false if the order has been cancelled or if `payment_required_by` has elapsed.","example":true,"type":"boolean"},"paid_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was paid for, if at all","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]},"payment_required_by":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this order. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order. This will be `null` only for orders where `awaiting_payment` is `false`.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]},"price_guarantee_expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and the order will need to be repriced before payment. This will be `null` when there is no price guarantee.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]}},"title":"OrderPaymentStatus","type":"object"},"services":{"description":"The services booked along with this order","items":{"additionalProperties":false,"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ser_00009UhD4ongolulWd9123","type":"string"},"metadata":{"description":"The metadata varies by the type of service. It includes further data\nabout the service. For example, for baggages, it may have data about\nsize and weight restrictions.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"oneOf":[{"additionalProperties":false,"description":"An object containing metadata about the service, like the maximum weight and dimensions of the baggage.","properties":{"maximum_depth_cm":{"description":"The maximum depth that the baggage can have in centimetres","example":75,"type":["number","null"]},"maximum_height_cm":{"description":"The maximum height that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_length_cm":{"description":"The maximum length that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_weight_kg":{"description":"The maximum weight that the baggage can have in kilograms","example":23,"type":["number","null"]},"type":{"description":"The type of the baggage","enum":["checked","carry_on"],"example":"checked","type":"string"}},"required":["type"],"title":"Service Metadata for a Baggage","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service, like the designator of the \nseat.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"required":["designator","name","disclosures"],"title":"Service Metadata for a Seat","type":"object"}]},"passenger_ids":{"description":"List of passenger `id`s the service applies to. The service applies to all the passengers in this list.","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"quantity":{"description":"The quantity of the service that was booked","example":1,"minimum":1,"type":"integer"},"segment_ids":{"description":"List of segment `id`s the service applies to. The service applies to all the segments in this list.","example":["seg_00009hj8USM7Ncg31cB456"],"items":{"type":"string"},"type":"array"},"total_amount":{"description":"The total price of the service for all passengers and segments it applies to, accounting for quantity and including taxes","example":"15.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIf an offer or order is priced with balance, it matches your organisation's billing currency. If it is priced with card or airline credit, it is returned in the currency the airline charges in. If it is priced without payment methods and not using Duffel Content, it is returned in the agency point of sale currency.\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of the service. For now we only return services of type \n`baggage` and `seat` but we will return other types in the future. We \nwon't consider adding new service types a breaking change.\n","enum":["baggage","seat"],"example":"seat","type":"string"}},"required":["id","metadata","passenger_ids","quantity","segment_ids","total_amount","total_currency","type"],"title":"Order Service","type":"object"},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up the itinerary of this order. One-way journeys can be expressed using one slice, whereas return trips will need two.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"synced_at":{"description":"Airlines are always the source of truth for orders. The orders returned in the Duffel API are a view of those orders.\nThis field is the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was last synced with the airline.\nIf this datetime is in the last minute you can consider the order up to date.\n","example":"2020-04-11T15:48:11Z","format":"date-time","type":"string"},"tax_amount":{"description":"The amount of tax payable on the order for all the flights booked","example":"30.20","type":["string","null"]},"tax_breakdown":{"description":"The airline's breakdown of `tax_amount` by tax code.\nThe list is empty when the airline gives us no usable itemisation. Treat an empty list as \"no breakdown available\" rather than \"no tax\".\nEach line is in the currency the airline quoted it in, which is given per line. Where Duffel converts the price into your billing currency, that currency differs from `tax_currency`, so the lines cannot be compared with `tax_amount` without converting them.\nEven in a single currency, the lines can add up to less than `tax_amount`: a line the airline quoted without a code, a currency or an amount is dropped, and some airlines itemise only part of the tax they charge. Do not reconcile against it, and do not use it to compute a total.\nA line's `name` is the short label for the charge and its `description` the fuller explanation of what it is and who levies it.\nA line's `name`, `description` and `carrier_imposed` are all nullable, and are `null` for a tax code we cannot yet classify.\n","items":{"properties":{"amount":{"description":"The amount charged under this code, for all passengers.\nA refundable tax appears as a negative amount.\n","example":"26.00","type":"string"},"carrier_imposed":{"description":"Whether the charge is set by the airline itself, rather than by a government or an airport.\nThis is `null` for a code we cannot classify. Do not read `null` as `false`.\n","example":false,"type":["boolean","null"]},"code":{"description":"The tax code the airline used for this charge, as it was quoted to us.\nCodes are mostly the IATA ticket tax codes (for example `GB` for UK Air Passenger Duty), but an airline is free to quote a code that is not in that list.\n","example":"GB","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis is the currency the airline quoted the tax in. Where Duffel converts the price into your billing currency, it will differ from `tax_currency`.\n","example":"GBP","format":"ISO 4217","type":"string"},"description":{"description":"A plain-English description of what the charge is for, written by Duffel.\nThis is `null` for a code we do not yet have a description for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty, an excise duty charged on each passenger departing from a UK airport, banded by distance and cabin.","type":["string","null"]},"name":{"description":"A short label for the charge, written by Duffel: the country that levies it (or the airline, for a charge the airline sets itself) followed by the charge.\nUse it where a line item has to fit beside its amount. This is `null` for a code we do not yet have a name for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty","type":["string","null"]}},"required":["code","amount","currency","name","description","carrier_imposed"],"title":"Tax Breakdown Item","type":"object"},"type":"array"},"tax_currency":{"description":"The currency of the `tax_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes","example":"90.80","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency, with two exceptions. If the order was paid using a card or airline credit, it will be the currency the airline charged in, even if the offer you booked showed your billing currency. If you’re using Duffel as an accredited IATA agent, it will be the currency provided by the airline (usually based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of this order","enum":["instant","hold"],"example":"instant","type":["string","null"]},"users":{"description":"The `id`s of users that are allowed to manage the order.\n","items":{"example":"icu_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"},"void_window_ends_at":{"description":"Some paid orders are eligible to be voided, typically within the first 24 hours after payment. An order that is cancelled within this window is eligible for a full refund.\nNote that orders created near to the initial departure date i.e. within 7 days may not be eligible for void.\nThis field is the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the shall no longer be eligible to be void, after which any refunds shall be subject to the conditions on the order.\n","example":"2020-04-11T15:48:11Z","format":"date-time","type":["string","null"],"x-preview":true}},"required":["airline_initiated_changes","base_amount","base_currency","booking_reference","cancellation","cancelled_at","changes","conditions","created_at","documents","id","live_mode","owner","passengers","payment_status","services","slices","tax_amount","tax_currency","total_amount","total_currency","metadata","synced_at","offer_id","void_window_ends_at"],"title":"Order","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Create Flight Order","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-orders-create","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"response_usd","customer_multiplier":1.05,"customer_pricing":"provider_cost_multiplier","default_request_estimate_usd":315.0,"estimate_source":"profile_seed","evidence_source":"response_body"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-source":{"content_hash":"sha256:260e23ed0638f905db1ed5e5016c728948f03b88a6f44012ab78996eadc8b69a","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-revision":{"customer_pricing_ref":"6cdeb8dedf78","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"b091db4a5bea"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_orders_create","path":"/apis/v1/duffel/flights/orders/create"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/orders","x-aisa-validation":"provider"}},"/apis/v1/duffel/flights/orders/hold-create":{"post":{"description":"Hold the selected order without paying (body type:hold)\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"post_duffel_orders_hold_create","requestBody":{"content":{"application/json":{"schema":{"properties":{"data":{"properties":{"metadata":{"description":"Metadata contains a set of key-value pairs that you can attach to an\nobject. It can be useful for storing additional information about the\nobject, in a structured format. Duffel does not use this information.\nYou should not store sensitive information in this field.\n\nThe metadata is a collection of key-value pairs, both of which are strings.\nYou can store a maximum of 50 key-value pairs, where each key has a maximum\nlength of 40 characters and each value has a maximum length of 500 characters.\n\nKeys must only contain numbers, letters, dashes, or underscores.\n","example":{"payment_intent_id":"pit_00009htYpSCXrwaB9DnUm2"},"type":"object"},"passengers":{"description":"The personal details of the passengers, expanding on the information initially provided when creating the offer request","items":{"properties":{"born_on":{"description":"The passenger's date of birth","example":"1987-07-24","format":"date","type":"string"},"email":{"description":"The passenger's email address","example":"amelia@duffel.com","type":"string"},"family_name":{"description":"The passenger's family name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 or 2 characters, and the maximum, combined with `given_name`, is 40 characters. The requirements vary by airline. We recommend using a minimum length of 2.","example":"Earhart","type":"string"},"gender":{"description":"The passenger's gender","enum":["m","f"],"example":"f","type":"string"},"given_name":{"description":"The passenger's given name. Only `space`, `-`, `'`, and letters from the [`ASCII`](https://www.unicode.org/charts/PDF/U0000.pdf), [`Latin-1 Supplement`](https://www.unicode.org/charts/PDF/U0080.pdf) and [`Latin Extended-A`](https://www.unicode.org/charts/PDF/U0100.pdf) (with the exceptions of `Æ`, `æ`, `Ĳ`, `ĳ`, `Œ`, `œ`, `Þ`, and `ð`) Unicode charts are accepted. All other characters will result in a validation error. The minimum length is 1 or 2 characters, and the maximum, combined with `family_name`, is 40 characters. The requirements vary by airline. We recommend using a minimum length of 2.","example":"Amelia","type":"string"},"id":{"description":"The `id` of the passenger, returned when the [offer request](/docs/api/offer-requests) was created","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"identity_documents":{"description":"The passenger's identity documents. You may only provide one identity document per type per passenger.\nThe identity document's type supported by the airline can be found in the offer's `supported_passenger_identity_document_types`.\nIf the offer's `passenger_identity_documents_required` is set to `true`, then a passport document must be provided.","items":{"properties":{"expires_on":{"description":"Must only be provided for `passport` type. The date on which the identity document expires","example":"2025-04-25","format":"date","type":"string"},"issuing_country_code":{"description":"Must only be provided for `passport`, `known_traveler_number`, and `passenger_redress_number` types. The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code of the country that issued this identity document","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"type":{"description":"The type of the identity document. Currently, the only supported types are `passport`, `tax_id`, `known_traveler_number`, and `passenger_redress_number`.\nThe identity document's type supported by the airline can be found in the offer's `supported_passenger_identity_document_types`.","enum":["passport","tax_id","known_traveler_number","passenger_redress_number"],"example":"passport","type":"string"},"unique_identifier":{"description":"The unique identifier of the identity document. e.g. the passport number.","example":"19KL56147","type":"string"}},"required":["expires_on","issuing_country_code","type","unique_identifier"],"title":"Order Request Passenger Identity Document","type":"object"},"type":["array","null"]},"infant_passenger_id":{"description":"Infant passengers, with an `age` of 0 or 1, must be associated with an adult passenger. This field should be used to make this association. It should contain the `id` of the infant passenger as returned in the [offer request](/docs/api/offer-requests).","example":"pas_00009hj8USM8Ncg32aTGHL","type":"string"},"phone_number":{"description":"The passenger's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) (international) format","example":"+442080160509","type":"string"},"title":{"description":"The passenger's title (the `dr` title is not supported by certain airlines, where a [`ValidationError`](/docs/api/overview/response-handling) will be returned instead if used)","enum":["mr","ms","mrs","miss","dr"],"example":"mrs","type":"string"},"user_id":{"description":"Creates an association between the passenger and a previously created user.\n\nThis is intended to allow passengers the ability to manage their own orders.\n","example":"icu_00009htyDGjIfajdNBZRlw","type":"string"}},"required":["id","given_name","family_name","gender","title","born_on","email","phone_number"],"title":"Order Request Passenger","type":"object"},"type":"array"},"payments":{"description":"The payment details to use to pay for the order. This key should be omitted when the order’s `type` is `hold`.","items":{"properties":{"amount":{"description":"The amount of the payment. This should be the same as the `total_amount` of the offer specified in `selected_offers`, plus the `total_amount` of all the services specified in `services`.","example":"30.20","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. This should be the same as the `total_currency` of the offer specified in `selected_offers`.","example":"GBP","format":"ISO 4217","type":"string"},"three_d_secure_session_id":{"description":"The `id` of the 3DSecure Session ID. This is the authentication when paying by [card](/docs/api/v2/card).","example":"3ds_0000AWr2XsTRIF1Vp34gh5","type":"string"},"type":{"description":"The type of payment you want to apply to the order. If you are an IATA agent with your own agreements with airlines, in some cases, you can pay using ARC/BSP cash by specifying `arc_bsp_cash`.\nYou can pay using your Duffel account's balance by specifying `balance`. Otherwise, you can pay by [card](docs/api/v2/card). In [test mode](/docs/api/overview/test-mode), your balance is unlimited.\nIf you're not sure which of these options applies to you, get in touch with the Duffel support team at <help@duffel.com>.","enum":["arc_bsp_cash","balance","card"],"example":"balance","type":"string"}},"required":["type","amount","currency"],"type":"object"},"type":"array"},"selected_offers":{"description":"The `id`s of the offers you want to book. You must specify an array containing exactly one selected offer.\n\nNote that you can only book one offer per offer request.\n","items":{"example":"off_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"},"services":{"description":"The services you want to book along with the first selected offer.\n\nIf the offer was priced with `intended_services`, you must either send those same\nservices here or omit this key entirely. Any other set of services is rejected.\n","items":{"properties":{"id":{"description":"The `id` of the service from the offer's `available_services` that you want to book","example":"ase_00009hj8USM7Ncg31cB123","type":"string"},"quantity":{"description":"The quantity of the service to book. This will always be `1` for seat services.","example":1,"minimum":1,"type":"integer"}},"required":["id","quantity"],"title":"Order Request Service","type":"object"},"type":"array"},"type":{"description":"The type of order. You can only use `hold` with offers where `payment_requirements.requires_instant_payment` is `false`.\n\nWhen booking an offer with type `hold`, do not specify `payments` key.\n","enum":["instant","hold"],"example":"instant","type":"string"},"users":{"description":"The `id`s of users that would be allowed to manage the order.\n","items":{"example":"icu_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"}},"required":["selected_offers","passengers","payments"],"title":"Body parameters","type":"object"}},"required":["data"],"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/PublishedResponses_PreviousResponseDuffel_Order"}},"type":"object"}}},"description":"Held order awaiting payment"},"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":false,"description":"An order represents a booking with an airline","properties":{"airline_initiated_changes":{"description":"The airline-initiated changes for this Order","items":{"additionalProperties":false,"properties":{"action_taken":{"description":"The action taken in response to this airline-initiated change.\n\nAccepted, cancelled and changed reflect your action in accepting the change,\ncancelling the order or changing the order respectively.\n","enum":["accepted","cancelled","changed"],"example":"accepted","type":["string","null"]},"action_taken_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which an action was taken","example":"2022-01-17T10:12:14.545Z","type":["string","null"]},"added":{"description":"List of updated [slices and segments](/docs/api/orders/schema#orders-schema-slices) following the change. These slices and segments may each have a new ID as a result of the changes.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"available_actions":{"description":"The available actions you can take on this Airline-Initiated Change\nthrough our API.\n\n`\"update\"` means that you can use the update endpoint for an Airline-Initiated Change.\n\nPossible values in array: `\"accept\"`, `\"cancel\"`, `\"change\"`, or `\"update\"`\n","example":["accept","cancel","change"],"items":{"enum":["accept","cancel","change","update"],"type":"string"},"type":"array"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which we detected the airline-initiated change","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"aic_00001876aqC8c5umZmrRds","type":"string"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"removed":{"description":"List of [slices and segments](/docs/api/orders/schema#orders-schema-slices) as they were before the change.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"travel_agent_ticket":{"description":"The associated Travel Agent Ticket, if any, for this Airline-Initiated Change.\nThis value will be present for Airline-Initiated changes that take some time to be processed.\n","items":{"properties":{"external_ticket_id":{"description":"Duffel's unique reference for our ticket.\nPlease include this in any correspondence with Duffel.\n","example":"1234","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"tic_00001876aqC8c5umZmrRds","type":"string"}},"title":"Travel Agent Ticket","type":"object"},"type":["object","null"],"x-preview":true},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline-initiated change was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"required":["action_taken","available_actions","added","action_taken_at","created_at","id","order_id","removed","updated_at","travel_agent_ticket"],"title":"Airline-InitiatedChange","type":"object"},"type":"array"},"available_actions":{"description":"The available actions you can take on this order through our API.\nIt's a list of zero or more of the following values:\n\n  - `\"cancel\"`: You can [cancel](https://duffel.com/docs/api/order-cancellations) the order.\n  - `\"change\"`: You can [change](https://duffel.com/docs/api/order-changes) the order's slices.\n  - `\"update\"`: You can [update](https://duffel.com/docs/api/orders/update-order-by-id) some of the order's fields.\n","example":["cancel","update"],"items":{"enum":["cancel","change","update"],"type":"string"},"type":"array"},"base_amount":{"description":"The base price of the order for all flights and services booked, excluding taxes","example":"60.60","type":["string","null"]},"base_currency":{"description":"The currency of the `base_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"booking_reference":{"description":"The airline's reference for the order, sometimes known as a \"passenger name record\" (PNR) or \"record locator\". Your customers can use this to check in and manage their booking on the airline's website. Usually, this is made up of six alphanumeric characters, but airlines can have their own formats (for example, easyJet's booking references are 7 alphanumeric characters long and LATAM's references are made up of 13 alphanumeric characters beginning with `LA`.)","example":"RZPNX8","type":"string"},"booking_references":{"description":"All carrier booking references (PNRs) associated with this order. This includes the primary booking reference as well as any additional references from other carriers involved in the booking.","items":{"additionalProperties":false,"description":"A booking reference represents a passenger name record (PNR) or record locator issued by a carrier for an order","properties":{"booking_reference":{"description":"The airline reference for the order, sometimes known as a passenger name record (PNR) or record locator","example":"RZPNX8","type":"string"},"carrier":{"additionalProperties":false,"description":"The airline that issued this booking reference","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":["object","null"]}},"title":"Booking Reference","type":"object"},"type":"array"},"cancellation":{"additionalProperties":false,"description":"The confirmed cancellation associated with this Order (if this Order has been cancelled)","properties":{"airline_credits":{"description":"For unconfirmed cancellations, it lists airilne credits that would be generated if the cancellation is confirmed.\nFor confirmed cancellations, it lists airline credits that were generated when this cancellation was confirmed.\n","items":{"oneOf":[{"additionalProperties":false,"description":"An airline credit quote represents the airline credit that would be issued by the airline if the order is cancelled.","properties":{"amount":{"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"amount_currency":{"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"code":{"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The human-readable name used by the airline to categorize the type of credit being offered. This name should help when trying to understand the airline's conditions of use which apply to this credit.\n","example":"Duffel Travel Credit","type":"string"},"id":{"description":"Duffel's unique identifier for the airline credit quote\n","example":"act_00009qzZWzjDipIkqpaUAj","type":"string"},"issued_on":{"description":"The date the credit was issued.\nIt is important to note that this date might not be the same as the date of cancellation. Often airlines associate credits with tickets, in which case the date of issue is considered to be the date the ticket was originally issued.\nAirline credits may have expiration dates which are based on the date of issue. Airlines don't always reliably disclose the expiration date in their APIs at the time of cancellation, so we are unable to return this information on airline credits. To get the latest info on expiration dates for airline credits we recommend checking directly with the airlines to determine the specific conditions of use for the credit.\n","example":"2023-02-24","format":"date","type":"string"},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"type":{"description":"The type of airline credit that would be issued if the cancellation is confirmed. Use this to distinguish between credits that the airline will issue against the original e-ticket (`eticket`) and credits issued as a separate MCO/EMD document (`mco`, `emd`).\n","enum":["eticket","mco","emd"],"example":"eticket","type":"string"}},"required":["id","amount","code","amount_currency","issued_on","passenger_id","type"],"title":"Airline Credit Quote","type":"object"},{"additionalProperties":false,"description":"An airline credit represents credit issued by an airline for a canceled or disrupted flight.","properties":{"airline_iata_code":{"description":"The two-character IATA code for the airline that issued this credit","example":"AA","type":"string"},"amount":{"description":"Value of this airline credit","example":"30.20","type":"string"},"amount_currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"code":{"description":"Credit identifier provided by the airline","example":"12345678","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was created.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The common name given to this airline credit.\n","example":"Future Flight Credit","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit expires and will no longer be eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"family_name":{"description":"The family name of the passenger associated with this airline credit.\n","example":"Doe","type":"string"},"given_name":{"description":"The given name of the passenger associated with this airline credit.\n","example":"John","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"acd_00009UhD4ongolulWd91Ky","type":"string"},"invalidated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was invalidated. Invalidated credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"issued_on":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was issued by the airline.","example":"2020-04-11","format":"date","type":"string"},"live_mode":{"description":"Whether the payment was created in live mode. This field will be set to `true` if the payment was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the order that the credit is associated with\n","example":"ord_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":["string","null"]},"penalty_currency":{"description":"The currency of the penalty amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"spent_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was spent. Spent credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"type":{"description":"Type of the airline credit","enum":["eticket","mco","emd"],"example":"eticket","type":"string"},"user_id":{"description":"Duffel's unique identifier for the customer user that the credit is associated with\n","example":"icu_00009hj8USM7Ncg31cBCLL","type":["string","null"]}},"required":["id","amount","amount_currency","created_at","issued_on","live_mode","given_name","family_name","type","airline_iata_code","expires_at"],"title":"Airline Credit","type":"object"}]},"type":"array"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order cancellation was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order cancellation was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this cancellation must be confirmed","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"ore_00009qzZWzjDipIkqpaUAj","type":"string"},"live_mode":{"description":"Whether the order cancellation was created in live mode. This field will be set to `true` if the order cancellation was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"refund_amount":{"description":"The total value that will be returned to the customer if the order is cancelled, determined according to the fare conditions. When the original order was paid with a mix of cash and airline credit and the cancellation is a void, this is the grand total across both the cash refunded to the original payment method and any re-issued [`airline_credits`](#tag/Order-Cancellations). This may be `0.00` if the fare is non-refundable. It will include the refund amount of the flights and the services booked. This may be null in cases where the refund amount is unknown. This only applies in cases where we are unable to get a refund quote from the carrier.\n","example":"90.80","type":["string","null"]},"refund_currency":{"description":"The currency of the `refund_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\nFor `hold` orders that are awaiting payment, the refund amount will always be 0.00.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n`awaiting_payment` is for pay later orders where no payment has been made yet.\n","enum":["arc_bsp_cash","balance","card","voucher","awaiting_payment","airline_credits","original_form_of_payment"],"example":"arc_bsp_cash","type":"string"}},"required":["id","order_id","live_mode","expires_at","refund_amount","refund_currency","refund_to","confirmed_at","created_at","airline_credits"],"title":"Order Cancellation","type":["object","null"]},"cancelled_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was cancelled, if it has been cancelled","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"changes":{"description":"The passenger-initiated changes for this Order","items":{"description":"An order change represents alterations to an existing order with an airline","properties":{"change_total_amount":{"description":"The amount that will be charged or refunded, determined according to the\nfare conditions. A negative value will reflect a refund.\n","example":"30.50","type":"string"},"change_total_currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order change was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this change must be confirmed","example":"2020-01-17T10:42:14.545052Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"ocr_0000A3tQSmKyqOrcySrGbo","type":"string"},"live_mode":{"description":"Whether the order change was created in live mode. This field will be set to `true` if the order change was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"new_total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes, once the change is confirmed.","example":"121.30","type":"string"},"new_total_currency":{"description":"The currency of the `new_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"order_id":{"description":"Duffel's unique identifier for the order which is being changed","example":"ord_0000A3tQcCRZ9R8OY0QlxA","type":"string"},"penalty_total_amount":{"description":"The amount charged by the airline for making this change.","example":"15.50","type":"string"},"penalty_total_currency":{"description":"The currency of the `penalty_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"refund_to":{"description":"Where the refund, once confirmed, will be sent. Refunds are indicated by a negative `change_total_amount`. If the change does not require a refund, this field will be `null`.\n`original_form_of_payment` refers to the form of payment used to create the order.\n","enum":["voucher","original_form_of_payment"],"example":"voucher","type":["string","null"]},"slices":{"additionalProperties":false,"description":"The slices within an order change that are being added to and/or removed from the order","properties":{"add":{"description":"The slices that will be added to the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"},"remove":{"description":"The slices that will be removed from the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"}},"required":["add","remove"],"title":"Order Change Slices","type":"object"}},"required":["id","order_id","live_mode","expires_at","change_total_amount","change_total_currency","new_total_amount","new_total_currency","penalty_total_amount","penalty_total_currency","refund_to","slices","created_at","confirmed_at"],"title":"Order Change","type":"object"},"type":"array"},"conditions":{"description":"The conditions associated with this order, describing the kinds of modifications you can make to it and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this order - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole order can be changed before the departure of the first slice.\nIf all of the slices on the order can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the order can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the order is changeable.\nIf the airline hasn't provided any information about whether this order can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole order can be refunded before the departure of the first slice.\nIf all of the slices on the order can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the order can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this order can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OrderConditions","type":"object"},"content":{"description":"Whether the order is Self-Managed or Managed","enum":["self_managed","managed"],"example":"self_managed","type":"string"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"documents":{"description":"The documents issued for this order","items":{"properties":{"passenger_ids":{"description":"The list of passenger `id`s the document applies to","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"type":{"description":"The type of document","enum":["electronic_ticket","electronic_miscellaneous_document_associated","electronic_miscellaneous_document_standalone"],"example":"electronic_ticket","type":"string"},"unique_identifier":{"description":"The identifier for the document, in the case of electronic tickets this string represents the payment or the entitlement to fly.","example":"1252106312810","type":"string"}},"title":"Order Document","type":"object"},"type":"array"},"id":{"description":"Duffel's unique identifier for the resource","example":"ord_00009hthhsUZ8W4LxQgkjo","type":"string"},"intended_payment_methods":{"description":"The intended payment methods for this order. This field is only present for unpaid hold orders.\n","items":{"oneOf":[{"additionalProperties":false,"properties":{"card_id":{"description":"The ID of the card you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be charged to the card payment","example":"500.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"surcharge_amount":{"description":"The surcharge amount that will be applied to the card payment","example":"30.20","type":["string","null"]},"surcharge_currency":{"description":"The currency of the surcharge amount","example":"GBP","format":"ISO 4217","type":["string","null"]},"type":{"description":"The type of payment method you intend to use","enum":["card"],"example":"card","type":"string"}},"required":["type","card_id","charge_amount","charge_currency","surcharge_amount","surcharge_currency"],"title":"Intended Card Surcharge","type":"object"},{"additionalProperties":false,"properties":{"airline_credit_id":{"description":"The ID of the airilne credit you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be taken from this airline credit","example":"30.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":"string"},"penalty_currency":{"description":"The currency of the penalty amount","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of payment method you intend to use","enum":["airline_credit"],"example":"airline_credit","type":"string"}},"required":["type","airline_credit_id","charge_amount","charge_currency","penalty_amount","penalty_currency"],"title":"Intended Airline Credit Charge","type":"object"}]},"type":["array","null"]},"live_mode":{"description":"Whether the order was created in live mode. This field will be set to `true` if the order was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"metadata":{"description":"Metadata contains a set of key-value pairs that you can attach to an object. It can be useful for storing additional information about the object, in a structured format. Duffel does not use this information. You should not store sensitive information in this field.\n","example":{"customer_prefs":"window seat","payment_intent_id":"pit_00009htYpSCXrwaB9DnUm2"},"type":["object","null"]},"offer_id":{"description":"The offer ID used at the time of booking.","example":"off_00009htYpSCXrwaB9DnUm0","type":"string"},"owner":{"additionalProperties":false,"description":"The airline who owns the order","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"passengers":{"description":"The passengers who are travelling","items":{"properties":{"born_on":{"description":"The passenger's date of birth","example":"1987-07-24","format":"date","type":"string"},"email":{"description":"The passenger's email address. Note that this data may differ from the airline's records if it was updated directly with the airline since the order was created.\n","example":"amelia@duffel.com","type":"string"},"family_name":{"description":"The passenger's family name","example":"Earhart","type":"string"},"gender":{"description":"The passenger's gender","enum":["m","f"],"example":"f","type":"string"},"given_name":{"description":"The passenger's given name","example":"Amelia","type":"string"},"id":{"description":"The `id` of the passenger, returned when the [offer request](/docs/api/offer-requests) was created","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"infant_passenger_id":{"description":"The `id` of the infant associated with this passenger","example":"pas_00009hj8USM8Ncg32aTGHL","type":["string","null"]},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"phone_number":{"description":"The passenger's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) (international) format. Note that this data may differ from the airline's records if it was updated directly with the airline since the order was created.\n","example":"+442080160509","type":"string"},"title":{"description":"The passenger's title","enum":["mr","ms","mrs","miss","dr"],"example":"mrs","type":"string"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":"string"}},"required":["id","type","infant_passenger_id","given_name","family_name","gender","title","born_on","email","phone_number","loyalty_programme_accounts"],"title":"Order Passenger","type":"object"},"type":"array"},"payment_status":{"description":"The payment status for this order","properties":{"awaiting_payment":{"description":"Whether a full payment has been made, or the airline is waiting for a payment to be made. This will be set to false if the order has been cancelled or if `payment_required_by` has elapsed.","example":true,"type":"boolean"},"paid_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was paid for, if at all","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]},"payment_required_by":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this order. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order. This will be `null` only for orders where `awaiting_payment` is `false`.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]},"price_guarantee_expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and the order will need to be repriced before payment. This will be `null` when there is no price guarantee.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]}},"title":"OrderPaymentStatus","type":"object"},"services":{"description":"The services booked along with this order","items":{"additionalProperties":false,"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ser_00009UhD4ongolulWd9123","type":"string"},"metadata":{"description":"The metadata varies by the type of service. It includes further data\nabout the service. For example, for baggages, it may have data about\nsize and weight restrictions.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"oneOf":[{"additionalProperties":false,"description":"An object containing metadata about the service, like the maximum weight and dimensions of the baggage.","properties":{"maximum_depth_cm":{"description":"The maximum depth that the baggage can have in centimetres","example":75,"type":["number","null"]},"maximum_height_cm":{"description":"The maximum height that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_length_cm":{"description":"The maximum length that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_weight_kg":{"description":"The maximum weight that the baggage can have in kilograms","example":23,"type":["number","null"]},"type":{"description":"The type of the baggage","enum":["checked","carry_on"],"example":"checked","type":"string"}},"required":["type"],"title":"Service Metadata for a Baggage","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service, like the designator of the \nseat.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"required":["designator","name","disclosures"],"title":"Service Metadata for a Seat","type":"object"}]},"passenger_ids":{"description":"List of passenger `id`s the service applies to. The service applies to all the passengers in this list.","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"quantity":{"description":"The quantity of the service that was booked","example":1,"minimum":1,"type":"integer"},"segment_ids":{"description":"List of segment `id`s the service applies to. The service applies to all the segments in this list.","example":["seg_00009hj8USM7Ncg31cB456"],"items":{"type":"string"},"type":"array"},"total_amount":{"description":"The total price of the service for all passengers and segments it applies to, accounting for quantity and including taxes","example":"15.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIf an offer or order is priced with balance, it matches your organisation's billing currency. If it is priced with card or airline credit, it is returned in the currency the airline charges in. If it is priced without payment methods and not using Duffel Content, it is returned in the agency point of sale currency.\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of the service. For now we only return services of type \n`baggage` and `seat` but we will return other types in the future. We \nwon't consider adding new service types a breaking change.\n","enum":["baggage","seat"],"example":"seat","type":"string"}},"required":["id","metadata","passenger_ids","quantity","segment_ids","total_amount","total_currency","type"],"title":"Order Service","type":"object"},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up the itinerary of this order. One-way journeys can be expressed using one slice, whereas return trips will need two.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"synced_at":{"description":"Airlines are always the source of truth for orders. The orders returned in the Duffel API are a view of those orders.\nThis field is the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was last synced with the airline.\nIf this datetime is in the last minute you can consider the order up to date.\n","example":"2020-04-11T15:48:11Z","format":"date-time","type":"string"},"tax_amount":{"description":"The amount of tax payable on the order for all the flights booked","example":"30.20","type":["string","null"]},"tax_breakdown":{"description":"The airline's breakdown of `tax_amount` by tax code.\nThe list is empty when the airline gives us no usable itemisation. Treat an empty list as \"no breakdown available\" rather than \"no tax\".\nEach line is in the currency the airline quoted it in, which is given per line. Where Duffel converts the price into your billing currency, that currency differs from `tax_currency`, so the lines cannot be compared with `tax_amount` without converting them.\nEven in a single currency, the lines can add up to less than `tax_amount`: a line the airline quoted without a code, a currency or an amount is dropped, and some airlines itemise only part of the tax they charge. Do not reconcile against it, and do not use it to compute a total.\nA line's `name` is the short label for the charge and its `description` the fuller explanation of what it is and who levies it.\nA line's `name`, `description` and `carrier_imposed` are all nullable, and are `null` for a tax code we cannot yet classify.\n","items":{"properties":{"amount":{"description":"The amount charged under this code, for all passengers.\nA refundable tax appears as a negative amount.\n","example":"26.00","type":"string"},"carrier_imposed":{"description":"Whether the charge is set by the airline itself, rather than by a government or an airport.\nThis is `null` for a code we cannot classify. Do not read `null` as `false`.\n","example":false,"type":["boolean","null"]},"code":{"description":"The tax code the airline used for this charge, as it was quoted to us.\nCodes are mostly the IATA ticket tax codes (for example `GB` for UK Air Passenger Duty), but an airline is free to quote a code that is not in that list.\n","example":"GB","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis is the currency the airline quoted the tax in. Where Duffel converts the price into your billing currency, it will differ from `tax_currency`.\n","example":"GBP","format":"ISO 4217","type":"string"},"description":{"description":"A plain-English description of what the charge is for, written by Duffel.\nThis is `null` for a code we do not yet have a description for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty, an excise duty charged on each passenger departing from a UK airport, banded by distance and cabin.","type":["string","null"]},"name":{"description":"A short label for the charge, written by Duffel: the country that levies it (or the airline, for a charge the airline sets itself) followed by the charge.\nUse it where a line item has to fit beside its amount. This is `null` for a code we do not yet have a name for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty","type":["string","null"]}},"required":["code","amount","currency","name","description","carrier_imposed"],"title":"Tax Breakdown Item","type":"object"},"type":"array"},"tax_currency":{"description":"The currency of the `tax_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes","example":"90.80","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency, with two exceptions. If the order was paid using a card or airline credit, it will be the currency the airline charged in, even if the offer you booked showed your billing currency. If you’re using Duffel as an accredited IATA agent, it will be the currency provided by the airline (usually based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of this order","enum":["instant","hold"],"example":"instant","type":["string","null"]},"users":{"description":"The `id`s of users that are allowed to manage the order.\n","items":{"example":"icu_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"},"void_window_ends_at":{"description":"Some paid orders are eligible to be voided, typically within the first 24 hours after payment. An order that is cancelled within this window is eligible for a full refund.\nNote that orders created near to the initial departure date i.e. within 7 days may not be eligible for void.\nThis field is the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the shall no longer be eligible to be void, after which any refunds shall be subject to the conditions on the order.\n","example":"2020-04-11T15:48:11Z","format":"date-time","type":["string","null"],"x-preview":true}},"required":["airline_initiated_changes","base_amount","base_currency","booking_reference","cancellation","cancelled_at","changes","conditions","created_at","documents","id","live_mode","owner","passengers","payment_status","services","slices","tax_amount","tax_currency","total_amount","total_currency","metadata","synced_at","offer_id","void_window_ends_at"],"title":"Order","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Create Hold Flight Order","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/post_duffel-flights-orders-hold-create","x-aisa-passthrough":true,"x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-source":{"content_hash":"sha256:260e23ed0638f905db1ed5e5016c728948f03b88a6f44012ab78996eadc8b69a","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-revision":{"customer_pricing_ref":"ec75070b63c0","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"5cc6d83231e9"},"x-aisa-runtime-operation":{"method":"POST","operation_id":"post_duffel_orders_hold_create","path":"/apis/v1/duffel/flights/orders/hold-create"},"x-aisa-source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","converter":"scripts/import_duffel_flights_reference.py@3","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","prior_source":{"content_hash":"sha256:86a34d12cf86429710525825d9ef00c8ce191ae3cf8edaafecbc3a30d9d59f22","converter":"scripts/import_duffel_flights_reference.py@2","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","url":"https://duffel.com/docs/api/v2/offer-requests"},"references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"scope":"Add only the official GET /air/orders/{id} operation and exact Order resource response. The existing 13 operations and source observation clock are unchanged. Current official GET identity, parameters, headers and Order model were compared with the immutable reference fixture; no example-inferred schema, source-wide freshness renewal or Provider execution claim.","sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"url":"https://duffel.com/docs/api/v2/offer-requests"},"x-aisa-status":"enabled","x-aisa-upstream-path":"/air/orders","x-aisa-validation":"provider"}},"/apis/v1/duffel/flights/orders/{id}":{"get":{"description":"Retrieve an existing flight order with full details (passengers, slices, payment status, documents).\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_flights_apis_v1_duffel_flights_orders_id","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"additionalProperties":false,"description":"An order represents a booking with an airline","properties":{"airline_initiated_changes":{"description":"The airline-initiated changes for this Order","items":{"additionalProperties":false,"properties":{"action_taken":{"description":"The action taken in response to this airline-initiated change.\n\nAccepted, cancelled and changed reflect your action in accepting the change,\ncancelling the order or changing the order respectively.\n","enum":["accepted","cancelled","changed"],"example":"accepted","type":["string","null"]},"action_taken_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which an action was taken","example":"2022-01-17T10:12:14.545Z","type":["string","null"]},"added":{"description":"List of updated [slices and segments](/docs/api/orders/schema#orders-schema-slices) following the change. These slices and segments may each have a new ID as a result of the changes.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"available_actions":{"description":"The available actions you can take on this Airline-Initiated Change\nthrough our API.\n\n`\"update\"` means that you can use the update endpoint for an Airline-Initiated Change.\n\nPossible values in array: `\"accept\"`, `\"cancel\"`, `\"change\"`, or `\"update\"`\n","example":["accept","cancel","change"],"items":{"enum":["accept","cancel","change","update"],"type":"string"},"type":"array"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which we detected the airline-initiated change","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"aic_00001876aqC8c5umZmrRds","type":"string"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"removed":{"description":"List of [slices and segments](/docs/api/orders/schema#orders-schema-slices) as they were before the change.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"travel_agent_ticket":{"description":"The associated Travel Agent Ticket, if any, for this Airline-Initiated Change.\nThis value will be present for Airline-Initiated changes that take some time to be processed.\n","items":{"properties":{"external_ticket_id":{"description":"Duffel's unique reference for our ticket.\nPlease include this in any correspondence with Duffel.\n","example":"1234","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"tic_00001876aqC8c5umZmrRds","type":"string"}},"title":"Travel Agent Ticket","type":"object"},"type":["object","null"],"x-preview":true},"updated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline-initiated change was last updated","example":"2020-01-17T10:12:14.545Z","format":"date-time","type":"string"}},"required":["action_taken","available_actions","added","action_taken_at","created_at","id","order_id","removed","updated_at","travel_agent_ticket"],"title":"Airline-InitiatedChange","type":"object"},"type":"array"},"available_actions":{"description":"The available actions you can take on this order through our API.\nIt's a list of zero or more of the following values:\n\n  - `\"cancel\"`: You can [cancel](https://duffel.com/docs/api/order-cancellations) the order.\n  - `\"change\"`: You can [change](https://duffel.com/docs/api/order-changes) the order's slices.\n  - `\"update\"`: You can [update](https://duffel.com/docs/api/orders/update-order-by-id) some of the order's fields.\n","example":["cancel","update"],"items":{"enum":["cancel","change","update"],"type":"string"},"type":"array"},"base_amount":{"description":"The base price of the order for all flights and services booked, excluding taxes","example":"60.60","type":["string","null"]},"base_currency":{"description":"The currency of the `base_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"booking_reference":{"description":"The airline's reference for the order, sometimes known as a \"passenger name record\" (PNR) or \"record locator\". Your customers can use this to check in and manage their booking on the airline's website. Usually, this is made up of six alphanumeric characters, but airlines can have their own formats (for example, easyJet's booking references are 7 alphanumeric characters long and LATAM's references are made up of 13 alphanumeric characters beginning with `LA`.)","example":"RZPNX8","type":"string"},"booking_references":{"description":"All carrier booking references (PNRs) associated with this order. This includes the primary booking reference as well as any additional references from other carriers involved in the booking.","items":{"additionalProperties":false,"description":"A booking reference represents a passenger name record (PNR) or record locator issued by a carrier for an order","properties":{"booking_reference":{"description":"The airline reference for the order, sometimes known as a passenger name record (PNR) or record locator","example":"RZPNX8","type":"string"},"carrier":{"additionalProperties":false,"description":"The airline that issued this booking reference","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":["object","null"]}},"title":"Booking Reference","type":"object"},"type":"array"},"cancellation":{"additionalProperties":false,"description":"The confirmed cancellation associated with this Order (if this Order has been cancelled)","properties":{"airline_credits":{"description":"For unconfirmed cancellations, it lists airilne credits that would be generated if the cancellation is confirmed.\nFor confirmed cancellations, it lists airline credits that were generated when this cancellation was confirmed.\n","items":{"oneOf":[{"additionalProperties":false,"description":"An airline credit quote represents the airline credit that would be issued by the airline if the order is cancelled.","properties":{"amount":{"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"amount_currency":{"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"code":{"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The human-readable name used by the airline to categorize the type of credit being offered. This name should help when trying to understand the airline's conditions of use which apply to this credit.\n","example":"Duffel Travel Credit","type":"string"},"id":{"description":"Duffel's unique identifier for the airline credit quote\n","example":"act_00009qzZWzjDipIkqpaUAj","type":"string"},"issued_on":{"description":"The date the credit was issued.\nIt is important to note that this date might not be the same as the date of cancellation. Often airlines associate credits with tickets, in which case the date of issue is considered to be the date the ticket was originally issued.\nAirline credits may have expiration dates which are based on the date of issue. Airlines don't always reliably disclose the expiration date in their APIs at the time of cancellation, so we are unable to return this information on airline credits. To get the latest info on expiration dates for airline credits we recommend checking directly with the airlines to determine the specific conditions of use for the credit.\n","example":"2023-02-24","format":"date","type":"string"},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"type":{"description":"The type of airline credit that would be issued if the cancellation is confirmed. Use this to distinguish between credits that the airline will issue against the original e-ticket (`eticket`) and credits issued as a separate MCO/EMD document (`mco`, `emd`).\n","enum":["eticket","mco","emd"],"example":"eticket","type":"string"}},"required":["id","amount","code","amount_currency","issued_on","passenger_id","type"],"title":"Airline Credit Quote","type":"object"},{"additionalProperties":false,"description":"An airline credit represents credit issued by an airline for a canceled or disrupted flight.","properties":{"airline_iata_code":{"description":"The two-character IATA code for the airline that issued this credit","example":"AA","type":"string"},"amount":{"description":"Value of this airline credit","example":"30.20","type":"string"},"amount_currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"code":{"description":"Credit identifier provided by the airline","example":"12345678","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was created.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"credit_amount":{"deprecated":true,"description":"The monetary value associated with this airline credit\n","example":"90.80","type":"string"},"credit_code":{"deprecated":true,"description":"The code which identifies the airline credit to the airline and will be used to redeem the airline credit\n","example":"1234567890123","type":["string","null"]},"credit_currency":{"deprecated":true,"description":"The currency in which this airline credit is issued, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code\n","example":"GBP","type":"string"},"credit_name":{"deprecated":true,"description":"The common name given to this airline credit.\n","example":"Future Flight Credit","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit expires and will no longer be eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"family_name":{"description":"The family name of the passenger associated with this airline credit.\n","example":"Doe","type":"string"},"given_name":{"description":"The given name of the passenger associated with this airline credit.\n","example":"John","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"acd_00009UhD4ongolulWd91Ky","type":"string"},"invalidated_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was invalidated. Invalidated credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"issued_on":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was issued by the airline.","example":"2020-04-11","format":"date","type":"string"},"live_mode":{"description":"Whether the payment was created in live mode. This field will be set to `true` if the payment was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the order that the credit is associated with\n","example":"ord_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"passenger_id":{"description":"Duffel's unique identifier for the passenger on the order that the credit is associated with\n","example":"pas_00009hj8USM7Ncg31cBCLL","type":["string","null"]},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":["string","null"]},"penalty_currency":{"description":"The currency of the penalty amount, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"spent_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the airline credit was spent. Spent credits are not eligible for payment.","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"type":{"description":"Type of the airline credit","enum":["eticket","mco","emd"],"example":"eticket","type":"string"},"user_id":{"description":"Duffel's unique identifier for the customer user that the credit is associated with\n","example":"icu_00009hj8USM7Ncg31cBCLL","type":["string","null"]}},"required":["id","amount","amount_currency","created_at","issued_on","live_mode","given_name","family_name","type","airline_iata_code","expires_at"],"title":"Airline Credit","type":"object"}]},"type":"array"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order cancellation was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order cancellation was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this cancellation must be confirmed","example":"2020-01-17T10:42:14Z","format":"date-time","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"ore_00009qzZWzjDipIkqpaUAj","type":"string"},"live_mode":{"description":"Whether the order cancellation was created in live mode. This field will be set to `true` if the order cancellation was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"order_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"refund_amount":{"description":"The total value that will be returned to the customer if the order is cancelled, determined according to the fare conditions. When the original order was paid with a mix of cash and airline credit and the cancellation is a void, this is the grand total across both the cash refunded to the original payment method and any re-issued [`airline_credits`](#tag/Order-Cancellations). This may be `0.00` if the fare is non-refundable. It will include the refund amount of the flights and the services booked. This may be null in cases where the refund amount is unknown. This only applies in cases where we are unable to get a refund quote from the carrier.\n","example":"90.80","type":["string","null"]},"refund_currency":{"description":"The currency of the `refund_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\nFor `hold` orders that are awaiting payment, the refund amount will always be 0.00.\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"refund_to":{"description":"Where the refund, once confirmed, will be sent.\n`awaiting_payment` is for pay later orders where no payment has been made yet.\n","enum":["arc_bsp_cash","balance","card","voucher","awaiting_payment","airline_credits","original_form_of_payment"],"example":"arc_bsp_cash","type":"string"}},"required":["id","order_id","live_mode","expires_at","refund_amount","refund_currency","refund_to","confirmed_at","created_at","airline_credits"],"title":"Order Cancellation","type":["object","null"]},"cancelled_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was cancelled, if it has been cancelled","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":["string","null"]},"changes":{"description":"The passenger-initiated changes for this Order","items":{"description":"An order change represents alterations to an existing order with an airline","properties":{"change_total_amount":{"description":"The amount that will be charged or refunded, determined according to the\nfare conditions. A negative value will reflect a refund.\n","example":"30.50","type":"string"},"change_total_currency":{"description":"The currency of the `change_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"confirmed_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime that indicates when the order change was confirmed","example":"2020-01-17T11:51:43.114803Z","format":"date-time","type":["string","null"]},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order change was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which this change must be confirmed","example":"2020-01-17T10:42:14.545052Z","format":"date-time","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"ocr_0000A3tQSmKyqOrcySrGbo","type":"string"},"live_mode":{"description":"Whether the order change was created in live mode. This field will be set to `true` if the order change was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"new_total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes, once the change is confirmed.","example":"121.30","type":"string"},"new_total_currency":{"description":"The currency of the `new_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"order_id":{"description":"Duffel's unique identifier for the order which is being changed","example":"ord_0000A3tQcCRZ9R8OY0QlxA","type":"string"},"penalty_total_amount":{"description":"The amount charged by the airline for making this change.","example":"15.50","type":"string"},"penalty_total_currency":{"description":"The currency of the `penalty_total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"refund_to":{"description":"Where the refund, once confirmed, will be sent. Refunds are indicated by a negative `change_total_amount`. If the change does not require a refund, this field will be `null`.\n`original_form_of_payment` refers to the form of payment used to create the order.\n","enum":["voucher","original_form_of_payment"],"example":"voucher","type":["string","null"]},"slices":{"additionalProperties":false,"description":"The slices within an order change that are being added to and/or removed from the order","properties":{"add":{"description":"The slices that will be added to the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"},"remove":{"description":"The slices that will be removed from the order","items":{"additionalProperties":false,"description":"A slice that is being removed or added","properties":{"destination":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"origin":{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"marketing_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"}},"required":["id","aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","marketing_carrier","marketing_carrier_flight_number","operating_carrier","operating_carrier_flight_number","origin","origin_terminal","passengers"],"type":"object"},"type":"array"}},"required":["id","duration","destination","destination_type","origin","origin_type","fare_brand_name","segments"],"title":"Order Change Slices Slice","type":"object"},"type":"array"}},"required":["add","remove"],"title":"Order Change Slices","type":"object"}},"required":["id","order_id","live_mode","expires_at","change_total_amount","change_total_currency","new_total_amount","new_total_currency","penalty_total_amount","penalty_total_currency","refund_to","slices","created_at","confirmed_at"],"title":"Order Change","type":"object"},"type":"array"},"conditions":{"description":"The conditions associated with this order, describing the kinds of modifications you can make to it and any penalties that will apply to those modifications.\nThis information assumes the condition is applied to all of the slices and passengers associated with this order - for information at the slice level (e.g. \"what happens if I just want to change the first slice?\") refer to the `slices`.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether the whole order can be changed before the departure of the first slice.\nIf all of the slices on the order can be changed then the `allowed` property will be `true`. Refer to the `slices` for information about change penalties.\nIf any of the slices on the order can't be changed then the `allowed` property will be `false`. In this case you should refer to the `slices` conditions to determine if any part of the order is changeable.\nIf the airline hasn't provided any information about whether this order can be changed then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]},"refund_before_departure":{"description":"Whether the whole order can be refunded before the departure of the first slice.\nIf all of the slices on the order can be refunded then the `allowed` property will be `true` and information will be provided about any penalties.\nIf any of the slices on the order can't be refunded then the `allowed` property will be `false`.\nIf the airline hasn't provided any information about whether this order can be refunded then this property will be `null`.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"title":"OrderConditions","type":"object"},"content":{"description":"Whether the order is Self-Managed or Managed","enum":["self_managed","managed"],"example":"self_managed","type":"string"},"created_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was created","example":"2020-04-11T15:48:11.642Z","format":"date-time","type":"string"},"documents":{"description":"The documents issued for this order","items":{"properties":{"passenger_ids":{"description":"The list of passenger `id`s the document applies to","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"type":{"description":"The type of document","enum":["electronic_ticket","electronic_miscellaneous_document_associated","electronic_miscellaneous_document_standalone"],"example":"electronic_ticket","type":"string"},"unique_identifier":{"description":"The identifier for the document, in the case of electronic tickets this string represents the payment or the entitlement to fly.","example":"1252106312810","type":"string"}},"title":"Order Document","type":"object"},"type":"array"},"id":{"description":"Duffel's unique identifier for the resource","example":"ord_00009hthhsUZ8W4LxQgkjo","type":"string"},"intended_payment_methods":{"description":"The intended payment methods for this order. This field is only present for unpaid hold orders.\n","items":{"oneOf":[{"additionalProperties":false,"properties":{"card_id":{"description":"The ID of the card you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be charged to the card payment","example":"500.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"surcharge_amount":{"description":"The surcharge amount that will be applied to the card payment","example":"30.20","type":["string","null"]},"surcharge_currency":{"description":"The currency of the surcharge amount","example":"GBP","format":"ISO 4217","type":["string","null"]},"type":{"description":"The type of payment method you intend to use","enum":["card"],"example":"card","type":"string"}},"required":["type","card_id","charge_amount","charge_currency","surcharge_amount","surcharge_currency"],"title":"Intended Card Surcharge","type":"object"},{"additionalProperties":false,"properties":{"airline_credit_id":{"description":"The ID of the airilne credit you intend to pay with","example":"tcd_0000A3t2sL46m5eDF45kWW","type":"string"},"charge_amount":{"description":"The amount that will be taken from this airline credit","example":"30.20","type":"string"},"charge_currency":{"description":"The currency of the charge amount","example":"GBP","format":"ISO 4217","type":"string"},"penalty_amount":{"description":"The penalty that will be incurred when paying with this airline credit","example":"10.20","type":"string"},"penalty_currency":{"description":"The currency of the penalty amount","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of payment method you intend to use","enum":["airline_credit"],"example":"airline_credit","type":"string"}},"required":["type","airline_credit_id","charge_amount","charge_currency","penalty_amount","penalty_currency"],"title":"Intended Airline Credit Charge","type":"object"}]},"type":["array","null"]},"live_mode":{"description":"Whether the order was created in live mode. This field will be set to `true` if the order was created in live mode, or `false` if it was created in test mode.","example":false,"type":"boolean"},"metadata":{"description":"Metadata contains a set of key-value pairs that you can attach to an object. It can be useful for storing additional information about the object, in a structured format. Duffel does not use this information. You should not store sensitive information in this field.\n","example":{"customer_prefs":"window seat","payment_intent_id":"pit_00009htYpSCXrwaB9DnUm2"},"type":["object","null"]},"offer_id":{"description":"The offer ID used at the time of booking.","example":"off_00009htYpSCXrwaB9DnUm0","type":"string"},"owner":{"additionalProperties":false,"description":"The airline who owns the order","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"passengers":{"description":"The passengers who are travelling","items":{"properties":{"born_on":{"description":"The passenger's date of birth","example":"1987-07-24","format":"date","type":"string"},"email":{"description":"The passenger's email address. Note that this data may differ from the airline's records if it was updated directly with the airline since the order was created.\n","example":"amelia@duffel.com","type":"string"},"family_name":{"description":"The passenger's family name","example":"Earhart","type":"string"},"gender":{"description":"The passenger's gender","enum":["m","f"],"example":"f","type":"string"},"given_name":{"description":"The passenger's given name","example":"Amelia","type":"string"},"id":{"description":"The `id` of the passenger, returned when the [offer request](/docs/api/offer-requests) was created","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"infant_passenger_id":{"description":"The `id` of the infant associated with this passenger","example":"pas_00009hj8USM8Ncg32aTGHL","type":["string","null"]},"loyalty_programme_accounts":{"description":"The loyalty programme accounts for this passenger","items":{"properties":{"account_number":{"description":"The passenger's account number for this loyalty programme account","example":"12901014","type":"string"},"airline_iata_code":{"description":"The IATA code for the airline that this loyalty programme account belongs to","example":"BA","type":"string"}},"title":"Loyalty Programme Account","type":"object"},"type":"array"},"phone_number":{"description":"The passenger's phone number in [E.164](https://www.twilio.com/docs/glossary/what-e164) (international) format. Note that this data may differ from the airline's records if it was updated directly with the airline since the order was created.\n","example":"+442080160509","type":"string"},"title":{"description":"The passenger's title","enum":["mr","ms","mrs","miss","dr"],"example":"mrs","type":"string"},"type":{"description":"The type of the passenger","enum":["adult","child","infant_without_seat"],"example":"adult","type":"string"}},"required":["id","type","infant_passenger_id","given_name","family_name","gender","title","born_on","email","phone_number","loyalty_programme_accounts"],"title":"Order Passenger","type":"object"},"type":"array"},"payment_status":{"description":"The payment status for this order","properties":{"awaiting_payment":{"description":"Whether a full payment has been made, or the airline is waiting for a payment to be made. This will be set to false if the order has been cancelled or if `payment_required_by` has elapsed.","example":true,"type":"boolean"},"paid_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was paid for, if at all","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]},"payment_required_by":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime by which you must pay for this order. At this time, if still unpaid, the reserved space on the flight(s) will be released and you will have to create a new order. This will be `null` only for orders where `awaiting_payment` is `false`.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]},"price_guarantee_expires_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the price associated with the order will no longer be guaranteed by the airline and the order will need to be repriced before payment. This will be `null` when there is no price guarantee.","example":"2020-01-17T10:42:14.545Z","format":"date-time","type":["string","null"]}},"title":"OrderPaymentStatus","type":"object"},"services":{"description":"The services booked along with this order","items":{"additionalProperties":false,"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ser_00009UhD4ongolulWd9123","type":"string"},"metadata":{"description":"The metadata varies by the type of service. It includes further data\nabout the service. For example, for baggages, it may have data about\nsize and weight restrictions.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"oneOf":[{"additionalProperties":false,"description":"An object containing metadata about the service, like the maximum weight and dimensions of the baggage.","properties":{"maximum_depth_cm":{"description":"The maximum depth that the baggage can have in centimetres","example":75,"type":["number","null"]},"maximum_height_cm":{"description":"The maximum height that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_length_cm":{"description":"The maximum length that the baggage can have in centimetres","example":90,"type":["number","null"]},"maximum_weight_kg":{"description":"The maximum weight that the baggage can have in kilograms","example":23,"type":["number","null"]},"type":{"description":"The type of the baggage","enum":["checked","carry_on"],"example":"checked","type":"string"}},"required":["type"],"title":"Service Metadata for a Baggage","type":"object"},{"additionalProperties":false,"description":"An object containing metadata about the service, like the designator of the \nseat.\n","example":{"designator":"14B","disclosures":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"name":"Exit row seat"},"properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"required":["designator","name","disclosures"],"title":"Service Metadata for a Seat","type":"object"}]},"passenger_ids":{"description":"List of passenger `id`s the service applies to. The service applies to all the passengers in this list.","example":["pas_00009hj8USM7Ncg31cBCLL"],"items":{"type":"string"},"type":"array"},"quantity":{"description":"The quantity of the service that was booked","example":1,"minimum":1,"type":"integer"},"segment_ids":{"description":"List of segment `id`s the service applies to. The service applies to all the segments in this list.","example":["seg_00009hj8USM7Ncg31cB456"],"items":{"type":"string"},"type":"array"},"total_amount":{"description":"The total price of the service for all passengers and segments it applies to, accounting for quantity and including taxes","example":"15.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIf an offer or order is priced with balance, it matches your organisation's billing currency. If it is priced with card or airline credit, it is returned in the currency the airline charges in. If it is priced without payment methods and not using Duffel Content, it is returned in the agency point of sale currency.\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of the service. For now we only return services of type \n`baggage` and `seat` but we will return other types in the future. We \nwon't consider adding new service types a breaking change.\n","enum":["baggage","seat"],"example":"seat","type":"string"}},"required":["id","metadata","passenger_ids","quantity","segment_ids","total_amount","total_currency","type"],"title":"Order Service","type":"object"},"type":"array"},"slices":{"description":"The [slices](/docs/api/overview/key-concepts) that make up the itinerary of this order. One-way journeys can be expressed using one slice, whereas return trips will need two.","items":{"additionalProperties":false,"properties":{"conditions":{"additionalProperties":false,"description":"The conditions associated with this slice, describing the kinds of modifications you can make and any penalties that will apply to those modifications.\nThis condition is applied only to this slice and to all the passengers associated with this order - for information at the order level (e.g. \"what happens if I want to change all the slices?\") refer to the `conditions` at the top level.\nIf a particular kind of modification is allowed, you may not always be able to take action through the Duffel API. In some cases, you may need to contact the Duffel support team or the airline directly.\n","properties":{"change_before_departure":{"description":"Whether this slice can be changed before the departure.\nIf the slice can be changed for all of the passengers then the `allowed` property will be `true` and information will be provided about any penalties.\nIf none of the passengers on the slice can be changed then the `allowed` property will be `false`.\nIn all other cases this property will be `null` indicating we can't provide the information for this slice.\nThe `penalty_amount` is specific to changing this slice and may not be the penalties that is applied if the entire order is changed.\n","properties":{"allowed":{"description":"Whether this kind of modification is allowed post-booking","example":true,"type":"boolean"},"penalty_amount":{"description":"If the modification is `allowed` then this is the amount payable to apply the modification to all passengers. If there is no penalty, the value will be zero.\nIf the modification isn't `allowed` or the penalty is not known then this field will be `null`.\nIf this is `null` then the `penalty_currency` will also be `null`.\n","example":"100.00","type":["string","null"]},"penalty_currency":{"description":"The currency of the `penalty_amount` as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis will be in a currency determined by the airline, which is not necessarily the same as the currency of the offer or order.\nIf this is `null` then `penalty_amount` will also be `null`.\n","example":"GBP","format":"ISO 4217","type":["string","null"]}},"type":["object","null"]}},"required":["change_before_departure"],"title":"OrderSliceConditions","type":"object"},"destination":{"additionalProperties":false,"description":"The city or airport where this slice ends","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"destination_type":{"description":"The type of the destination","enum":["airport","city"],"example":"airport","type":"string"},"duration":{"description":"The duration of the slice, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"fare_brand_name":{"description":"The name of the fare brand associated with this slice. A fare brand\nspecifies the travel conditions you get on your slice made available by\nthe airline. e.g. a British Airways Economy Basic fare will only include\na hand baggage allowance. It is worth noting that the fare brand names\nare defined by the airlines themselves and therefore they are subject to\nchange without any prior notice.\n","example":"Basic","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"sli_00009htYpSCXrwaB9Dn123","type":"string"},"origin":{"additionalProperties":false,"description":"The city or airport where this slice begins","properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},"origin_type":{"description":"The type of the origin","enum":["airport","city"],"example":"airport","type":"string"},"segments":{"description":"The segments - that is, specific flights - that the airline is offering to get the passengers from the `origin` to the `destination`","items":{"additionalProperties":false,"properties":{"aircraft":{"allOf":[{"additionalProperties":false,"properties":{"iata_code":{"description":"The three-character IATA code for the aircraft","example":"380","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"arc_00009UhD4ongolulWd91Ky","type":"string"},"name":{"description":"The name of the aircraft","example":"Airbus Industries A380","type":"string"}},"required":["iata_code","id","name"],"title":"Aircraft","type":"object"},{"description":"The aircraft that the operating carrier will use to operate this segment"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to arrive, in the destination airport timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the segment is scheduled to depart, in the origin airport timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string"},"destination":{"allOf":[{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"iata_code":{"description":"The three-character IATA code for the city","example":"NYC","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_nyc_us","type":"string"},"name":{"description":"The name of the city","example":"New York","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"New York","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"NYC","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"JFK","type":["string","null"]},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"US","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"KJFK","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_jfk_us","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":40.640556,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-73.778519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"John F. Kennedy International Airport","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"America/New_York","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","city","iata_city_code"],"title":"Airport","type":"object"},{"description":"The airport at which the segment is scheduled to arrive"}]},"destination_terminal":{"description":"The terminal at the `destination` airport where the segment is scheduled to arrive","example":"5","type":["string","null"]},"distance":{"description":"The distance of the segment in kilometres","example":"424.2","type":["string","null"]},"duration":{"description":"The duration of the segment, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"seg_00009htYpSCXrwaB9Dn456","type":"string"},"marketing_carrier":{"additionalProperties":false,"description":"The airline selling the tickets for this segment. This may differ from the `operating_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"marketing_carrier_flight_number":{"description":"The flight number assigned by the marketing carrier","example":"1234","type":"string"},"operating_carrier":{"additionalProperties":false,"description":"The airline actually operating this segment. This may differ from the `marketing_carrier` in the case of a \"codeshare\", where one airline sells flights operated by another airline.","properties":{"conditions_of_carriage_url":{"description":"URL to the airline's conditions of carriage.","example":"https://www.britishairways.com/en-gb/information/legal/british-airways/general-conditions-of-carriage","type":["string","null"]},"iata_code":{"description":"The two-character IATA code for the airline. This may be `null` for non-IATA carriers.","example":"BA","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the airline","example":"arl_00001876aqC8c5umZmrRds","type":"string"},"logo_lockup_url":{"description":"Path to a svg of the airline lockup logo.\nA lockup logo is also called a combination logo, in which it combines the logotype and logomark.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-lockup/BA.svg","type":["string","null"]},"logo_symbol_url":{"description":"Path to a svg of the airline logo.\nThis may be `null` if no logo is available.","example":"https://assets.duffel.com/img/airlines/for-light-background/full-color-logo/BA.svg","type":["string","null"]},"name":{"description":"The name of the airline","example":"British Airways","type":"string"}},"title":"Airline","type":"object"},"operating_carrier_flight_number":{"description":"The flight number assigned by the operating carrier. This may not be present, in which case you should display the `marketing_carrier`'s information and the `marketing_carrier_flight_number`, and simply state the name of the `operating_carrier`.","example":"4321","type":["string","null"]},"origin":{"description":"The airport from which the flight is scheduled to depart","properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"origin_terminal":{"description":"The terminal at the `origin` airport from which the segment is scheduled to depart","example":"B","type":["string","null"]},"passengers":{"description":"Additional segment-specific information about the passengers included in the offer (e.g. their baggage allowance and the cabin class they will be travelling in)","items":{"additionalProperties":false,"properties":{"baggages":{"description":"The baggage allowances for the passenger on this segment that were included in the original offer. Any extra baggage items which were booked as services will be listed in the `services` field instead of here.","items":{"properties":{"quantity":{"description":"The number of items of baggage of the specified `type` allowed on the segment. Where no allowance information is available for a particular `type`, no entry will be present.","example":1,"type":"integer"},"type":{"description":"The type of the baggage allowance","enum":["checked","carry_on"],"example":"checked","type":"string"}},"title":"Slice Segment Passenger Baggage","type":"object"},"type":"array"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"cabin_class_marketing_name":{"description":"The name that the marketing carrier uses to market this cabin class","example":"Economy Basic","type":["string","null"]},"passenger_id":{"description":"The identifier for the passenger. You may have specified this ID yourself when creating the offer request, or otherwise, Duffel will have generated its own random ID.","example":"passenger_0","type":"string"},"seat":{"description":"An object containing metadata about the service, like the designator of the \nseat.\n","properties":{"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]}},"title":"Service Metadata for a Seat","type":["object","null"]}},"title":"Order Slice Segment Passenger","type":"object"},"type":"array"},"stops":{"description":"Additional segment-specific information about the stops, if any, included in the segment","items":{"additionalProperties":false,"properties":{"airport":{"allOf":[{"additionalProperties":false,"properties":{"airports":{"description":"The airports associated to a city. This will only be provided where the `type` is `city`.","items":{"properties":{"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":"string"},"iata_city_code":{"description":"The three-character IATA code for the city where the airport is located","example":"LON","type":"string"},"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"required":["iata_code","id","name","iata_country_code","latitude","longitude","icao_code","time_zone","city_name","iata_city_code"],"title":"Airport","type":"object"},"type":["array","null"]},"city":{"description":"The metropolitan area where the airport is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","properties":{"airports":{"description":"List of airports associated with the city","items":{"properties":{"iata_code":{"description":"The three-character IATA code for the airport","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the airport is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":"number"},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":"number"},"name":{"description":"The name of the airport","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":"string"}},"type":"object"},"type":"array"},"iata_code":{"description":"The three-character IATA code for the city","example":"LON","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"cit_lon_gb","type":"string"},"name":{"description":"The name of the city","example":"London","type":"string"}},"title":"City","type":["object","null"]},"city_name":{"description":"The name of the city (or cities separated by a `/`) where the airport is located","example":"London","type":["string","null"]},"iata_city_code":{"description":"The 3-letter IATA code for the city where the place is located. Only present for airports which are registered with IATA as belonging to a [metropolitan area](https://portal.iata.org/faq/articles/en_US/FAQ/How-do-I-create-a-new-Metropolitan-Area).","example":"LON","type":["string","null"]},"iata_code":{"description":"The 3-letter IATA code for the place","example":"LHR","type":"string"},"iata_country_code":{"description":"The [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code for the country where the city is located","example":"GB","format":"ISO 3166-1 alpha-2","type":"string"},"icao_code":{"description":"The four-character ICAO code for the airport","example":"EGLL","type":["string","null"]},"id":{"description":"Duffel's unique identifier for the resource","example":"arp_lhr_gb","type":"string"},"latitude":{"description":"The latitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","example":64.068865,"format":"float","type":["number","null"]},"longitude":{"description":"The longitude position of the airport represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","example":-141.951519,"format":"float","type":["number","null"]},"name":{"description":"The name of the place","example":"Heathrow","type":"string"},"time_zone":{"description":"The time zone of the airport, specified by name from the [tz database](https://en.wikipedia.org/wiki/Tz_database)","example":"Europe/London","type":["string","null"]},"type":{"description":"The type of the place","enum":["airport","city"],"example":"airport","type":"string"}},"required":["iata_city_code","iata_code","id","name","type","iata_country_code","latitude","longitude","icao_code","time_zone","city_name"],"title":"Place","type":"object"},{"description":"The airport at which the stop happens"}]},"arriving_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to arrive, in the airport's timezone (see `destination.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"departing_at":{"description":"The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the stop is scheduled to depart, in the airport's timezone (see `origin.timezone`)","example":"2020-06-13T16:38:02","format":"local-date-time","type":"string","x-validate":"Duffel.Web.NaiveDateTimeValidator"},"duration":{"description":"The duration of the stop, represented as a [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) duration","example":"PT02H26M","type":"string"},"id":{"description":"Duffel's unique identifier for the resource","example":"sto_00009htYpSCXrwaB9Dn456","type":"string"}},"required":["id","airport","arriving_at","departing_at","duration"],"title":"Order Slice Segment Stop","type":"object"},"type":"array"}},"required":["aircraft","arriving_at","departing_at","destination","destination_terminal","distance","duration","id","marketing_carrier","marketing_carrier_flight_number","operating_carrier","origin","origin_terminal","passengers"],"title":"Order Slice Segment","type":"object"},"type":"array"}},"required":["destination_type","destination","origin_type","origin","duration","id","segments","conditions"],"title":"Order Slice","type":"object"},"type":"array"},"synced_at":{"description":"Airlines are always the source of truth for orders. The orders returned in the Duffel API are a view of those orders.\nThis field is the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the order was last synced with the airline.\nIf this datetime is in the last minute you can consider the order up to date.\n","example":"2020-04-11T15:48:11Z","format":"date-time","type":"string"},"tax_amount":{"description":"The amount of tax payable on the order for all the flights booked","example":"30.20","type":["string","null"]},"tax_breakdown":{"description":"The airline's breakdown of `tax_amount` by tax code.\nThe list is empty when the airline gives us no usable itemisation. Treat an empty list as \"no breakdown available\" rather than \"no tax\".\nEach line is in the currency the airline quoted it in, which is given per line. Where Duffel converts the price into your billing currency, that currency differs from `tax_currency`, so the lines cannot be compared with `tax_amount` without converting them.\nEven in a single currency, the lines can add up to less than `tax_amount`: a line the airline quoted without a code, a currency or an amount is dropped, and some airlines itemise only part of the tax they charge. Do not reconcile against it, and do not use it to compute a total.\nA line's `name` is the short label for the charge and its `description` the fuller explanation of what it is and who levies it.\nA line's `name`, `description` and `carrier_imposed` are all nullable, and are `null` for a tax code we cannot yet classify.\n","items":{"properties":{"amount":{"description":"The amount charged under this code, for all passengers.\nA refundable tax appears as a negative amount.\n","example":"26.00","type":"string"},"carrier_imposed":{"description":"Whether the charge is set by the airline itself, rather than by a government or an airport.\nThis is `null` for a code we cannot classify. Do not read `null` as `false`.\n","example":false,"type":["boolean","null"]},"code":{"description":"The tax code the airline used for this charge, as it was quoted to us.\nCodes are mostly the IATA ticket tax codes (for example `GB` for UK Air Passenger Duty), but an airline is free to quote a code that is not in that list.\n","example":"GB","type":"string"},"currency":{"description":"The currency of the `amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nThis is the currency the airline quoted the tax in. Where Duffel converts the price into your billing currency, it will differ from `tax_currency`.\n","example":"GBP","format":"ISO 4217","type":"string"},"description":{"description":"A plain-English description of what the charge is for, written by Duffel.\nThis is `null` for a code we do not yet have a description for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty, an excise duty charged on each passenger departing from a UK airport, banded by distance and cabin.","type":["string","null"]},"name":{"description":"A short label for the charge, written by Duffel: the country that levies it (or the airline, for a charge the airline sets itself) followed by the charge.\nUse it where a line item has to fit beside its amount. This is `null` for a code we do not yet have a name for. It is never the airline's own wording.\n","example":"UK Air Passenger Duty","type":["string","null"]}},"required":["code","amount","currency","name","description","carrier_imposed"],"title":"Tax Breakdown Item","type":"object"},"type":"array"},"tax_currency":{"description":"The currency of the `tax_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency unless you’re using Duffel as an accredited IATA agent, in which case it will be in the currency provided by the airline (which will usually be based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":["string","null"]},"total_amount":{"description":"The total price of the order for all the flights and services booked, including taxes","example":"90.80","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIt will match your organisation's billing currency, with two exceptions. If the order was paid using a card or airline credit, it will be the currency the airline charged in, even if the offer you booked showed your billing currency. If you’re using Duffel as an accredited IATA agent, it will be the currency provided by the airline (usually based on the country where your IATA agency is registered).\n","example":"GBP","format":"ISO 4217","type":"string"},"type":{"description":"The type of this order","enum":["instant","hold"],"example":"instant","type":["string","null"]},"users":{"description":"The `id`s of users that are allowed to manage the order.\n","items":{"example":"icu_00009htyDGjIfajdNBZRlw","type":"string"},"type":"array"},"void_window_ends_at":{"description":"Some paid orders are eligible to be voided, typically within the first 24 hours after payment. An order that is cancelled within this window is eligible for a full refund.\nNote that orders created near to the initial departure date i.e. within 7 days may not be eligible for void.\nThis field is the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) datetime at which the shall no longer be eligible to be void, after which any refunds shall be subject to the conditions on the order.\n","example":"2020-04-11T15:48:11Z","format":"date-time","type":["string","null"],"x-preview":true}},"required":["airline_initiated_changes","base_amount","base_currency","booking_reference","cancellation","cancelled_at","changes","conditions","created_at","documents","id","live_mode","owner","passengers","payment_status","services","slices","tax_amount","tax_currency","total_amount","total_currency","metadata","synced_at","offer_id","void_window_ends_at"],"title":"Order","type":"object"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get Flight Order","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel-flights/get_duffel_flights_apis_v1_duffel_flights_orders_id","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:260e23ed0638f905db1ed5e5016c728948f03b88a6f44012ab78996eadc8b69a","kind":"upstream_success_contract","source":{"content_hash":"sha256:511f8ab55bc3962e9f1545cbabb681ab7a919e977ad3ce06350f75df7ab99487","converter":"scripts/prepare_duffel_order_response.py@1","fetched_at":"2026-10-17T09:28:11.141395+00:00","kind":"manual","owner":"AIsa-team/docs","path_space":"public","policy_revision":"sha256:6c17b3895855713154ad1a54ed5113f8d32f18768ddec3b3285625e3490cb7f4","references":[{"sha256":"1de7905eb073b81eee497c83c34c5820868e413833f82028edd1f3dc822dbd40","url":"https://duffel.com/docs/api/v2/orders"}],"refresh_policy":"manual","response_only":true,"review_period_days":30,"scope":"Response authority only for the exact GET route and passthrough origin/path hashes. No request fields, methods, pricing or execution permission are granted.","source_content_hash":"sha256:8e348b09488042f5713cfb8a21c3121179977b40f381094b2bd8db278ef2fbcd","source_document_sha256":"f0fb7c96ad70801295afd8e4478ae54b2316ec4a0c57bf5795f2bae81652135e","source_file":"openapi/upstream/duffel-flights-official.json","source_revision":"b1f27437a89916e54712987581f9c353748456f7","upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"ae610c6de0adc9fdf6cae52b45a8221f87b88de80f104c881e784fdface5e447","url":"https://duffel.com/docs/api/v2/orders"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"ae610c6de0adc9fdf6cae52b45a8221f87b88de80f104c881e784fdface5e447","x-aisa-revision":{"customer_pricing_ref":"1f7ba90f93fa","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"ad28845e4f7f"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_flights_apis_v1_duffel_flights_orders_id","path":"/apis/v1/duffel/flights/orders/{id}"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}},"/apis/v1/duffel/flights/seat-maps":{"get":{"description":"Seat map per segment for an offer\n\n<!-- aisa-pricing:start -->\nPublished reference price: $0.005 USD per successful request. Account-specific pricing and final settlement may differ.\n<!-- aisa-pricing:end -->","operationId":"get_duffel_seat_maps","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"maximum":200,"minimum":1,"type":"integer"}},{"in":"query","name":"offer_id","required":false,"schema":{"type":"string"}}],"responses":{"2XX":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"description":"Each seat map is for a specific segment","example":{"cabins":[{"aisles":2,"deck":0,"rows":[{"sections":[{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1A","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1A","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1B","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1B","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1C","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1C","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1D","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1D","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1E","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1E","disclosures":[],"name":"","type":"seat"},{"available_services":[],"designator":"1F","disclosures":[],"name":"","type":"seat"},{"available_services":[],"designator":"1G","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1J","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1H","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1K","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1J","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA1K","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"30.00","total_currency":"GBP"}],"designator":"1K","disclosures":[],"name":"","type":"seat"}]}]},{"sections":[{"elements":[{"type":"exit_row"}]},{"elements":[]},{"elements":[{"type":"exit_row"}]}]},{"sections":[{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2A","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2A","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2B","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2B","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2C","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2C","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[],"designator":"2D","disclosures":[],"name":"","type":"seat"},{"available_services":[],"designator":"2E","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2F","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2F","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2G","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2G","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[],"designator":"2H","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2J","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2J","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA2K","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"20.00","total_currency":"GBP"}],"designator":"2K","disclosures":[],"name":"","type":"seat"}]}]},{"sections":[{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3A","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3A","disclosures":[],"name":"","type":"seat"},{"available_services":[],"designator":"3B","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3C","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3C","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3D","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3D","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3E","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3E","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3F","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3F","disclosures":[],"name":"","type":"seat"},{"available_services":[],"designator":"3G","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3H","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3H","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3J","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3J","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA3K","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"3K","disclosures":[],"name":"","type":"seat"}]}]},{"sections":[{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4A","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4A","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4B","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4B","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4C","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4C","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4D","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4D","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4E","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4E","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4F","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4F","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4G","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4G","disclosures":[],"name":"","type":"seat"}]},{"elements":[{"available_services":[],"designator":"4H","disclosures":[],"name":"","type":"seat"},{"available_services":[],"designator":"4J","disclosures":[],"name":"","type":"seat"},{"available_services":[{"id":"ase_00009UhD4ongolulWAAA4K","passenger_id":"pas_00009hj8USM7Ncg31cAAA","total_amount":"10.00","total_currency":"GBP"}],"designator":"4K","disclosures":[],"name":"","type":"seat"}]}]},{"sections":[{"elements":[{"type":"lavatory"}]},{"elements":[]},{"elements":[{"type":"lavatory"}]}]},{"sections":[{"elements":[{"type":"galley"}]},{"elements":[{"type":"galley"}]},{"elements":[{"type":"galley"}]}]}],"wings":{"first_row_index":1,"last_row_index":2}}],"id":"sea_00003hthlsHZ8W4LxXjkzo","segment_id":"seg_00009htYpSCXrwaB9Dn456","slice_id":"sli_00009htYpSCXrwaB9Dn123"},"properties":{"cabins":{"description":"The list of cabins in this seat map.\n\nCabins are ordered by deck from lowest to highest, and then within \neach deck from the front to back of the aircraft.\n","items":{"description":"A cabin is a physical section of an aircraft that passengers travel \nin. The cabin that a passenger travels in will depend on the fare \nthey paid (for example an economy cabin versus a business class cabin).\n","properties":{"aisles":{"description":"The number of aisles in this cabin. \n\nIf this is set to `1`, each row of the cabin is split into two sections.\nIf this is set to `2`, each row of the cabin is split into three sections.\n","example":1,"maximum":2,"minimum":1,"type":"integer"},"cabin_class":{"description":"The cabin class that the passenger will travel in on this segment","enum":["first","business","premium_economy","economy"],"example":"economy","type":["string","null"]},"deck":{"description":"Level 0 is the main deck and level 1 is the upper deck above that, \nwhich is found on some large aircraft.\n","example":0,"maximum":1,"minimum":0,"type":"integer"},"rows":{"description":"A list of rows in this cabin. \n\nRow sections are broken up by aisles. Rows are ordered from front to \nback of the aircraft.\n","items":{"description":"A cabin row has one or more sections, each made up of\nelements.\n\nAn element is something that takes up physical space such as a\nseat or an empty area.\n","properties":{"sections":{"description":"A list of sections.\n\nEach row is divided into sections by one or more aisles.\n","items":{"description":"A section within a row that contains a list of row\nelements. This corresponds to a left, middle, or right\nlengthwise section of the aircraft.\n","properties":{"elements":{"description":"The elements that make up this section","items":{"oneOf":[{"description":"A seat for a passenger. If the `available_services` list is\nempty (which will be represented as an empty list : `[]`),\nthe seat is unavailable.\n\nFor display, all seats should be displayed with the same static width.\n","properties":{"available_services":{"description":"Seats are considered a special kind of service. There\nwill be at most one service per seat per passenger. A\nseat can only be booked for one passenger. If a seat has\nno available services (which will be represented as an\nempty list : `[]`) then it's unavailable.\n","items":{"description":"A bookable seat is a special kind of service. Only one seat can be booked per\npassenger, per segment\n","example":[{"id":"ase_00009UhD4ongolulWd9123","passenger_id":"pas_00009hj8USM7Ncg31cBCL","total_amount":"40.00","total_currency":"GBP"}],"properties":{"id":{"description":"Duffel's unique identifier for the resource","example":"ase_00009UhD4ongolulWd9123","type":"string"},"passenger_id":{"description":"The passenger that this seat is for","example":"pas_00009hj8USM7Ncg31cBCLL","type":"string"},"total_amount":{"description":"The total price of the seat, including taxes","example":"15.00","type":"string"},"total_currency":{"description":"The currency of the `total_amount`, as an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code.\nIf an offer or order is priced with balance, it matches your organisation's billing currency. If it is priced with card or airline credit, it is returned in the currency the airline charges in. If it is priced without payment methods and not using Duffel Content, it is returned in the agency point of sale currency.\n","example":"GBP","format":"ISO 4217","type":"string"}},"required":["id","passenger_id","total_amount","total_currency"],"title":"Seat Service","type":"object"},"type":"array"},"designator":{"description":"The designator used to uniquely identify the seat, usually made up of a \nrow number and a column letter\n","example":"14B","type":"string"},"disclosures":{"description":"Each disclosure is text, in English, provided by the airline that \ndescribes the terms and conditions of this seat. We recommend showing \nthis in your user interface to make sure that customers understand any \nrestrictions and limitations.\n","example":["Do not seat children in exit row seats","Do not seat passengers with special needs in exit row seats"],"items":{"description":"An individual term, condition or restriction for this seat\n","type":"string"},"type":"array"},"name":{"description":"A name which describes the type of seat, which you can display in your \nuser interface to help customers to understand its features\n","example":"Exit row seat","type":["string","null"]},"type":{"description":"The type of this element","enum":["seat"],"example":"seat","type":"string"}},"required":["type","designator","disclosures","available_services"],"title":"Cabin Row Section Seat Element","type":"object"},{"description":"A bassinet is a child's cradle. This element\nwill be aligned with the corresponding seat in\nthe following row.\n\nFor display, this element should have the same width as a\nseat for proper alignment.\n","properties":{"type":{"description":"The type of this element","enum":["bassinet"],"example":"bassinet","type":"string"}},"required":["type"],"title":"Cabin Row Section Bassinet Element","type":"object"},{"description":"An empty space used for padding in some non-standard\nseat arrangements.\n\nFor display, this element should have the same dimensions\nas a seat for proper alignment.\n","properties":{"type":{"description":"The type of this element","enum":["empty"],"example":"empty","type":"string"}},"required":["type"],"title":"Cabin Row Section Empty Element","type":"object"},{"description":"An exit row represents the extra wide space used to reach\naircraft exits, and indicates the existence of an exit\ndoor.\n\nFor display, this element should ideally fill or shrink to\navailable space in a row section. Displaying it with the same\nwidth as seat is also reasonable.\n","properties":{"type":{"description":"The type of this element","enum":["exit_row"],"example":"exit_row","type":"string"}},"required":["type"],"title":"Cabin Row Section Exit Row Element","type":"object"},{"description":"A lavatory for use by passengers.\n\nFor display, this element should ideally fill or shrink to\navailable space in a row section. Displaying it with the same\nwidth as seat is also reasonable.\n","properties":{"type":{"description":"The type of this element","enum":["lavatory"],"example":"lavatory","type":"string"}},"required":["type"],"title":"Cabin Row Section Lavatory Element","type":"object"},{"description":"A galley is the compartment where food is cooked\nor prepared. These are conventionally marked\nwith a teacup symbol.\n\nFor display, this element should ideally fill or shrink to\navailable space in a row section. Displaying it with the\nsame width as seat is also reasonable.\n","properties":{"type":{"description":"The type of this element","enum":["galley"],"example":"galley","type":"string"}},"required":["type"],"title":"Cabin Row Section Galley Element","type":"object"},{"description":"A closet used for storage. These are\nconventionally marked with a clothes hanger\nsymbol.\n\nFor display, this element should ideally fill or shrink to\navailable space in a row section. Displaying it with the\nsame width as seat is also reasonable.\n","properties":{"type":{"description":"The type of this element","enum":["closet"],"example":"closet","type":"string"}},"required":["type"],"title":"Cabin Row Section Closet Element","type":"object"},{"description":"A set of stairs to another deck.\n\nFor display, this element should ideally fill or shrink\nto available space in a row section. Displaying it with\nthe same width as seat is also reasonable.\n","properties":{"type":{"description":"The type of this element","enum":["stairs"],"example":"stairs","type":"string"}},"required":["type"],"title":"Cabin Row Section Stairs Element","type":"object"},{"description":"A seat with restrictions on who can book it.\n\nFor display, this element should ideally fill or shrink\nto available space in a row section. Displaying it with\nthe same width as seat is also reasonable.\n","properties":{"type":{"description":"The type of this element","enum":["restricted_seat_general"],"example":"restricted_seat_general","type":"string"}},"required":["type"],"title":"Cabin Row Section Restricted Seat Element","type":"object"}]},"type":"array"}},"required":["elements"],"title":"Cabin Row Section","type":"object"},"type":"array"}},"required":["sections"],"title":"Seat Map Cabin Row","type":"object"},"type":"array"},"wings":{"description":"Where the wings of the aircraft are in relation to rows in the cabin.\n\nThe numbers correspond to the indices of the first and the last \nrow which are overwing. You can use this to draw a visual \nrepresentation of the wings to help users get a better idea of \nwhat they will see outside their window.\n\nThe indices are 0th-based and are for all rows, not just those that have\nseats.\n\nThis is `null` when no rows of the cabin are overwing.\n","example":{"first_row_index":8,"last_row_index":12},"properties":{"first_row_index":{"description":"The index of the first row which is overwing, starting from \nthe front of the aircraft.\n","example":8,"minimum":0,"type":"integer"},"last_row_index":{"description":"The index of the last row which is overwing, starting from \nthe front of the aircraft.\n","example":12,"minimum":0,"type":"integer"}},"required":["first_row_index","last_row_index"],"title":"Wing Position","type":["object","null"]}},"required":["deck","cabin_class","aisles","rows"],"title":"Seat Map Cabin","type":"object"},"type":"array"},"id":{"description":"Duffel's unique identifier for the resource","example":"sea_00003hthlsHZ8W4LxXjkzo","type":"string"},"segment_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"},"slice_id":{"description":"Duffel's unique identifier for the resource","example":"xxx_00009hthhsUZ8W4LxQgkjo","type":"string"}},"required":["id","slice_id","segment_id","cabins"],"title":"Seat map","type":"object"},"type":"array"},"meta":{"properties":{"after":{"type":["string","null"]},"before":{"type":"string"},"limit":{"type":"number"}},"type":"object"}},"required":["data"],"type":"object"}}},"description":"Successful HTTP response; fixed SDK accepts response.ok."},"default":{"content":{"application/json":{"schema":{}}},"description":"Error response; upstream passthrough responses may use provider formats"}},"summary":"Get Seat Maps","tags":["duffel"],"x-aisa-capabilities":{"idempotency":"Idempotency-Key","max_price":"X-AISA-Max-Price-USD","mpp":false,"mpp_methods":[],"quote":{"header":"X-AISA-Cost-Mode","value":"quote"},"x402":false},"x-aisa-catalog-id":"duffel-flights","x-aisa-category":"duffel","x-aisa-docs-url":"https://aisa.one/docs/api-reference/duffel/get_duffel-flights-seat-maps","x-aisa-pricing":{"cost_contract":"explicit_zero","customer_pricing":"fixed_success","default_request_estimate_usd":0.005,"estimate_source":"profile_seed","evidence_source":"request_snapshot"},"x-aisa-query-policy":{"ignore_undeclared":false,"request_wins":false},"x-aisa-response-passthrough":true,"x-aisa-response-source":{"content_hash":"sha256:d6f131a800ddbbeb69732d36e4e109119364e02614acc2141054cefe2e4563b4","kind":"upstream_success_contract","source":{"authority":"Official HTML structured schemas plus pinned SDK wire envelopes; converted, not downloaded OpenAPI","content_hash":"sha256:40f25643c1c02f9d7ab633800da6018b52ec911228b327a566c02237b8557971","converter":"scripts/import_duffel_flights_reference.py@1+explicit-response-binding@1","fetched_at":"2026-10-09T03:52:59.395307+00:00","kind":"manual","limitations":["No schema types or required fields inferred from examples.","Offer-request create/get alternate view responses remain untyped.","Source declarations do not prove current execution compatibility."],"owner":"AIsa-team/docs","parent_source_hash":"sha256:d875b5ad32404f5d316f916cceb24fb5d3eddfed2ef4dcb1eca324850b752fbf","path_space":"public","policy_revision":"sha256:0659576c6ab1b42473fff235fd4b24a92c4202bcdee0c0a818db2c4ff6672c8f","references":[{"file":"src__types__ClientType.ts","sha256":"3aa0ea34054d294f71deaad9005eba83e841cfb70588ca47b6ba55a9f59161b5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/types/ClientType.ts"},{"file":"src__Client.ts","sha256":"0de07d39cc8dd3faae13561cd2e291e7bcaaf58761433bd35db4d929bc8d6b7b","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/Client.ts"},{"file":"src__booking__OfferRequests__OfferRequests.ts","sha256":"0ba7f0987376f743b3e7ff96170826ee5a644b904818e703ccb3f5b0e8ee22c4","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OfferRequests/OfferRequests.ts"},{"file":"src__booking__Offers__Offers.ts","sha256":"022d6b38a8f299dadb29f37e6c23c44b23df9842b335ba0fab5c7ed1efef29c5","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Offers/Offers.ts"},{"file":"src__booking__Orders__Orders.ts","sha256":"91f5748faac0619fbccb0955156a944507211cfea14df01e323e553138e23a64","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/Orders/Orders.ts"},{"file":"src__booking__OrderChangeRequests__OrderChangeRequests.ts","sha256":"cf299f61571df50113312835148d507b47ec68033e230876be054d93431e0dfe","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChangeRequests/OrderChangeRequests.ts"},{"file":"src__booking__OrderChanges__OrderChanges.ts","sha256":"ba165641b85317525fd8d9f2db61b5fb9072b40177558f26f291797d6adfeb6c","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderChanges/OrderChanges.ts"},{"file":"src__booking__OrderCancellations__OrderCancellations.ts","sha256":"f93f93edb989e4c8162ace0cc40a01f6b77d29fd671db65dfef59354863d5716","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/OrderCancellations/OrderCancellations.ts"},{"file":"src__booking__SeatMaps__SeatMaps.ts","sha256":"07eca0f70081f97688e707bdd7084f8495fb2d3a64bde3d0bc0388bf0ea51b47","url":"https://raw.githubusercontent.com/duffelhq/duffel-api-javascript/ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16/src/booking/SeatMaps/SeatMaps.ts"},{"sha256":"925ddea94ffeccd6d6411a593bec37e76916e5f26d5cb58b9023bc3aea2d534c","url":"https://duffel.com/docs/api/v2/offer-requests"},{"sha256":"5804d1ddaaed52d9ee74c95cd89a402fd4326dfde402c305b6796c95eb2c4d0f","url":"https://duffel.com/docs/api/v2/offers"},{"sha256":"cb3190f72e56f3442e7fb856b49099ba847051a835a4fbbcf9109c39e3cd2b7e","url":"https://duffel.com/docs/api/v2/orders"},{"sha256":"6a5623159b6508cbc6b748d0303df43243e4940fa0934028233aadd3dba654b0","url":"https://duffel.com/docs/api/v2/order-change-requests"},{"sha256":"77ac67f9b74b019703de54f6597b0529955bbb1aa13c35c6759ec23a025f0b29","url":"https://duffel.com/docs/api/v2/order-changes"},{"sha256":"0b1f73a9f8becf1665a1e591fce9001bd4c6c11c891c7b39b90e01dcc6f46d7e","url":"https://duffel.com/docs/api/v2/order-cancellations"},{"sha256":"1124c3c358e1cb250c56097e44c3b8e6c1c75dea847557761c0062dd960ff606","url":"https://duffel.com/docs/api/v2/seat-maps"}],"refresh_policy":"manual","request_body_required_basis":"All selected create methods have required SDK payload arguments; Client.request wraps payload in data.","response_only":true,"response_status_basis":"Client.request accepts response.ok; no exact success status inferred.","review_period_days":30,"sdk_revision":"ebcf6c483b0ec7d0290e9e020e261cf5d15b7d16","skipped_operations":[{"operation":"update-offer-passenger-by-id","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"price-offer","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-upsell-offers","reason":"outside reviewed operation bindings","resource":"offers"},{"operation":"get-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"update-order-by-id","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-orders","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"create-order-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"price-order","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-available-services","reason":"outside reviewed operation bindings","resource":"orders"},{"operation":"get-order-change-by-id","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"confirm-order-change","reason":"outside reviewed operation bindings","resource":"order-changes"},{"operation":"get-order-cancellations","reason":"outside reviewed operation bindings","resource":"order-cancellations"}],"upstream_origin_sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","upstream_path_sha256":"fcb50a49f281572f693bb2b81c5ecb5a16d46951b9f29eb8c1c2413ee4c8d269","url":"https://duffel.com/docs/api/v2/offer-requests"}},"x-aisa-response-upstream-origin-sha256":"e90e5f2b42f9d68931f2f9a9cbbdac739de18e6033ddaf5cd3a7972494a0c8c9","x-aisa-response-upstream-path-sha256":"fcb50a49f281572f693bb2b81c5ecb5a16d46951b9f29eb8c1c2413ee4c8d269","x-aisa-revision":{"customer_pricing_ref":"35180fe226fc","plan_policy_version":"e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb","profile_ref":"957b82ce7ce5"},"x-aisa-runtime-operation":{"method":"GET","operation_id":"get_duffel_seat_maps","path":"/apis/v1/duffel/flights/seat-maps"},"x-aisa-status":"enabled","x-aisa-validation":"runtime"}}},"security":[{"bearerAuth":[]}],"servers":[{"url":"https://api.aisa.one"}]}
