Update locales
PUT
/i/locales/{businessId}
Sets business item languages. Supports language ISO code 2 or language_localisation (ie. en or en_US).
Path parameters
-
businessId integer(int64) Required
The id of the business
Body Required
array[string]
array[string]
List of locales
PUT /i/locales/{businessId}
curl \
-X PUT https://api.trial.lsk.lightspeed.app/i/locales/454335871 \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '["en","es","de","fr"]'
Request example
[
"en",
"es",
"de",
"fr"
]