Developers Program

Change the Value of the SKU in a Variation using ReviseFixedPriceItem

Published: January 30 2013, 4:09:00 PMยทUpdated: August 25 2022, 3:05:21 AM

Products

Question

How can I revise the value of the SKU of a variation in a multi-Variation Item using the ReivseFixedPriceItem

Answer

If you want to revise the Item.Variations.Variation.SKU using the ReviseFixedPriceItem API Call, you need to specify the entire Item.Variations.Variation Container for the new SKU in the Item.Variations container. This means that you will have to pick and use the entire Variation Container for the SKU that you want to change and just change the SKU value.

<ReviseFixedPriceItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
:
<Item>
:
<Variations>
<Variation>
<SKU>AERFMKMSSS</SKU>
<StartPrice currencyID="USD">59.95</StartPrice>
<Quantity>7</Quantity>
<VariationSpecifics>
<NameValueList>
<Name>COLOR</Name>
<Value>Blue</Value>
</NameValueList>
<NameValueList>
<Name>SIZE</Name>
<Value>Regular</Value>
</NameValueList>
</VariationSpecifics>
<SellingStatus>
<QuantitySold>0</QuantitySold>
</SellingStatus>
</Variation>
</ReviseFixedPriceItemRequest>
How well did this answer your question?