Developers Program

Can I specify a new SKU in my Multi-Variation item with a quantity set to 0 when I list or relist an item?

Published: September 09 2010, 2:08:00 PMยทUpdated: August 16 2022, 8:56:03 PM

Products

Question

Can I specify a new SKU in my Multi-Variation item with a quantity set to 0 when I list or relist an item?

Answer

No, if you select inventory tracking method to SKU, on a multi-variation item, you must specify SKU's with only a quantity of 1 or greater. Specifying 0 quantity would result in the following warning to be returned.

Variations with quantity '0' will be removed.

To avoid the warning only add new SKU's when you have quantity specifed greater than 1.

It is ok to change the quantity to 0 in subsequent ReviseFixedPriceItem requests when neccessary.

When can I specify quantity as 0 for a new variation?

ReviseFixedPriceItem Yes
AddFixedPriceItem No
RelistFixedPriceItem No
How well did this answer your question?