Update locales

PUT /i/locales/{businessId}

Sets business item languages. Supports language ISO code 2 or language_localization (eg. 'en' or 'en_US').

Path parameters

  • businessId integer(int64) Required

    The unique identifier for the business.

application/json

Body Required

array[string] array[string]

A 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"
]