List every size/flavor variant of a Chewy product
Returns the full roster of purchasable variants for the product a given item belongs to -- every size, flavor, or color Chewy sells it in -- with each variant's own part number, price, Autoship price, stock, images, and the defining option that distinguishes it (e.g. Size = Medium). id is the numeric id from any chewy.com PDP URL; passing any one variant's id returns that variant's whole family, and the variant you asked for is flagged with is_requested. This answers a question chewy_product cannot: chewy_product describes only the single variant it was given and names its parent, but never lists the siblings or their prices. Only the defining option is returned, not the full attribute table -- use chewy_item_attributes for that.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/chewy/variants
- Auth: API key in header x-api-key
Query parameters
The numeric id from a chewy.com PDP URL, e.g. \
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"parent_name": "Frisco Lion Mane Dog & Cat Costume",
"parent_part_number": "158730",
"requested_part_number": "158732",
"variants": [
{
"currency_code": "USD",
"name": "Frisco Lion Mane Dog & Cat Costume, Medium",
"options": [
{
"name": "Size",
"values": [
"Medium"
]
}
],
"part_number": "158732",
"price": 15.99
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.