Skip to main content
Published: January 14 2010, 11:49:00 PMUpdated: November 28 2020, 8:08:16 PM

If I change the quantity of a fixed price item, using calls such as ReviseInventoryStatus, ReviseFixedPriceItem, etc. it does not get set to what I sent.  For instance, if I set the Quantity to 5 and make a GetItem call, I see the quantity is 7.  However, if I go to the view item page for the item, it shows the available quantity correctly as 5.  Why am I seeing this discrepancy with the APIs?

Summary

   If an item has a sale, then the quantity sold is added to the quantity that is sent in the revise calls.  This is done, because there is no explicit field in the API calls to indicate the quantity available.  To derive the quantity available, you need to subtract the quantity sold from the Item.Quantity or Variation.Quantity. 

How well did this answer your question?
Answers others found helpful