Change display language

Please use this (https://YOUR-SITE.COM/mobile_api/language) API endpoint for changing display language


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
lang_name ​Display language name E.g. One of these options (english, french, german, italian, russian, portuguese, spanish, turkish, dutch, ukraine)

Success response

{
	"code": 200,
	"valid": true,
	"message": "Language changed successfully",
	"data": []
}

Error responses

{
    "code": 401,
    "data": [],
    "message": "Unauthorized Access"
}

{
	"code": 400,
	"err_code": "invalid_request_data",
	"message": "Display language name is invalid or missing",
	"data": []
}