Use this API to update an item's inventory data in the Dsco Platform.
Reference the ItemInventory JSON Object.
The Update Item Inventory API documents the API's URL, it's arguments/return values and how to interact with it (GET, POST, PUT, etc.) in the Dsco Interactive Playground.
Input Item Inventory JSON Object
Pass an instance of an ItemInventory JSON Object as the body of the http request and that item's inventory will be updated. The following attributes will be updated if they have changed:
- title - the item's title
Be sure to include dscoSupplierId.
If the quantityAvailable is updated to zero when it previously wasn't zero the item's inventory status will be set to "out-of-stock".
If the quantity available is updated to greater than zero when it was previously zero the item's inventory status will be set to "in-stock".
This API simply returns an HTTP 200 success when the order's shipment is updated successfully.