Anchor to ShopLocaleShop
objectShop Locale
Requires access scope or
access scope.
A locale that's been enabled on a shop.
Anchor to FieldsFields
- Anchor to localelocale•String!non-null
The locale ISO code.
- Anchor to marketWebPresencesmarket•[Market
Web Presences Web Presence!]!non-null The market web presences that use the locale.
- Anchor to namename•String!non-null
The human-readable locale name.
- Anchor to primaryprimary•Boolean!non-null
Whether the locale is the default locale for the shop.
- Anchor to publishedpublished•Boolean!non-null
Whether the locale is visible to buyers.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Adds a locale for a shop. The newly added locale is in the unpublished state.
- Anchor to localelocale•String!required
ISO code of the locale to enable.
- Anchor to marketWebPresenceIdsmarket•[ID!]
Web Presence Ids The list of markets web presences to add the locale to.
Arguments
- Anchor to shopLocaleshop•Shop
Locale Locale ISO code of the locale that was enabled.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates a locale for a shop.
- Anchor to localelocale•String!required
ISO code of the locale to update.
- Anchor to shopLocaleshop•Shop
Locale Locale Input!required Specifies the input fields for a shop locale.
Arguments
- Anchor to shopLocaleshop•Shop
Locale Locale The locale that was updated.
- Anchor to userErrorsuser•[User
Errors Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
Was this section helpful?