Fetch customer locales
Changed onUse /locales endpoint to fetch customer's locales data, which you will need to register customer or to fetch offer details properly. This endpoint returns locales based on request IP, or based on given customerIP.
get/locales
Request
- Base URLhttps://mediastoreapi-sandbox.cleeng.com
- URLhttps://mediastoreapi-sandbox.cleeng.com/locales
- Authnone required
Query parameters
customerIPstring
IP address of customer current location. Required conditionally when request comes from server
Response
200
Example response
{
"responseData": {
"country": "PL",
"currency": "EUR",
"locale": "pl_PL",
"ipAddress": "213.892.123.455"
}
}Changes
- info
endpoint added
- info