Store Locale
Get Locale Settings
GET https://api.bigcommerce.com/stores/{store_hash}/v3/settings/store/localeRequest
Returns global locale settings.
For stores with Catalyst channels, the shopper_language_selection_method
field is deprecated. Using this endpoint on those stores will return a warning about the deprecation. For additional information, refer to Locale Configuration.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
example
Response
Body
dataobject
The basic locale settings for a store, used to give shopper information about languages, countries, etc.
Default Example
Multi-Language Example
Update Locale Settings
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/settings/store/localeRequest
Updates global locale settings.
For stores with Catalyst channels, the shopper_language_selection_method
field is deprecated. Using this endpoint on those stores will return a warning about the deprecation. For additional information, refer to Locale Configuration.
Authentication
- X-Auth-Token in header
Parameters
- store_hash in path - string
- Accept in header with default of application/json - stringrequiredThe MIME type of the response body.
- Content-Type in header with default of application/json - stringrequiredThe MIME type of the request body.
Body
default_shopper_languagestring
requiredExample: en, en-usDefault: en
shopper_language_selection_methodstring
Determines whether to display the storefront content in the shopperʼs browser language or the shopperʼs selected default language.
Available values:
browser
- language updates automatically based on the shopper browser language. Multiple languages are supported.
default_shopper_language
- content is displayed in a single language based on the set
default_shopper_language
. Only the selected language is supported.
- content is displayed in a single language based on the set
Allowed: browser | default_shopper_language
Example: default_shopper_languageDefault: default_shopper_language
store_countrystring
Default: United States
Example
Response
Body
dataobject
The basic locale settings for a store, used to give shopper information about languages, countries, etc.