X-Musement-Market header

A market is a modified catalog of activities and prices based on the contractual agreement with the Strategic partnerships team. Partners are given a market code which can be used with the X-Musement-Market header to view the customized catalog. Below is an example call using the header:

Copy
Copied
curl -X GET '{baseUrl}/activities' \
-H 'X-Musement-Application: {applicationValue}' \
-H 'X-Musement-Market: {marketCode}' \
-H 'X-Musement-Version: 3.4.0' \
-H 'Authorization: Bearer {accessToken}'

When the header is absent, the API returns the "public" catalog seen on musement.com.

Partners are expected to include the X-Musement-Market header with their own market code for all endpoints in order to receive the correct activities and prices based on the agreement.

If an invalid header value is used, the API returns a 400 status code response:

Copy
Copied
{
	"code": "-1",
	"message": "Unknown market code was provided."
}
Copyright © TUI Musement. All rights reserved.