Light Mode
List Languages
GET
/languagesLast modified:Â 23 days ago
This endpoint allows you to fetch a list of languages associated with your Salla Store.
Request
None
Request samples
Responses
Success(200)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
No schema defined
Example
"status": 200,
"success": true,
"data": [
{
"id": 1,
"name": "العربية",
"status": "enabled",
"rtl": true,
"flag": "https://assets.salla.sa/images/flags/ar.svg",
"iso_code": "ar",
"country_code": "sa",
"sort_order": 0
},
{
"id": 2,
"name": "English",
"status": "disabled",
"rtl": false,
"flag": "https://assets.salla.sa/images/flags/en.svg",
"iso_code": "en",
"country_code": "gb",
"sort_order": 0
},
{
"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
},
{
"id": 13,
"name": "français",
"status": "enabled",
"rtl": false,
"flag": "https://assets.salla.sa/images/flags/fr.svg",
"iso_code": "fr",
"country_code": "fr",
"sort_order": 31
}
],
"pagination": {
"count": 5,
"total": 5,
"perPage": 15,
"currentPage": 1,
"totalPages": 1,
"links": {}
}
}
Last modified: 23 days ago