Products – Get User Location
This API call allows you to get the user’s home/ship-to country which is important to:
- determine which products are available to the user
- determine which vendors will produce the products to optimize the delivery time
- determine the product and shipping prices
If you have a two character country code already that follows the ISO 3166-1 alpha-2 standard, then feel free to skip this section. An example of this would the country code for the United States "US".
It’s incredibly important that this happens from the client. If you are building a website, you’ll want this JSONP request to happen on the client via AJAX.