Skip to main content

Documentation Portal

LocationByIp

Returns the user’s geo-location by IP address. The merchant’s default location is returned if an IP address cannot be found (for example if a private network IP address has been specified).

The merchant-side caching policy defined by this method should be applied to the whole IP range returned for the IP address specified.

Method/URL

https://{server_name}/Browsing/LocationByIP

Parameter

Request

Parameter Name

Type

Description

Mandatory

IP

string

The shopper's IP address

Response

Parameter Name

Type

Description

Mandatory

City

Object City

The shopper's city.

Country

Object Country

The shopper's country.

IPRange

Object IPRange

The shopper's IP range.

Region

Object Region

The shopper's region.