Product Variations API

ADD PARENT ASIN TO PRODUCT VARIATIONS QUERY QUEUE

The request to add a Parent ASIN to Product Variations query queue.

CREDIT DEDUCTION

1 (one) credit deduction for each variant after successful retrieval of data. Example: If there are 5 variants, 5 (five) credits will be deducted if all 5 variants information is successfully retrieved.

REQUEST
URI/api/query/requestvariants/ {PARENTASIN}?domain={domain}&secretKey={secretKey}{PARENTASIN } – required – the Parent ASIN to add to variant search queue {domain} – optional – defaults to www.amazon.com if unspecified. See Supported Amazon Domains for list.
Http Header (optional)AMZPECTY_CALLBACK_URL={Your callback URL}
Example/api/query/requestvariants/B01M5IK8M9?domain=www.amazon.com&secretKey= xxxxxxxxxx
RESPONSE
Headers
MediaTypeapplication/json
JSON Data
{
  "status": "OK",
  "allowed": 999,
  "dailyAllowed": 100,
  "messageId": null,
  "message": null,
  "data": null,
  "rid": "5e70778ce4b09ae7cdd98243",
  "dateProcessed": null
}

PRODUCT VARIATIONS QUERY CALLBACK

PRODUCT VARIATIONS QUERY CALLBACK REQUEST
URIExample: https://your.server.com/amzpecty_result{Please provide URL in Preferences Page} URL must be SSL enabled. AMZPECTY-API-SECRET-KEY (header name) – secret key header will be included for the call back server to validate the request origin
MediaTypeapplication/json
PRODUCT VARIATIONS QUERY CALLBACK JSON SAMPLE DATA
Headers
MediaTypeapplication/json
JSON Data
{
    "status": "OK",
    "responsefor": "productvariations",
    "allowed": 142658,
    "dailyAllowed": 9828,
    "messageId": null,
    "message": null,
    "data": {
        "parentAsin": "B077HN95T8",
        "itemName": "Pendleton Women’s Heritage Chelsea Slip-Resistant Rain Boot",
        "salesRank": 31070,
        "options": [
            "Size",
            "Color"
        ],
        "totalVariations": 86,
        "variants": [
            {
                "asin": "B0772WW76G",
                "productUrl": "https://www.amazon.com/dp/B0772WW76G?th=1&psc=1",
                "option1": "Size",
                "option1Value": "6",
                "option2": "Color",
                "option2Value": "Rainier Red",
                "BBSellerName": "Fishbone Apparel",
                "BBPrice": 109.95,
                "BBQuantity": 2,
                "BBType": "FBA",
                "salesRank": 31070,
                "totalOffers": 1,
                "dimension": "3.8 x 9.5 x 11.7 inches",
                "imageUrl": "https://m.media-amazon.com/images/I/31wd4kuv6IL._SCLZZZZZZZ__SL80_.jpg",
                "weight": "3.351 pounds",
                "reviewPercentage": 2.08,
                "reviewCount": 2,
                "globalRatingsPositive": 4486,
                "globalRatingsCritical": 421,
                "globalReviewPositive": 1286,
                "globalReviewCritical": 271,
                "recentReview": "March 7, 2020",
                "searchStatus": "completed"
            },
            {
                "asin": "B07PJT8S6K",
                "productUrl": "https://www.amazon.com/dp/B07PJT8S6K?th=1&psc=1",
                "option1": "Size",
                "option1Value": "6",
                "option2": "Color",
                "option2Value": "Starwatchers Blue Print",
                "BBSellerName": "new pairs",
                "BBPrice": 109.95,
                "BBQuantity": 2,
                "BBType": "FBA",
                "salesRank": 31070,
                "totalOffers": 1,
                "dimension": "4.25 x 10.87 x 13.07 inches",
                "imageUrl": "https://m.media-amazon.com/images/I/41ooAxDOy5L._SCLZZZZZZZ__SL80_.jpg",
                "weight": "3.4502 pounds",
                "reviewPercentage": 0,
                "reviewCount": 0,
                "globalRatingsPositive": 0,
                "globalRatingsCritical": 0,
                "globalReviewPositive": 0,
                "globalReviewCritical": 0,
                "recentReview": "",
                "searchStatus": "completed"
            }
        ]
    },
    "rid": "5e70778ce4b09ae7cdd98243",
    "dateProcessed": 1584429103564,
    "domain": "www.amazon.com",
    "totalCreditsDeducted": 1
}
PRODUCT VARIATIONS QUERY CALLBACK RESPONSE JSON ATTRIBUTES
Attribute Name Details
status The status of the request.
responsefor “productvariations” value for Product Variations query result
allowed The current allowed request count. Resets monthly.
dailyAllowed The current allowed daily request count. Resets daily.
messageId The id of the message (if any) .
message The actual message (if any). Pls refer to Error Messages.
rid The request id. This can be used to match this response to the original request.
dateProcessed The date the request was processed in unix time format.
domain The target Amazon domain.
totalCreditsDeducted This field indicates how many Amzpecty API credits were used to fulfill this request.
data.parentAsin The Parent ASIN of the product variants.
data. itemName The item name of the product.
data. salesRank The Sales Rank of the Parent product.
data. options[] The list of options available. E.g. [ “Size”, “Color” ]
data.totalVariations The total number of variations for the Parent Asin.
data. variants[] The list of variants of the Parent Asin.
data.variants[n].asin The Asin of this variant.
data.variants[n].productUrl The product Url of this variant.
data.variants[n].option1 The key for this first option as listed on data.options[]. E.g. “Size”
data.variants[n].option1Value The value for this first option. E.g. “9”
data.variants[n].option2 The key for this second option as listed on data.options[]. E.g. “Color”
data.variants[n].option2Value The value for this second option. E.g. “Yellowstone Yellow”
data.variants[n].option* The key for this nth option as listed on data.options[].
data.variants[n].option*Value The value for this nth option.
data.variants[n].BBSellerName The buybox seller name of this variant.
data.variants[n].BBPrice The buybox price of this variant excluding shipping.
data.variants[n].BBQuantity The quantity available for the buybox seller of this variant.
data.variants[n].BBType The seller type of this variant. “FBA” or “FBM”
data.variants[n].salesRank The sales rank of this variant.
data.variants[n].totalOffers The number of offers of this variant.
data.variants[n].dimension The dimension of this variant.
data.variants[n].imageUrl The image URL of this variant.
data.variants[n].weight The weight of this variant.
data.variants[n].reviewPercentage This variant’s ( review count / all review count) X 100 .
~data.variants[n].reviewCount~ DEPRECATED as of September 11, 2020. Use globalReviewPositive and globalReviewCritical instead.
data.variants[n].globalRatingsPositive NEW. Added September 11, 2020. The total global positive ratings count of this variant.
data.variants[n].globalRatingsCritical NEW. Added September 11, 2020. The total global critical ratings count of this variant.
data.variants[n].globalReviewPositive NEW. Added September 11, 2020. The total global positive review count of this variant.
data.variants[n].globalReviewCritical NEW. Added September 11, 2020. The total global critical review count of this variant.
data.variants[n].recentReview This variant’s most recent review date.
data.variants[n].searchStatus The query status of this variant. “in-progress” or “completed”

