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

application/json

Body Required

array[string] array[string]

List of locales

PUT /i/locales/{businessId}
curl \
 -X PUT https://api.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"
]