Market types
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/admin/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/admin/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 shop can have up to 100 markets that combine more than one condition type, such as the following market that combines a locations condition and a regions condition. This limit applies whether a market is active or draft. If creating or updating a market would exceed the limit, then Shopify returns the EXCEEDS_MAX_MULTI_CONTEXT_MARKETS user error.
A shop can have up to 100 markets that combine more than one condition type, such as the following market that combines a locations condition and a regions condition. This limit applies whether a market is active or draft. If creating or updating a market would exceed the limit, then Shopify returns the EXCEEDS_MAX_MULTI_CONTEXT_MARKETS user error.
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/admin/api/{api_version}/graphql.json
Create a Canada retail market
JSON response
Anchor to Next stepsNext steps
- Learn how to use markets inheritance.