WebPresence
Requires for queries and both
as well as
for mutations.
This can be a 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.
Note: while the domain/subfolders defined by a 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 using this web presence.
Anchor to Fields and connectionsFields and connections
- Anchor to alternateLocalesalternate•
Locales [ShopLocale!]! 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 domain, thenwill load in English.
- Anchor to defaultLocaledefault•
Locale ShopLocale! 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 domain, thenexample.ca
will load in French.- Anchor to domaindomain•
The web presence’s domain. This field will be null if
is present.
- •ID!non-null
A globally-unique ID.
- Anchor to marketsmarkets•
The associated markets for this web presence.
- Anchor to rootUrlsroot•
Urls [WebPresence non-nullRoot Url!]! The list of root URLs for each of the web presence’s locales.
- Anchor to subfolderSuffixsubfolder•
Suffix The 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.
Map
No referencing types