Getting a product variation

Learn how to get information for a product variation.

The following GET /v1/products/{baseProductId or baseERID}/variations/{variationProductId or variationERID} request retrieves data for all locales associated with the specified product variation.

To get a specific product variation, you must provide the product identifiers (productId) or a unique ERID for both the base product and the variation product. If the request finds multiple products associated with the ERID, the response will return all of them.

The following example gets a specific product variation with a productId.

curl --location --request GET{baseProductId}/variations/{variationProductId}' \
--header 'Authorization: Basic <API_key>' \

An ERID request requires the x-erid-as-pid=true header.

request GET '{baserERID}/variations/{variationERID}' \
--header 'Authorization: Basic <API_key>' \
--header 'header x-erid-as-pid=true' \

Last updated