API

Sections

Theme switcher

/marketing_carriers/{marketing_carrier_id}/booking/schema

This endpoint informs you which parameters are mandatory for a certain carrier and must be passed in /reservations/confirm and /bookings/create request. We recommend calling this API on a weekly basis to detect changes and add them to your system.

For details about how this endpoint fits into the flow, check the Preparing Metadata and Confirming Reservation step.

Header Parameters

api-keystring Required

Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.

Path Parameters

marketing_carrier_idstring Required

Search for a specific carrier code. Use the value retrieved from /marketing_carriers response. Reference value: TREN.

Response

200 (schema details)
Object
Successful response with marketing carrier schema

Response Attributes

dataobject

Show child attributes

jsonapiobject

Show child attributes

400 (invalid carrier)
Object
Error response: carrier invalid or missing
Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?

View as Markdown

Ask an AI

Open in ChatGPTOpen in ClaudeOpen in Perplexity

Code with AI

Open in Copilot