Skip to main content
POST
/
connect
/
v1
/
connections
/
{connectionId}
/
flights
/
orders
Book a flight (create order)
curl --request POST \
  --url https://api.voyant.travel/connect/v1/connections/{connectionId}/flights/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "offerId": "<string>",
  "passengers": [
    {}
  ],
  "contact": {}
}
'
{}

Authorizations

Authorization
string
header
required

Provide either a static platform API key or an OAuth2 access token (from /connect/v1/oauth/token) as Authorization: Bearer <token>. Scopes are connect:* (e.g. connect:bookings:write).

Path Parameters

connectionId
string
required

Connection id.

Body

application/json
offerId
string
required
passengers
object[]
required
contact
object

Response

201 - application/json

Created order.

Provider-shaped flight order.