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.
If customer info is not available at this stage, the request can be an empty object: {}
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts
- Production serverhttps://api.musement.com/api/v3/carts
- curl
- C#
- Node.js
curl -i -X POST \
https://partner-api.musement.com/_mock/reference/openapi/carts \
-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 '{}'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
Returns a cart.
Carts without an order are automatically removed after three months.
Once the cart is connected to a closed order, the cart can only be viewed when the X-Musement-Currency header value matches the cart's original currency. Attempts to access the cart with different currencies will result in a 423 status code response.
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}
- 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 GET \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}' \
-H 'Accept-Language: en-US' \
-H 'X-Musement-Application: string' \
-H 'X-Musement-Currency: USD' \
-H 'X-Musement-Market: us' \
-H 'X-Musement-Version: 3.4.0'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.
An array of items to add to cart.
The selected pickup.
This property is required for activities with pickups.
The product identifier. Depending on the activity configuration, this could be a numeric value or a complex string.
- Mock serverhttps://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/items
- Sandbox serverhttps://sandbox.musement.com/api/v3/carts/{cartUuid}/items
- Production serverhttps://api.musement.com/api/v3/carts/{cartUuid}/items
- curl
- C#
- Node.js
curl -i -X POST \
'https://partner-api.musement.com/_mock/reference/openapi/carts/{cartUuid}/items' \
-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 '[
{
"type": "musement",
"product_identifier": "4445092627",
"quantity": 2
}
]'Cart item
The selected product.
The status of the cart item:
PREBOOK_KO: the cart item is no longer available.PREBOOK_OK: the cart item is still available for purchase.
The product's retail_price multiplied by the cart's quantity property.
The product's retail_price_without_service_fee multiplied by the cart's quantity property.
{ "product": { "activity_uuid": "df542cb8-8fca-44d0-94e6-715399c783f0", "api_url": "https://sandbox.musement.com/api/v3/activities/df542cb8-8fca-44d0-94e6-715399c783f0", "cover_image_url": "https://images-sandbox.musement.com/cover/0001/93/washington-d-c-day-tour-from-new-york-city-1_header-92769.jpeg", "date": "2022-05-01 10:15", "discount_amount": { … }, "id": "4445102588", "language": { … }, "max_confirmation_time": "P0D", "original_retail_price": { … }, "original_retail_price_without_service_fee": { … }, "retail_price": { … }, "retail_price_without_service_fee": { … }, "service_fee": { … }, "title": "Calendar activity with pickups and multiple price tag features", "type": "musement", "url": "https://.sbox.musement.com/bo-2b/washington-dc/calendar-activity-with-pickups-and-multiple-price-tag-features-175737/" }, "quantity": 1, "status": "PREBOOK_OK", "total_price": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "total_price_without_service_fee": { "currency": "USD", "formatted_value": "$ 10.00", "formatted_iso_value": "$10.00", "value": 10 }, "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f" }