Docs
Dashboard

Locale

Object

Fields returned for locale.

#

Fields


code
String!

The normalized BCP 47 language tag for the locale.

id
ID!

The unique identifier of the locale.

isDefault
Boolean!

Whether this locale is the default locale.

status
LocaleStatus!

The status of the locale.

Possible enum values
  • ACTIVE

    The locale is available for translated store content.

  • INACTIVE

    The locale is retained but not currently available for use.

#

Queries


Gets a single locale by its ID.

Gets locales configured for Thor Commerce.

#

Mutations


Creates a locale.

Deletes a locale.

Updates a locale.