Locales describe the possible localities available in the system. This is mainly used to provide additional details for your customers.
code | string <bcp47> Code identifying this locale. |
name | string [ 1 .. 255 ] characters Human-readable name consisting of language and, if present, region or country. |
{- "code": "en-GB",
- "name": "English (United Kingdom)"
}
Retrieve a list of supported locales.
Successful response.
An error occurred - see status code and problem response for more information.
{- "query": {
- "limit": 25,
- "offset": 0
}, - "result": [
- {
- "code": "en-GB",
- "name": "English (United Kingdom)"
}
], - "total": 3255
}
Retrieve a single locale by its code.
Successful response.
An error occurred - see status code and problem response for more information.
{- "code": "en-GB",
- "name": "English (United Kingdom)"
}