Skip to Content

locales

Get all published locales/languages available in the store.

Authentication

Public Access: Accessible with the public API key

Query Structure

{ locales { # Fields from Locale type } }

Arguments

This query accepts no arguments.

Return Type

Returns an array of Locale objects containing information about each available locale/language in the store.

Example

query { locales { code name nativeName } }