Market types
Not all merchant stores are eligible for the new markets experience. As an app developer, you must check if the shop is onboarded on the new markets experience before you can use the new marketCreate
and marketUpdate
mutations.
Anchor to Region marketsRegion markets
A region market is composed of one or more regions.
Only one market with the same set of regions can be active at a time.
The following example shows how to create a region market for the United States, Canada, and Mexico.
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
Create a market for North America
JSON response
Anchor to Location and Company location marketsLocation and Company location markets
A company location market is a market that targets B2B buyers. A location market targets a specific POS location.
The company location (B2B) and location (retail) markets can target specific locations, or all locations in a region.
Anchor to Specific company location or location marketsSpecific company location or location markets
The following example shows how to create a market for specific company locations.
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
Create a market for specific company locations
JSON response
Anchor to Using wildcards in markets for all company locations or locations in a regionUsing wildcards in markets for all company locations or locations in a region
Company location (B2B) or location (retail) markets can target all locations within a region. Newly created locations are automatically added to this type of market if they are part of that region
A maximum of 100 total wildcard markets is enforced for each shop, regardless of the market type.
The following example shows how to create a market for all POS locations in Canada. Anytime a new POS location is created in Canada, it is automatically added to this market.
POST https://{shop}.myshopify.com/api/{api_version}/graphql.json
Create a Canada retail market
JSON response
Anchor to Next stepsNext steps
- Learn how to use markets inheritance.