- Expected - Listed on open ASNs, RMAs and Other Deliveries that have not yet been received.
- Processed - Counted on an ASN, RMA or Other Delivery but not yet put-away.
- Put-Away - Has been received on an ASN, RMA or Other Delivery that has not yet been committed to the inventory. If you have auto-commit enabled this should always be 0.
- Available - Available for new orders. Backordered amounts are not reflected as a negative Available amount but are tracked separately as “Backordered”.
- Allocated - Allocated to existing orders but not yet Reserved.
- Reserved - Reserved to a specific shelf location and waiting to be picked.
- Picked - Picked from the shelves but not yet shipped.
- Backordered - Reserved by existing orders but not in stock. Will be automatically converted to Reserved when stock is added. Backordered quantities are not reflected in the Available amount as a negative number.
- Advertised - The “Available” quantity plus the virtual BOM quantity. The virtual BOM quantity is controlled by a product’s “Virtual Inventory” attribute.
- Status - Enabled/Disabled - If “Disabled”, the product is effectively deleted and will not appear in responses to inventory requests.
- Visibility - Visible/Not Visible - If “Not Visible”, the product will not appear in the inventory list but may still be ordered via the Merchant Panel.
Methods
Entity Properties
inventory.list
inventory.list (string|array|null $skus, int|null $warehouseId, string|null $updatedSince)
Get inventory levels for one or more products by SKU. If a warehouse is not specified the sum of all warehouse inventories will be returned, otherwise the inventory levels for the specified warehouse will be returned.
Parameters
SKUs. If not specified then inventory for all SKUs will be returned.
string
- Get inventory for a single product by SKU.array
- Get inventory for the specified products by SKU.null
- Get inventory for all products.
Warehouse. If not specified, returned values represent sums of all warehouses.
Return only SKUs updated since the time specified in the format
2008-07-01T22:38:07+00:00
.Return Value
An array of Inventory Items or an empty array if there were no matching SKUs.Example Request
Get inventory for two SKUs:Request
Request
Request
Example Response
Response
inventory.lots
inventory.lots (null|object $filters, array $options = [])
Retrieve list of lots by filters.
Parameters
Filters to apply for the search.
null
- Retrieve list of all orders.object
- Retrieve list of orders using specified “Search Filters”.
Options to apply for the search.
null
- No options will be applied.object
- Apply specified “Search Options”.
Return Value
An array of objects. Each object will contain Lot Properties.Example Request
Example Response
Error Codes
code | message |
---|---|
102 | Unexpected error applying filters. |
inventory.detailed
inventory.detailed (string|array|null $skus, string|null $updatedSince)
Get global and per-warehouse inventory levels for one or more products by SKU.
Parameters
SKUs. If not specified then inventory for all SKUs will be returned.
string
- Get inventory for a single product by SKU.array
- Get inventory for the specified products by SKU.null
- Get inventory for all products.
Return only SKUs updated since the time specified in the format
2008-07-01T22:38:07+00:00
.Return Value
An array of detailed items inventory, or an empty array if there were no matching SKUs.Example Request
Example Response
Error Codes
code | message |
---|---|
102 | Unexpected error applying filters. |
Entity Properties
Inventory Item
A unique identifier for a product. The SKU does appear on the packing slip. It is recommended that this be human-readable and end with a per-pack quantity to facilitate proper receiving. For example, a single blue widget may be “BlueWidget-1” and a pack of 5 blue widgets may be “BlueWidget-5”. Maximum character length is 64.
The “Expected” quantity.
The “Processed” quantity.
The “Put-Away” quantity.
The “Available” quantity.
The “Allocated” quantity.
The “Reserved” quantity.
The “Picked” quantity.
The “Backordered” quantity. This quantity will not be present for single-warehouse requests since backordered amounts are not apportioned to specific warehouses.
The “Advertised” quantity. This is the “Available” quantity plus the virtual BOM quantity. The virtual BOM quantity is controlled by a product’s “Virtual Inventory” attribute.
The Quantity On Hand is
qty_processed
+ qty_putaway
+ qty_available
+ qty_allocated
+ qty_reserved
+ qty_picked
Lot Properties
The internal lot ID.
Flag whether lot is active.
The “SKU” property.
The “Name” property.
The “Lot Number” property.
The “Expiration Date” property.
The “Origination Date” property.
The “Group Value” property.
The “Created At” property in ISO 8601 format.
A list of locations.
The “Put-Away” quantity.
The “Available” quantity.
The “Reserved” quantity.