shopLocaleEnable mutation

Version unstable

Enables a locale for a shop.

Required access

write_locales access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
locale ( String! ) required

Specifies the locale to enable.

Return fields

  • shopLocale (ShopLocale)

    The locale that was enabled.

  • userErrors ([UserError!]!)

    List of errors that occurred from executing the mutation.

Version 2021-10 (Release candidate)

Enables a locale for a shop.

Required access

write_locales access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
locale ( String! ) required

Specifies the locale to enable.

Return fields

  • shopLocale (ShopLocale)

    The locale that was enabled.

  • userErrors ([UserError!]!)

    List of errors that occurred from executing the mutation.

Version 2021-07 (Latest)

Enables a locale for a shop.

Required access

write_locales access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
locale ( String! ) required

Specifies the locale to enable.

Return fields