Hurtigruten Partner API
Important
Preview version : The documentation and models are in preview at the moment and subject to change. Please explore and provide feedback.
The Hurtigruten Partner API provides access to Hurtigruten booking, availability, pricing and content describing Hurtigruten’s offerings, ships, cabins, excursions and ports.
Note
Please note that this version of the Hurtigruten Partner API only covers expedition sailings.
Getting Started
Warning
This section is under active development. It may change at any time.
Environments
We maintain a staging environment which you can use to test, play, and develop against. The staging environment behaves identically to the production environment, so when you're ready to make the switch, you need only switch the base URL.
Staging: https://staging.partner.hurtigruten.com/api
Production: https://partner.hurtigruten.com/api
Authentication
As part of your onboarding to the API, you would have been provisioned a clientId
and a clientSecret
.
You use these credentials to obtain a bearer token, which lets you access the Partner API.
Staging: https://b2b-portal-staging.eu.auth0.com/oauth/token
Production: https://b2b-portal-production.eu.auth0.com/oauth/token
curl --request POST \
--url https://b2b-portal-staging.eu.auth0.com/oauth/token \
--header 'content-type: application/json' \
--data '{"client_id":"{:yourClientId}","client_secret":"{:yourClientSecret}","audience":"https://staging.partner.hurtigruten.com/api","grant_type":"client_credentials"}'
You then attach your bearer token in the header of your requests to the Partner API
curl --location 'https://staging.partner.hurtigruten.com/api/healthCheck' \
--header 'Authorization: Bearer "{:yourBearerToken}"'
Inventory API
With the Hurtigruten Inventory API you can:
- Get package data files
- Get reference data files
Booking API
With the Hurtigruten Booking API you can:
- Search for availability
- Get updated prices
- Create bookings
- Query previously made bookings
- Take payment