Add Language
POST
/languagesThis endpoint allows you to add one or more languages to the store.
Request
ISO Code of the Language
The order of which a language will appear
{
"locales": [
{
"iso_code": "fr",
"sort_order": "1"
}
]
}
Request samples
[api.label.responses]
Response status code, a numeric or alphanumeric identifier used to convey the outcome or status of a request, operation, or transaction in various systems and applications, typically indicating whether the action was successful, encountered an error, or resulted in a specific condition.
Response flag, boolean indicator used to signal a particular condition or state in the response of a system or application, often representing the presence or absence of certain conditions or outcomes.
A unique alphanumeric code or identifier assigned to a specific Language.
Language Name
Language Status. Either enabled
or disabled
Right-To-Left Supportability
Icon/Flag of the Language
ISO Code of the Language
Country Code of the Language
Display order of the Language
{
"status": 200,
"success": true,
"data": [
{
"id": 12,
"name": "suomen kieli",
"status": "enabled",
"rtl": false,
"flag": "https://assets.salla.sa/images/flags/fi.svg",
"iso_code": "fi",
"country_code": "fi",
"sort_order": 9
},
{
"id": 15,
"name": "Ελληνικά",
"status": "enabled",
"rtl": false,
"flag": "https://assets.salla.sa/images/flags/el.svg",
"iso_code": "el",
"country_code": "gr",
"sort_order": 10
}
]
}