Skip to main content
GET
/
admin
/
locales
List Locales
curl --request GET \
  --url https://api.headlesscommerce.io/v1/admin/locales \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "locale": "<string>",
      "name": "<string>",
      "is_default": true,
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key. Example: sk_live_xxxxx or pk_live_xxxxx

Response

200 - application/json

Success

data
object[]