This guide walks you through the end-to-end flow for retrieving and booking third-party inventory (TPI) rates using the Demand API.
TPI rates are accommodation rates facilitated by third-party suppliers. They can be available as commissionable Sell rates or non-commissionable Net rates, depending on your account setup.
This guide covers the (Search, look and book) flow that includes shared search, availability, preview and booking flow. Commercial eligibility, Affiliate ID (AID), payment and distribution requirements differ by rate type.
See the Sell rates guide or Net rates guide for those requirements.
Make sure that:
Checklist | ||
|---|---|---|
| ☑ | Your account is enabled for the TPI rate type you want to retrieve. | |
| ☑ | You use the correct AID for that rate type:
| |
| ☑ | Your integration supports the payment timing and payment method required for the selected rate. | |
| ☑ | Your TPI booking flow supports one room per booking. | |
| ☑ | Do not try to combine TPI rates with Booking.com-sourced rates in one order. | |
| ☑ | Use Demand API v3.1 or later. This guide is aligned to v3.3. |
- Search for eligible properties with accommodations/search.
- Retrieve current availability, prices and policies with accommodations/availability.
- Display the selected rate and its terms to the traveller.
- Preview the booking with orders/preview.
- Create the order with orders/create, using the order token and booking details returned by the preview.
- Show the booking confirmation details returned by orders/create and use the order details endpoint for post-booking updates.
You can also use a search, look and redirect flow: display eligible rates and send travellers to Booking.com to complete their booking. See the Search, look and redirect integration guide.
→ Call accommodations/search. For TPI, use a single-room search and request the products extra so that the response includes product-level information.
The search filters.payment object supports filtering by online payment and whether a credit card is required.
The pay_online filter is broader than pay_online_now: inspect each product’s payment timings and select only a rate that supports pay_online_now for TPI booking.
Example search request:
{
"booker": {
"country": "nl",
"platform": "desktop"
},
"checkin": "2026-12-15",
"checkout": "2026-12-18",
"city": -2140479,
"extras": [
"products"
],
"filters": {
"payment": {
"credit_card_required": true,
"timing": "pay_online"
}
},
"guests": {
"number_of_adults": 2,
"number_of_rooms": 1
}
}- For Net rates - Use the dedicated Affiliate ID provided for your TPI integration in the API calls (Using your regular Affiliate ID may result in authentication errors)
- For Sell rates - Use your regular Affiliate ID in the endpoint calls.
The v3.3 response identifies inventory source and rate type in the product’s inventory object:
inventory.third_party: trueindicates that a third-party supplier facilitates the rate.inventory.type: sellidentifies a commissionable Sell rate.inventory.type: netidentifies a non-commissionable Net rate.
A TPI Sell rate has both third_party: true and type: sell. A TPI Net rate has both third_party: true and type: net.
Do not use a tpi- prefix in the product ID as the identifier.
Check the inventory fields instead. Also check policies.payment.timings for the timing supported by the selected product.
{
"id": "sample-product-id",
"inventory": {
"third_party": true,
"type": "sell"
},
"policies": {
"payment": {
"prepayment_required": true,
"timings": [
"pay_online_now"
]
}
}
}The url and deep_link_url fields may be returned in search and availability responses, at accommodation level, not for individual products. Do not expect a separate URL for each TPI product.
→ Use the accommodations/availability with the accommodation ID and the relevant booker, dates and guest details from the search. This retrieves current product availability, prices and policies.
Example availability request:
{
"accommodations": [
10004
],
"booker": {
"country": "nl",
"platform": "desktop"
},
"checkin": "2026-12-15",
"checkout": "2026-12-18",
"filters": {
"payment": {
"timing": "pay_online"
}
},
"guests": {
"number_of_adults": 2,
"number_of_rooms": 1
}
}In the availability response, inspect inventory and policies.payment.timings again.
Availability and payment terms can change, so use the product details returned by the availability response when presenting the rate and preparing the order creation.
The availability response may include best_available_price for TPI Net rates when the account setting show_best_available_price_for_net_rates is enabled for your account.
Refer to the Net rates guide for more details about the best_available_price field.
Example availability product fragment:
{
"id": "sample-product-id",
"inventory": {
"third_party": true,
"type": "net"
},
"policies": {
"payment": {
"prepayment_required": true,
"timings": [
"pay_online_now"
]
}
},
"price": {
"total": {
"accommodation_currency": 47.33,
"booker_currency": 47.33
}
},
"best_available_price": {
"total": 52.44
}
}The best_available_price value is illustrative and conditional. Its absence does not mean that a rate is not Net. Follow the rate’s returned price, currency and policies when displaying it.
The accommodations/availability response can include inventory.third_party_supplier_id for a product facilitated by a third-party supplier. This field may be absent if supplier information is unavailable.
Example product fragment:
{
"inventory": {
"third_party": true,
"type": "sell",
"third_party_supplier_id": 101
}
}- To retrieve supplier details, call accommodations/third-party-suppliers with an empty request body.
- The response contains the supplier list.
Example of third-party suppliers endpoint response:
{
"request_id": "0123456789abcdef0123456789abcdef",
"data": [
{
"id": 101,
"name": "Example Supplier",
"company_address": "123 Example Street, 1000 Amsterdam, Netherlands"
}
]
}Match the product’s inventory.third_party_supplier_id to a supplier’s id to retrieve its name and, when available, company address.
Use the supplier ID to enrich your product or supplier information. Continue to use the selected product ID for the booking flow.
The supplier ID is not required to preview or create the order. If it is absent from the availability response, continue using the product details returned by availability.
Present the rate details that travellers need to compare and make a decision. These include:
- The total and displayed price, including applicable charges.
- Room occupancy and meal plan.
- Cancellation terms.
- Payment timing and any payment requirements.
For Net rates, distribute offers only through channels approved for your account under the Rate Distribution Framework.
On Booking.com’s own platforms, eligible TPI rates may be labelled “Partner Offer”.
Do not use “Third-party inventory” or “Partner Offer” as a label in your own interface. Agree the marketing label for your platform with your Account Manager before launch.

