Hi,
we would like to know which api exactly is to update inventory?
We use the createOrReplaceInventoryItem api to upload products, and we need to pass an inventory field, item.availability.shipToLocationAvailability.quantity.
When creating an offer, we also need to pass an inventory field, offer.availableQuantity.
Then last time I posted a question asking how to bulk update inventory and the answer I got was the bulkUpdatePriceQuantity interface. And this interface updates the availableQuantity of the offer.
Because we do not need to update items frequently, there will be a problem, item.availability.shipToLocationAvailability.quantity and offer.availableQuantity are not the same, but the inventory displayed on the product page does not know which one it is? Sometimes item.availability.shipToLocationAvailability.quantity, sometimes offer.availableQuantity.
If item.availability.shipToLocationAvailability.quantity is 0, no matter how much offer.availableQuantity is updated, the page will always display OUT_OF_STOCK.
How should we update inventory in batches? We also don't want to frequently request the createOrReplaceInventoryItem api because there is a limit of 250 items per day.