Market Web Presence
Requires for queries and both
as well as
for mutations.
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. ). 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.
Anchor to FieldsFields
- Anchor to alternateLocalesalternate•[Shop
Locales Locale!]!non-null The ShopLocale object for the alternate locales. When a domain is used, these locales will be available as language-specific subfolders. For example, if English is an alternate locale, and
example.ca
is the market’s domain, thenwill load in English.
- Anchor to defaultLocaledefault•Shop
Locale Locale!non-null The ShopLocale object for the default locale. When a domain is used, this is the locale that will be used when the domain root is accessed. For example, if French is the default locale, and
example.ca
is the market’s domain, thenexample.ca
will load in French.- Anchor to domaindomain•Domain
The web presence’s domain. This field will be null if
isn't null.
- •ID!non-null
A globally-unique ID.
- Anchor to marketmarket•Market!non-null
The associated market.
- Anchor to rootUrlsroot•[Market
Urls Web Presence Root Url!]!non-null The list of root URLs for each of the web presence’s locales. As of version
2024-04
this value will no longer have a trailing slash.- Anchor to subfolderSuffixsubfolder•String
Suffix The market-specific suffix of the subfolders defined by the web presence. Example: in
/en-us
the subfolder suffix isus
. This field will be null ifdomain
isn't null.