# Locale Language and regional settings, including ISO code, name, endonym, and root URL. ## Type Definition ```graphql type Locale { endonymName: String isoCode: String name: String primary: Boolean rootUrl: String } ``` ## Fields | Field | Type | Description | |-------|------|-------------| | endonymName | String | Returns the endonym name for this locale. | | isoCode | String | Returns the iso code for this locale. | | name | String | Returns the name. | | primary | Boolean | Returns true if this locale is the shops primary locale. | | rootUrl | String | Returns the root URL for this locale. | ## Relationships The `Locale` type is used to provide language and regional settings information within the API. It is referenced by the `Customer` type through the `language` field, allowing customer objects to specify their preferred locale and regional settings. ## Example ```graphql query { endonymName isoCode name primary rootUrl } ``` ## Implements This type does not implement any interfaces. ## Related Types - `Customer`