Market
Requires for queries and both
as well as
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
- Anchor to assignedCustomizationassigned•Boolean!non-null
Customization Whether the market has a customization with the given ID.
- Anchor to catalogscatalogs•Market
Catalog Connection!non-null The catalogs that belong to the market.
- Anchor to catalogsCountcatalogs•Count
Count The number of catalogs that belong to the market.
- Anchor to conditionsconditions•Market
Conditions The conditions under which a visitor is in the market.
- Anchor to currencySettingscurrency•Market
Settings Currency Settings The market’s currency settings.
- Anchor to handlehandle•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.
- Anchor to metafieldmetafield•Metafield
A custom field, including its
namespace
andkey
, that's associated with a Shopify resource for the purposes of adding and storing additional information.- Anchor to metafieldsmetafields•Metafield
Connection!non-null A list of custom fields that a merchant associates with a Shopify resource.
- Anchor to metafieldsByIdentifiersmetafields•[Metafield]!non-null
By Identifiers The metafields associated with the resource matching the supplied list of namespaces and keys.
- Anchor to namename•String!non-null
The name of the market. Not shown to customers.
- Anchor to priceInclusionsprice•Market
Inclusions Price Inclusions The inclusive pricing strategy for a market. This determines if prices include duties and / or taxes.
- Anchor to statusstatus•Market
Status!non-null Status of the market. Replaces the enabled field.
- Anchor to typetype•Market
Type!non-null The type of the market.
- Anchor to webPresencesweb•Market
Presences Web Presence Connection!non-null 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.
Deprecated fields and connections
- Anchor to enabledenabled•Boolean!non-nullDeprecated
- Anchor to metafieldDefinitionsmetafield•Metafield
Definitions Definition Connection!non-nullDeprecated - Anchor to priceListprice•Price
List ListDeprecated - Anchor to primaryprimary•Boolean!non-nullDeprecated
- Anchor to regionsregions•Market
Region Connection!non-nullDeprecated - Anchor to webPresenceweb•Market
Presence Web PresenceDeprecated
Anchor to QueriesQueries
- •query
Returns a market resource by ID.
- •query
The markets configured for the shop.
Deprecated queries
- •queryDeprecated
- •queryDeprecated
Anchor to MutationsMutations
- •mutation
Creates a new market.
- Anchor to inputinput•Market
Create Input!required The properties of the new market.
Arguments
- Anchor to marketmarket•Market
The market object.
- Anchor to userErrorsuser•[Market
Errors User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates currency settings of a market.
- Anchor to inputinput•Market
Currency Settings Update Input!required Properties to update for the market currency settings.
- Anchor to marketIdmarket•ID!required
Id The ID of the market definition to target.
Arguments
- Anchor to userErrorsuser•[Market
Errors Currency Settings User Error!]!non-null The list of errors that occurred from executing the mutation.
- Anchor to marketmarket•MarketDeprecated
Fields