Skip to main content
Required scopes: inventory_write Store must have one of: WMS

Arguments

Boolean
true applies a count below what open picks reserve in the bin, as confirming the warning in the app does. Those picks then come up short.
Boolean
true counts everything in the bin: a product in the bin but not in items is counted as 0, and an empty items empties the bin. false (the default) changes only the listed products.
String
A key you choose, 1 to 400 characters, that makes a retry safe. Repeating the request with the same key changes nothing more and returns the bin as it is now. The key is kept with the inventory ledger rows the first request wrote, so it never expires; a count that changed no quantity wrote no rows, so its retry counts again. The same key with a different request fails with IDEMPOTENCY_KEY_REUSED (422). Omit it and every call applies.
The lines counted, up to 500.
ID!
required
The bin or storage location counted. Find one with storageLocations.

Returns

A bin, tote, staging area, or other slot that holds inventory within a location.

Example