Accessing Product Data

How to access SKU / Product data using your API

You can easily obtain available product SKUs using our products endpoint. 

The GET productvariants endpoint takes 5 parameters:

  • productId - required - ID of the Product

  • countryCode - required - the 2 character (ISO 3166-1 alpha-2) country code that the user is interested in shipping to

  • currencyCode - optional, defaults to “USD” - the currency in which the prices will be represented

  • languageCode - optional, defaults to “en” - the language to have product data returned in

  • all - optional, defaults to false - whether to return all the products that are orderable in the user’s region, or to only return products you have set up in the product settings page.

Please note that not all SKUs are available for all locations and different SKUs can be available for different locations, that is why setting up customer’s country is extremely important. 

For examples and additional information, check out this article