This API returns details, which includes the list of merchants where the product is available, of the EAN/UPC.

Sample request

curl --request GET \
  --url 'https://api.shopalyst.com/v1/insights/daas/productCodes/4710168709498?countryCode=in&mode=lite' \
  --header 'accept: application/json' \
  --header 'apikey: <your API key>' \
  --header 'x-access-token: <your access token>'

Request fields

Field

Description

Data Type

countryCode

Country code (us - USA, in - India),

List of country codes

string

code

EAN/UPC for which the merchant mapping is sought

string

mode

Response mode

Available options are :-
lite - retrieves limited set of product attributes
full - retrieves additional product attributes like images and description

string

Sample response

Sample response for lite mode

{
  "success": true,
  "message": "",
  "errorCode": "",
  "result": {
    "ean": "4710168709498",
    "merchants": [
      {
        "offerPrice": 318,
        "salePrice": 436,
        "productId": "4190F8924CEA35B521B9F8D79ABD8714",
        "merchantId": "momoshop",
        "merchantName": "MOMO",
        "merchantLogo": "https://imgcdn.shortlyst.com/?u=https://static.shortlyst.com/assets/campaigns/MOMO_1560859457012.png",
        "merchantProductUrl": "https://www.momoshop.com.tw/goods/GoodsDetail.jsp?i_code=8516164&Area=search&mdiv=403&oid=1_1&cid=index&kw=8516164&utm_source=shopalyst&utm_medium=affiliate"
      },
      {
        "offerPrice": 477,
        "salePrice": 654,
        "productId": "121D72C393C7CD68F8A527583B1458ED",
        "merchantId": "shopee",
        "merchantName": "SHOPEE",
        "merchantLogo": "https://imgcdn.shortlyst.com/?u=https://static.shortlyst.com/assets/campaigns/shopee-icon_1513341277406.png",
        "merchantProductUrl": "https://shopee.tw/product-i.201407617.7008946031?utm_source=shopalyst&utm_medium=affiliate"
      }
    ]
  }
}
Language
Credentials
Header
Click Try It! to start a request and see the response here!