Amazon Affiliate API icon

Amazon Affiliate API

Interact with Amazon Product Advertising API 5.0

Get Variations

AI-generated

Summary

Retrieve product variations for a specified parent ASIN from Amazon's Product Advertising API, with options to filter by condition, merchant, and paginate through results.

Inputs

  • Parent ASIN (required) — Parent ASIN to get variations for.
  • Variation Count — Number of variations to return (1 to 10). Defaults to 10.
  • Variation Page — Page number for pagination of variations (1 to 10). Defaults to 1.
  • Condition — Filter variations by their condition (Any, New, Used, Collectible, Refurbished). Defaults to Any.
  • Merchant — Filter variations by merchant (All or Amazon). Defaults to All.
  • Resources — Select which data fields to retrieve for the variations, such as images, item info, offers, browse node info, and variation summary. Defaults to ItemInfo.Title, Offers.Listings.Price, Images.Primary.Large, and VariationSummary.VariationDimension.
  • Partner Tag — Amazon Partner Tag to override the default credential partner tag (if set).

Output shape

a single JSON object containing the variation data from Amazon's Product Advertising API

Returns variation details including the requested resource fields. Supports pagination and filtering via input parameters. Errors are reported as exceptions.

Examples

Example 1: Retrieve up to 5 new variations from the second page for a given parent ASIN, returning title and price info.

Set Parent ASIN, Variation Count as 5, Variation Page as 2, Condition as New, Resources to include at least ItemInfo.Title and Offers.Listings.Price.

Discussion