Inventory service doesn't update a product directly


#1

Hi! After decrementing the stock of my product from 3 to 0, I still get 3 returned from the API for the project object. What gives?


#2

Hi,

We’re in the process of deprecating the stock fields on the product entity in favour of the inventories system we’re rolling out. Right now that field exists for backwards compatibility.

Going forward, we’d recommend you use the inventories service to get and set inventory data for a product.

Thanks,
James


#3

For those interested, this announcement will provide further colour on the issue - Important Update to your Inventory