{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/api/getting-started/headers/market/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#x-musement-market-header\" aria-label=\"x musement market header permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"x-musement-market-header\"></div>X-Musement-Market header</h1>\n<p>A <em>market</em> is a modified catalog of activities and prices based on the contractual agreement with the <a href=\"mailto:business@musement.com\">Strategic partnerships team</a>. Partners are given a <em>market code</em> which can be used with the <code class=\"language-text\">X-Musement-Market</code> header to view the customized catalog. Below is an example call using the header:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"70131285355059130000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`curl -X GET '{baseUrl}/activities' \\\\\n-H 'X-Musement-Application: {applicationValue}' \\\\\n-H 'X-Musement-Market: {marketCode}' \\\\\n-H 'X-Musement-Version: 3.4.0' \\\\\n-H 'Authorization: Bearer {accessToken}'`, `70131285355059130000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-70131285355059130000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"bash\"><pre class=\"language-bash\"><code class=\"language-bash\"><span class=\"token function\">curl</span> <span class=\"token parameter variable\">-X</span> GET <span class=\"token string\">'{baseUrl}/activities'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'X-Musement-Application: {applicationValue}'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'X-Musement-Market: {marketCode}'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'X-Musement-Version: 3.4.0'</span> <span class=\"token punctuation\">\\</span>\n<span class=\"token parameter variable\">-H</span> <span class=\"token string\">'Authorization: Bearer {accessToken}'</span></code></pre></div>\n      </div>\n<p>When the header is absent, the API returns the \"public\" catalog seen on <a href=\"https://www.musement.com/us\">musement.com</a>.</p>\n<p>Partners are expected to include the <code class=\"language-text\">X-Musement-Market</code> header with their own <em>market code</em> for all endpoints in order to receive the correct activities and prices based on the agreement.</p>\n<p>If an invalid header value is used, the API returns a 400 status code response:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"31280076194662752000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`{\n\t&quot;code&quot;: &quot;-1&quot;,\n\t&quot;message&quot;: &quot;Unknown market code was provided.&quot;\n}`, `31280076194662752000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-31280076194662752000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"json\"><pre class=\"language-json\"><code class=\"language-json\"><span class=\"token punctuation\">{</span>\n\t<span class=\"token property\">\"code\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"-1\"</span><span class=\"token punctuation\">,</span>\n\t<span class=\"token property\">\"message\"</span><span class=\"token operator\">:</span> <span class=\"token string\">\"Unknown market code was provided.\"</span>\n<span class=\"token punctuation\">}</span></code></pre></div>\n      </div>","headings":[{"value":"X-Musement-Market header","depth":1}]},"contentItem":{"data":{"lastModified":"2025-12-18T16:31:42.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"1a52669a-e830-5a1d-a72c-4b9178990997__redocly content/api/getting-started/headers/market/","seo":{"title":"X-Musement-Market header","description":"Partners can use Musement markets to view a custom activity catalog via API.","image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"api/getting-started/headers/market.md","pageBaseUrl":"/api/getting-started/headers/market","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"X-Musement-Market header","id":"x-musement-market-header"}]},"data":{"title":"","redirectFrom":["/guide/overview/musement-market-header/","/api/partner/general-topics/headers/market/"],"seo":{"description":"Partners can use Musement markets to view a custom activity catalog via API."}},"catalogInfo":null,"link":"/api/getting-started/headers/market/","sidebarName":"__alternative-sidebar__-data-24763-api-sidebars.yaml","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}