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
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.
A valid currency code from the /currencies endpoint. Default value may vary depending on the X-Musement-Market header value.
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 request can be an empty object: {}
Tickets not already in the cart will be added. Existing tickets with a different quantity will be updated to match the submitted quantity.
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}
- curl
- C#
- Node.js
curl -i -X PATCH \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}?affiliate=string' \
-H 'Accept-Language: en-US' \
-H 'Content-Type: application/json' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Currency: USD' \
-H 'X-Musement-Market: us' \
-H 'X-Musement-Version: 3.4.0' \
-d '{
"customer": {
"email": "user@example.com",
"firstname": "string",
"lastname": "string"
},
"tickets": [
{
"product": {
"type": "musement",
"id": "string"
},
"quantity": 1
}
]
}'Cart
The cart's customer info.
Discount info for the cart if a promo code has been applied.
The sum of every product's original_retail_price property value multiplied by the corresponding cart item's quantity.
The sum of every product's original_retail_price_without_service_fee property value multiplied by the corresponding cart item's quantity.
This property defines which payment gateway should be used for partners following the split payment flow.
This property is the final price for customers. It is the sum of every cart item's total_price property value minus the cart's discount value.
The sum of every cart item's total_price_without_service_fee property value minus the cart's discount value.
The sum of every product's service_fee property value.
The sum of:
- The cart's
discountproperty - Every product's
discount_amountproperty value multiplied by the corresponding cart item'squantity.
{ "customer": { "email": "api-distribution@tui.com", "events_related_newsletter": "NO", "extra_customer_data": { … }, "firstname": "John", "lastname": "Smith", "musement_newsletter": "NO", "thirdparty_newsletter": "NO" }, "discount": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "full_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "full_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "items": [ { … } ], "preferred_payment_gateway": "ADYEN", "promo_code": { "code": "string" }, "retail_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "retail_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "total_discount": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f" }
Request
Replace any existing customer info and/or tickets for the specified cart.
This endpoint has been replaced by multiple endpoints:
- To add tickets to cart, use
POST /carts/{cartUuid}/items. - To remove tickets from cart, use
DELETE /carts/{cartUuid}/items/{cartItemUuid}. - To update customer info and extra customer data, use
PUT /carts/{cartUuid}/customer. - To update participant info, use
PUT /carts/{cartUuid}/items/{cartItemUuid}/participants.
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.
A valid currency code from the /currencies endpoint. Default value may vary depending on the X-Musement-Market header value.
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.
It is possible to remove items from cart by excluding the tickets property in the request.
However, customer info must always be part of the request.
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}
- curl
- C#
- Node.js
curl -i -X PUT \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}' \
-H 'Accept-Language: en-US' \
-H 'Content-Type: application/json' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Currency: USD' \
-H 'X-Musement-Market: us' \
-H 'X-Musement-Version: 3.4.0' \
-d '{
"customer": {
"email": "user@example.com",
"firstname": "string",
"lastname": "string"
},
"tickets": [
{
"product": {
"type": "musement",
"id": "string"
},
"quantity": 1
}
]
}'Cart
The cart's customer info.
Discount info for the cart if a promo code has been applied.
The sum of every product's original_retail_price property value multiplied by the corresponding cart item's quantity.
The sum of every product's original_retail_price_without_service_fee property value multiplied by the corresponding cart item's quantity.
This property defines which payment gateway should be used for partners following the split payment flow.
This property is the final price for customers. It is the sum of every cart item's total_price property value minus the cart's discount value.
The sum of every cart item's total_price_without_service_fee property value minus the cart's discount value.
The sum of every product's service_fee property value.
The sum of:
- The cart's
discountproperty - Every product's
discount_amountproperty value multiplied by the corresponding cart item'squantity.
{ "customer": { "email": "api-distribution@tui.com", "events_related_newsletter": "NO", "extra_customer_data": { … }, "firstname": "John", "lastname": "Smith", "musement_newsletter": "NO", "thirdparty_newsletter": "NO" }, "discount": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "full_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "full_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "items": [ { … } ], "preferred_payment_gateway": "ADYEN", "promo_code": { "code": "string" }, "retail_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "retail_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "total_discount": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f" }
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.
A valid currency code from the /currencies endpoint. Default value may vary depending on the X-Musement-Market header value.
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}/tickets
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}/tickets
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}/tickets
- curl
- C#
- Node.js
curl -i -X POST \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/tickets' \
-H 'Accept-Language: en-US' \
-H 'Content-Type: application/json' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Currency: USD' \
-H 'X-Musement-Market: us' \
-H 'X-Musement-Version: 3.4.0' \
-d '{
"tickets": [
{
"product": {
"type": "musement",
"id": "4445092627"
},
"quantity": 2
}
]
}'Cart
The cart's customer info.
Discount info for the cart if a promo code has been applied.
The sum of every product's original_retail_price property value multiplied by the corresponding cart item's quantity.
The sum of every product's original_retail_price_without_service_fee property value multiplied by the corresponding cart item's quantity.
This property defines which payment gateway should be used for partners following the split payment flow.
This property is the final price for customers. It is the sum of every cart item's total_price property value minus the cart's discount value.
The sum of every cart item's total_price_without_service_fee property value minus the cart's discount value.
The sum of every product's service_fee property value.
The sum of:
- The cart's
discountproperty - Every product's
discount_amountproperty value multiplied by the corresponding cart item'squantity.
{ "customer": { "email": "api-distribution@tui.com", "events_related_newsletter": "NO", "extra_customer_data": { … }, "firstname": "John", "lastname": "Smith", "musement_newsletter": "NO", "thirdparty_newsletter": "NO" }, "discount": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "full_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "full_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "items": [ { … } ], "preferred_payment_gateway": "ADYEN", "promo_code": { "code": "string" }, "retail_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "retail_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "total_discount": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f" }