GET PRODUCT VARIATIONS QUERY RESULT DATA BY PARENT ASIN

0 (zero) credit deduction for the Get call.

The request to get the Product Variations query result data by Parent ASIN.

REQUEST
URI/api/query/getmatchasins/rid/{rid}?domain={domain}&secretKey={secretKey}{ PARENTASIN } – the parent ASIN to get most recent variant list {domain} – optional – defaults to www.amazon.com if unspecified. See Supported Amazon Domains for list.
Example/api/query/getvariants/asin/B01M5IK8M9?domain=www.amazon.com&secretKey= xxxxxxxxxx
RESPONSE

See Product Variations Query Callback JSON Sample Data

GET PRODUCT VARIATIONS REQUEST RESULT DATA BY REQUEST ID

The request to get the product variations query result data by Request ID.

CREDIT DEDUCTION

0 (zero) credit deduction for the Get call.

REQUEST
URI/api/query/getvariants/rid/{ RID }?domain={domain}&secretKey={secretKey}{ RID } – the Request ID to get most recent variant list {domain} – optional – defaults to www.amazon.com if unspecified. See Supported Amazon Domains for list.
Example/api/query/getvariants/rid/ 5e712345e4b04dd8c8b7e490?domain=www.amazon.com&secretKey= xxxxxxxxxx
RESPONSE

See Product Variations Query Callback JSON Sample Data

Our goal is to assist Amazon sellers reach new heights.

Automate the most tedious tasks in your Amazon business so you can focus on what really matters—growing profits! Install Amzpecty Chrome Extension from the Chrome Web Store NOW.