Loading...
Was this page helpful?
This documentation provides a reference to the adjustInventory
method. This belongs to the Inventory Next Module.
This method adjusts the inventory quantity of an item in a location.
1const inventoryLevel1 =2 await inventoryModuleService.adjustInventory([3 // add to the inventory quantity4 {5 inventoryItemId: "iitem_123",6 locationId: "loc_123",7 adjustment: 58 },9 // subtract from the inventory quantity10 {11 inventoryItemId: "iitem_321",12 locationId: "loc_321",13 adjustment: -514 }15 ])
data
object[]Promise
Promise<InventoryLevelDTO[]>inventoryItemId
stringlocationId
stringadjustment
BigNumberInputPromise
Promise<InventoryLevelDTO>