Gordiansoftware Basket API
Manage the basket items of a trip.
Manage the basket items of a trip.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/gordiansoftware:gordiansoftware-basket-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: '2.2'
title: Gordian Flights & Ancillaries Basket API
description: API for selling flights and related ancillaries.
contact:
name: Gordian Software
url: https://www.gordiansoftware.com
email: partner@gordiansoftware.com
servers:
- url: https://api.gordiansoftware.com
description: Production
tags:
- name: Basket
description: Manage the basket items of a trip.
paths:
/v2.2/trip/{trip_id}/basket:
parameters:
- $ref: '#/components/parameters/tripIdParam'
put:
summary: Update the basket
description: Replace the contents of the basket with another set of products.
operationId: update_basket
tags:
- Basket
security:
- api_key: []
- trip_access_token: []
requestBody:
description: The product selections to add to the basket.
content:
application/json:
schema:
type: array
items:
type: object
description: Assigns a product to the basket. `passenger_id` is optional at the schema level but is required for passenger-owned products (e.g. seat, bag, lounge_access and seating_choice products); omitting it for those returns a 400 invalid_product error.
required:
- product_id
properties:
product_id:
type: string
description: The ID of the product.
example: a7879f43-1c75-4a6e-b662-df42571a4127
passenger_id:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
quantity:
type: integer
description: Quantity of the product. It defaults to 1.
default: 1
minimum: 1
markup:
type: object
required:
- amount
- decimal_places
- currency
properties:
amount:
type: integer
description: The desired markup amount in the most granular form of the currency. For example, $1 USD is 100 for 100 cents.
decimal_places:
type: integer
description: The number of decimal places in the total amount. For example, for USD, it is 2.
currency:
$ref: '#/paths/~1v2.2~1trip/post/requestBody/content/application~1json/schema/properties/currency'
exact_seat:
type: object
description: For seating choice exact seat products, include this exact seat object in the add to basket request.
required:
- row
- column
properties:
row:
type: integer
description: The desired exact seat row.
column:
type: string
description: The desired exact seat column.
examples:
multiple_bags:
value:
- product_id: 3413ac45-b46f-4f26-800b-ef5f5494ad6a
passenger_id: e18d8077-b767-4077-9c2a-4fe573736b4c
quantity: 2
- product_id: 1240aa55-0292-4a57-81ff-cc98956e0092
passenger_id: 4c8cc254-064b-4995-a981-cb07da165abf
quantity: 1
seating_choice:
value:
- passenger_id: ef753824-f3e9-48a7-bde9-2e5b76d8c4fc
product_id: e33a3349-67cd-4782-9c1d-5516d39de230
exact_seat:
row: 12
column: A
- passenger_id: f6052a21-0288-4482-b7c5-525dba21e998
product_id: e33a3349-67cd-4782-9c1d-5516d39de230
exact_seat:
row: 13
column: A
lounge_access:
value:
- product_id: 135cef26-4066-45a3-a022-ac0aecec517c
passenger_id: 69b09a56-9cf1-4b5e-a45e-01dd6ceb6ad8
quantity: 1
responses:
'200':
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
default:
$ref: '#/components/responses/genericError'
/v2.2/trip/{trip_id}/basket/check:
parameters:
- $ref: '#/components/parameters/tripIdParam'
post:
summary: Check basket
description: 'Initiate a fare check for all the products in a basket.
A fare check will re-confirm that items in the basket are still available, and update their validity status if not. It will also check if the price has changed for the items since they were originally added to the basket.
This can be used if the validity of the items in the basket has expired. It''s particularly useful if there''s been a significant amount of time since the items were added to the basket.
Calling this on an empty basket returns 200 with status queued, but no fare check is performed.'
operationId: start_basket_check
tags:
- Basket
security:
- api_key: []
- trip_access_token: []
responses:
'200':
description: Start a trip status check.
content:
application/json:
schema:
$ref: '#/paths/~1v2.2~1trip~1{trip_id}~1ticket~1{ticket_id}~1request_airline_refund/post/responses/200/content/application~1json/schema'
default:
$ref: '#/components/responses/genericError'
components:
parameters:
tripIdParam:
name: trip_id
in: path
required: true
description: The ID of the trip, which you get from the response of creating a trip.
schema:
type: string
responses:
genericError:
description: Generic error.
content:
application/json:
schema:
description: Generic error.
type: object
properties:
errors:
type: array
items:
type: object
required:
- title
- description
properties:
title:
description: Name of the error.
description:
description: Explanation of the error.
securitySchemes:
api_key:
type: http
scheme: basic
description: 'For server-to-server calls, send your API key as the username and a *blank* password. For example, `curl -u $API_KEY: https://api.gordiansoftware.com/...`'
trip_access_token:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Obtained from the [`POST /v2.2/trip`](#operation/create_trip) call. Send the `trip_access_token` in the header of client-to-server calls, that is, `Authorization: Bearer {trip_access_token}`'
trip_creation_token:
type: http
scheme: bearer
bearerFormat: JWT
description: 'Obtained from the [`POST /v2.2/authorize`](#operation/authorizeClient) call. In client-to-server calls, send the `trip_creation_token` in the header of the [POST /trip](#operation/create_trip) call to create a trip, that is, `Authorization: Bearer {trip_creation_token}`'
x-provenance:
method: searched
source: https://docs.gordiansoftware.com/reference
harvested: '2026-12-02'
tool: harvest-readme-openapi.py
note: Assembled verbatim from the OpenAPI definition ReadMe embeds in each operation page of the provider's developer portal; paths and components merged by API title, nothing authored.
assembled_from:
- https://docs.gordiansoftware.com/reference/authorizeclient-1.md
- https://docs.gordiansoftware.com/reference/create_callback_subscription-1.md
- https://docs.gordiansoftware.com/reference/create_search-1.md
- https://docs.gordiansoftware.com/reference/createairlinerefundrequest-1.md
- https://docs.gordiansoftware.com/reference/deactivate_callback_subscription-1.md
- https://docs.gordiansoftware.com/reference/get_callback_subscription-1.md
- https://docs.gordiansoftware.com/reference/get_cancellation_amount-1.md
- https://docs.gordiansoftware.com/reference/list_callback_subscriptions-1.md
- https://docs.gordiansoftware.com/reference/productdetails-1.md
- https://docs.gordiansoftware.com/reference/refresh_trip_access_token-1.md
- https://docs.gordiansoftware.com/reference/sandboxissuerefund.md
- https://docs.gordiansoftware.com/reference/start_basket_check-1.md
- https://docs.gordiansoftware.com/reference/start_cancellation_check-1.md
merge:
pages: 13
deduped: 63
conflicts_kept_first: 0