getLocaleDataFromIp()


If you are interested in our SSO solution, this method will help you gathering all the required elements to create a new user.

Parameters:

Name Type Description
ipAddress string IP Address of your visitor, e.g. 109.123.123.42

- required parameter


Request:

[
    {
        "method": "getLocaleDataFromIp",
        "params": {
            "ipAddress": "109.123.123.42"
        },
        "jsonrpc": "2.0",
        "id": 1
    }
]

Response:

[
    {
        "result": {
            "country": "FR",
            "currency": "EUR",
            "locale": "fr_FR"
        },
        "id": "1",
        "error": null,
        "jsonrpc": "2.0"
    }
]

Remember! you can always check it by yourself using API Console - getLocaleDataFromIp()

Back to Customer API


We use cookies to ensure that we provide you the best service and website experience. Read our Cookie policy for more details.