--- title: 'Liquid objects: market' description: >- A group of one or more regions of the world that a merchant is targeting for sales. api_name: liquid source_url: html: 'https://shopify.dev/docs/api/liquid/objects/market' md: 'https://shopify.dev/docs/api/liquid/objects/market.md' --- # market A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [Shopify Markets](https://shopify.dev/docs/apps/markets). To make sure that visitors interact with the optimal version of a store using Shopify Markets, refer to [Detect and set a visitor's optimal localization](https://shopify.dev/docs/themes/markets/localization-discovery). ## Properties * * **handle** [string](https://shopify.dev/docs/api/liquid/basics#string) * The [handle](https://shopify.dev/docs/api/liquid/basics#handles) of the market. * **id** [string](https://shopify.dev/docs/api/liquid/basics#string) * The ID of the market. * **metafields** array of [metafield](https://shopify.dev/docs/api/liquid/objects/metafield) * The [metafields](https://shopify.dev/docs/api/liquid/objects/metafield) applied to the market. **Tip:** To learn about how to create metafields, refer to \Create and manage metafields\ or visit the \Shopify Help Center\. ##### Example ```json { "handle": "ca", "id": 6157828161, "metafields": {} } ```