Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

object

Requires read_markets for queries and both read_markets as well as write_markets for mutations.

A market is a group of one or more regions that you want to target for international sales. By creating a market, you can configure a distinct, localized shopping experience for customers from a specific area of the world. For example, you can change currency, configure international pricing, or add market-specific domains or subfolders.

Anchor to Fields and connectionsFields and connections

The catalogs that belong to the market.

The number of catalogs that belong to the market.

The market’s currency settings.

String!non-null

A short, human-readable unique identifier for the market. This is changeable by the merchant.

ID!non-null

A globally-unique ID.

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

A list of custom fields that a merchant associates with a Shopify resource.

String!non-null

The name of the market. Not shown to customers.

The market’s web presences, which defines its SEO strategy. This can be a different domain, subdomain, or subfolders of the primary domain. Each web presence comprises one or more language variants. If a market doesn't have any web presences, then the market is accessible on the primary market's domains using country selectors.

Show
deprecated fields and connections Deprecated
Boolean!non-nullDeprecated

Whether the market is enabled to receive visitors and sales. Note: Regions in inactive markets can't be selected on the storefront or in checkout. Use status instead.

Anchor to metafieldDefinitionsmetafieldDefinitions

List of metafield definitions. This field will be removed in a future version. Use the root metafieldDefinitions field instead.

PriceListDeprecated

The market’s price list, which specifies a percentage-based price adjustment as well as fixed price overrides for specific variants.

Markets with multiple catalogs can have multiple price lists. To query which price lists are connected to a market, please query for price lists through the catalogs connection. Use catalogs instead.

Boolean!non-nullDeprecated

Whether the market is the shop’s primary market. This field is deprecated and will be removed in the future.

Returns a private metafield by namespace and key that belongs to the resource. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.

PrivateMetafieldConnection!non-nullDeprecated

List of private metafields that belong to the resource. Metafields created using a reserved namespace are private by default. See our guide for migrating private metafields.

MarketRegionConnection!non-nullDeprecated

The regions that comprise the market. This field is deprecated and will be removed in the future. Use conditions.regionConditions instead.

The market’s web presence, which defines its SEO strategy. This can be a different domain, subdomain, or subfolders of the primary domain. Each web presence comprises one or more language variants. If a market doesn't have its own web presence, then the market is accessible on the primary market's domains using country selectors. If it's the primary market and it has multiple web presences, then this field will return the primary domain web presence. Use webPresences instead.


Was this section helpful?

query

Returns a market resource by ID.

query

Returns the applicable market for a customer based on where they are in the world.

query

The markets configured for the shop.

queryDeprecated

The primary market of the shop. Use backupRegion instead.


Was this section helpful?

mutation

Creates a new market.

mutation

Updates currency settings of a market.

mutation

Updates the properties of a market.

Show
deprecated mutations Deprecated
mutationDeprecated

Deletes a market region. Use marketUpdate instead.

mutationDeprecated

Creates regions that belong to an existing market. This mutation is deprecated and will be removed in the future. Use marketCreate or marketUpdate instead.

mutationDeprecated

Creates a web presence for a market. Use webPresenceCreate instead.

mutationDeprecated

Deletes a market web presence. Use webPresenceDelete instead.

mutationDeprecated

Updates a market web presence. Use webPresenceUpdate instead.


Was this section helpful?