Partner API
- Optional module: Partner Feeds & Integrations
The Partner API (page title Partner Availability API) is for agency partners whose own website or system should show your departures live, instead of importing a file. It answers with your published departures, the cabins still available and their prices. It is read-only: nothing a partner does through it can create or change a booking.
It belongs to the Partner Feeds & Integrations module, on by default (see Optional modules). It is also the Partner API tab of Feeds & Integrations.
Open the API to a partner
Section titled “Open the API to a partner”-
Click Enable API. If there is no token yet, one is generated for you.
-
Copy the Access token.
-
Send your partner the token and the instructions under How to use it — send this to your partner: the address to call, how to pass the token, the optional filters and an example of the answer.
The page also explains to your partner how to read the prices: the price per person in a shared cabin, the price for one guest alone in the cabin, and the lowest price on the departure.
Change or withdraw access
Section titled “Change or withdraw access”- Regenerate creates a new token. The old one stops working at once, so send the new one to every partner who uses it.
- Revoke deletes the token: every call is refused until you generate a new one.
- Disable API closes the API for everyone. The token is kept for when you enable it again.
