cURL
curl --request GET \ --url https://api.makeswift.com/v2/locales \ --header 'x-api-key: <api-key>'
{ "object": "list", "data": [ { "object": "locale", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "locale": "<string>", "domain": "https://hearthfurniture.com.mx", "isDefault": true } ], "hasMore": true }
Returns a list of locales for a site.
API key authentication. Accepts either:
The site ID to list locales from.
The maximum number of locales to return.
1 <= x <= 100
The pagination cursor. This is used to indicate what ID to list from.
list
"list"
Show child attributes
The flag that indicates whether there are more locales available.
Was this page helpful?