Skip to main content

ProviderContext

Identifies the provider and the offer or booking.

providerstringrequired

Provider id: the offer's provider, unchanged (case-insensitive).

Example: provider_a
rate_keystring | nullnullable

The offer's rate_key. Recommended for recheck and book.

Example: d320deaaed65343ed2a5b8fac337a7dd
search_idstring | nullnullable

Not needed.

Example: null
offer_tokenstring | nullnullable

Recheck: the offer's offer_token. Book: the recheck response's offer_token. Required for recheck and book; not used by booking-details and cancel.

Example: ot1.gAAAAAB...opaque-offer-token...(about 1 kB; trimmed in this example)
ProviderContext
{
"provider": "provider_a",
"rate_key": "d320deaaed65343ed2a5b8fac337a7dd",
"search_id": null,
"offer_token": "ot1.gAAAAAB...opaque-offer-token...(about 1 kB; trimmed in this example)"
}