X-Musement-Currency header

By default, responses will show prices in United States dollars (USD) or the default currency of the X-Musement-Market header value (if present). You can request prices in a specific currency with the X-Musement-Currency header.

In the example request below, we are asking for prices in British pounds (GBP):

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

As a result, price properties in the response will use British pounds:

Copy
Copied
{
	[...]
	"retail_price": { 
		"currency": "GBP", 
		"value": 24, 
		"formatted_value": "£ 24.00" 
	}
	[...] 
}

For a full list of supported currencies, following the ISO 4217 standard, make the following request:

Copy
Copied
curl -X GET '{baseUrl}/currencies' \
-H 'X-Musement-Application: {applicationValue}' \
-H 'X-Musement-Version: 3.4.0' \
-H 'Authorization: Bearer {accessToken}'
Copyright © TUI Musement. All rights reserved.