A collection of endpoints which can be used to search the catalog for relevant activities.
Musement API (3.5.0)
For merchant or affiliate partners wishing to use the Musement API.
See the Authentication section for details on how to authenticate with the API.
GET /activities/{activityUuid}/dates/{date}- Added
availability,max_buyandmin_buyproperties to timeslots. For more info, check out our guide
- Added
A partner's application value, used for analyzing API usage and to identify areas of improvement.
Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.
An invalid X-Musement-Market value will return a 400 status code response.
The API version to use for the request.
When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.
The exact request body can vary, depending on the response of the GET /carts/{cartUuid}/customer/schema endpoint.
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/customer
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}/customer
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}/customer
- curl
- C#
- Node.js
curl -i -X PUT \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/customer' \
-H 'Content-Type: application/json' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Market: us' \
-H 'X-Musement-Version: 3.4.0' \
-d '{
"email": "api-distribution@tui.com",
"extra_customer_data": {
"1714c6a7-2046-11e7-9cc9-06a7e332783f": {
"phone_number": 1234567890
}
},
"firstname": "John",
"lastname": "Smith"
}'Customer
Extra customer data, based on the customer's cart items.
Whether the customer wants to receive newsletters from third parties or not.
Whether the customer wants to receive newsletters from Musement or not.
Whether the customer wants to receive newsletters for related activities or not.
{ "email": "api-distribution@tui.com", "events_related_newsletter": "NO", "extra_customer_data": { "1223356a-69a0-4c45-bf51-bd903820d210": { … } }, "firstname": "John", "lastname": "Smith", "musement_newsletter": "NO", "thirdparty_newsletter": "NO" }
Request
Before creating an order, customer information must be added to cart. The exact information to provide can vary, depending on the selected activity products.
The response follows the JSON Schema Specification to provide a schema of questions and extra customer data (if any) for the customer to answer in order to complete a reservation.
The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.
A partner's application value, used for analyzing API usage and to identify areas of improvement.
Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.
An invalid X-Musement-Market value will return a 400 status code response.
The API version to use for the request.
When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/customer/schema
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}/customer/schema
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}/customer/schema
- curl
- C#
- Node.js
curl -i -X GET \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/customer/schema' \
-H 'Accept-Language: en-US' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Market: us' \
-H 'X-Musement-Version: 3.4.0'Customer questions
The type of item:
cart_customer_guest: Customer info for cartcart_item_participants_info: Participant info for cart itemform: Extra customer dataparticipant: Participant info
{ "title": "cart_customer_guest", "type": "object", "properties": { "property1": { … }, "property2": { … }, "address": { … }, "allow_profiling": { … }, "city": { … }, "email": { … }, "events_related_newsletter": { … }, "firstname": { … }, "lastname": { … }, "musement_newsletter": { … }, "tax_id": { … }, "thirdparty_newsletter": { … }, "zipcode": { … } }, "required": [ "allow_profiling", "email", "events_related_newsletter", "firstname", "lastname", "musement_newsletter", "thirdparty_newsletter" ] }
A partner's application value, used for analyzing API usage and to identify areas of improvement.
The API version to use for the request.
When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/items/{cartItemUuid}/participants
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}/items/{cartItemUuid}/participants
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}/items/{cartItemUuid}/participants
- curl
- C#
- Node.js
curl -i -X GET \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/items/{cartItemUuid}/participants' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Version: 3.4.0'[ { "date_of_birth": "1985-11-04", "nationality": "Italy" } ]