List inventory items
Use the Inventory Resource to retrieve ShipBob inventory items and quantities.
An inventory item is a representation of a physical good that may or may not have physical stock in ShipBob’s fulfillment centers. Every product will have one or more inventory items mapped to it.
A bundle product (a set of products that are sold as one combined package – e.g., gift packs or multipacks) is an example of a product that has two or more inventory items mapped to it.
Lot items are physical items that have expiration dates or batch numbers and should be fulfilled in a FIFO (First In, First Out) manner. Most food items are lot items. Quantities by lot number and/or expiration date are also listed in the Inventory object.
Authorizations
Authentication using Personal Access Token (PAT) token
Query Parameters
Page of inventory items to get
0 <= x <= 2147483647
Amount of inventory items per page to request
1 <= x <= 250
Whether the inventory should be active or not
Whether the inventory is digital or not
Comma separated inventory ids to filter by
Sort will default to ascending order for each field. To sort in descending order please pass a "-" in front of the field name. For example, Sort=-onHand,name will sort by onHand descending
Search is available for 2 fields, Inventory ID and Name -
- Expected behavior for search by Inventory ID is exact match
- Expected behavior for search by Inventory Name is partial match, i.e. does not have to be start of word, but must be consecutive characters. This is not case sensitive.
LocationType is valid for hub, spoke, or lts. LocationType will default to all locations.
Response
Success
The response is of type object[]
.