Skip to main content
connection

An auto-generated type for paginating through multiple Markets.

Anchor to Fields with this connectionFields with this connection

•OBJECT

A catalog for managing product availability and pricing for specific Market contexts. Each catalog links to one or more markets and defines what Product objects customers see through its Publication settings. The catalog can include a PriceList for market-specific pricing adjustments.

Use catalogs to create distinct shopping experiences for different geographic regions or customer segments.

Learn more about building a catalog and managing markets.

•OBJECT

The market’s web presence, which defines its SEO strategy. This can be a different domain (e.g. example.ca), subdomain (e.g. ca.example.com), or subfolders of the primary domain (e.g. example.com/en-ca). Each web presence comprises one or more language variants. If a market does not have its own web presence, it is accessible on the shop’s primary domain via country selectors.

Note: while the domain/subfolders defined by a market’s web presence are not applicable to custom storefronts, which must manage their own domains and routing, the languages chosen here do govern the languages available on the Storefront API for the countries in this market.


Was this section helpful?

Anchor to Queries with this connectionQueries with this connection

•query

Returns a paginated list of Market objects configured for the shop. Markets match buyers based on defined conditions to deliver customized shopping experiences.

Filter markets by MarketType and MarketStatus, search by name, and control sort order. Retrieve market configurations including MarketCurrencySettings, MarketWebPresence objects, and MarketConditions.

Learn more about Shopify Markets.

Arguments

•Boolean
Default:null

Filters markets by enabled status.

•MarketType
Default:null

Filters markets by type.

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•MarketsSortKeys
Default:NAME

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to default
•string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to market_condition_types
•string

A comma-separated list of condition types.

Anchor to market_type
•string
•string
•string

Valid values:

  • ACTIVE
  • DRAFT
Anchor to wildcard_company_location_with_country_code
•string


Was this section helpful?

•[MarketEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

•[Market!]!
non-null

A list of nodes that are contained in MarketEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.


Was this section helpful?