→ Call orders/preview to validate the selected accommodation products and retrieve final booking details, including the price, policies, payment schedule and order_token.
For accommodation previews, provide the accommodation ID, booker details, dates, selected product IDs and allocation for each room. Use the product ID returned for the selected rate.
Example orders/preview request:
{
"currency": "EUR",
"accommodation": {
"id": 10004,
"booker": {
"country": "nl",
"platform": "desktop",
"travel_purpose": "leisure",
"user_groups": [
"authenticated"
]
},
"checkin": "2026-12-15",
"checkout": "2026-12-18",
"products": [
{
"id": "sample-product-id",
"allocation": {
"number_of_adults": 2,
"children": []
}
}
]
}
}The order_token returned by orders/preview expires 15 minutes after it is issued. Use it to create the order before it expires.
See the orders/preview API reference for the complete request and response schema.
→ Call orders/create with the order_token, the selected product details returned by the preview, booker details, and the selected product ID used in the accommodation request.
Use the payment method supported for the selected rate and your account:
- Net rates require a VCC.
- Sell rates support credit cards and/or VCCs, depending on your account configuration.
- Use the payment timing returned by orders/preview. For TPI rates, the supported timing is
pay_online_now.
In the orders/create schema, VCC details are supplied in the card object and the payment method is card. Follow the payment requirements in the orders/create API reference.
A successful accommodation order response can include the order ID, accommodation reservation ID, pincode, payment receipt URL and TPI-specific check-in and confirmation numbers.
TPI fields are returned under accommodation.third_party_inventory when available.
Example orders/create response:
{
"request_id": "0123456789abcdef0123456789abcdef",
"data": {
"order": "sample-order-id",
"accommodation": {
"pincode": "0000",
"reservation": "12345678",
"third_party_inventory": {
"checkin_number": "123456789",
"confirmation_number": "12345678912345678912"
}
},
"payment": {
"receipt_url": "https://example.com/receipt"
}
}
}Note: The receipt_url is returned only when payment.include_receipt is set to true in the request (and a URL is available).
| order |
|
| pincode |
|
| reservation |
|
| checkin_number |
|
| confirmation_number |
|
Display the confirmation information returned by orders/create to the traveller.
For TPI bookings, show the checkin_number and confirmation_number when they are returned. The confirmation number is used together with the pincode to verify the booking and support enquiries.

| Area | Recommendation |
|---|---|
| AID | Use your regular AID for Sell rates and your dedicated Net rates AID for Net rates. |
| Rate identification | Check both inventory.third_party and inventory.type. Do not rely on a product ID prefix or the rate type alone. |
| Payment timing | The search filter pay_online can match more than pay_online_now. Check the selected product’s policies.payment.timings and use a timing supported for TPI. |
| Price and policies | Use the latest availability response and call orders/preview before creating the order. |
| TPI Net price comparison | Use best_available_price only when it is returned. Its availability depends on the show_best_available_price_for_net_rates setting. |
| Confirmation | Show TPI check-in and confirmation numbers when orders/create returns them. Retrieve current order details before check-in. |
If TPI rates are not returned in your search or availability requests, this may be due to:
| Issue | Possible cause | How to resolve |
|---|---|---|
| No TPI rates are returned | Your account may not be enabled, the request may use the wrong AID, or no eligible rate may match the search criteria. | Confirm your onboarding and AID, use a single-room search, request extras: ["products"], and review the search criteria. |
| A rate is misidentified as TPI | The integration may be relying on the product ID prefix or checking only inventory.type. | Check that inventory.third_party is true and inspect inventory.type for sell or net. |
| The rate does not support the expected payment timing | The search filter uses pay_online, which may return products with different online payment timings. | Check policies.payment.timings for the selected product and proceed only with a timing supported for that TPI rate. |
best_available_price is missing | The show_best_available_price_for_net_rates setting may not be enabled for your account. | Ask your Account Manager whether the setting is enabled. Do not treat the field’s absence as evidence that the rate is not Net. |
| Booking fails with a payment error | The payment method or timing may not meet the requirements for the selected rate or account. | Check the preview response and your account’s payment configuration. See the payment errors guide. |
| Booking fails after preview | The order_token may have expired, or the create request may not match the selected product and payment details from the preview. | Preview the booking again and create the order with the new token and matching details. |
Use orders/details/accommodations to retrieve up-to-date accommodation booking details. For TPI bookings, check the current check-in number before the traveller arrives because supplier updates can change it.
TPI bookings can be cancelled through orders/cancel, subject to the booking’s cancellation terms and applicable TPI restrictions. TPI bookings cannot be modified.
For reporting, reconciliation and cancellation guidance, see the TPI post-booking and reporting guide.
Learn more about how TPI works across different business models:
Sell rates guide
Learn how commissionable TPI Sell rates work and how to retrieve and book them.
Read the guide
Net rates guide
Learn about Net rate eligibility, distribution requirements and booking.
Read the guide