Get a paginated list of inventory stock levels with various filter options.
For detailed information about the filtering system and available operators, refer to the Filter System Documentation.
By default, results are sorted by updated_at in descending order. This field changes frequently as stock levels are updated, which can cause issues when paginating through results:
Recommendation: When pulling all stocks or paginating through large datasets, use a more stable sort field such as:
product.id:asc - Sort by product ID (most stable)product.sku:asc - Sort by product SKUproduct.name:asc - Sort by product nameExample: ?sort=product.id:asc&per_page=100
product.id - Sort by product IDproduct.sku - Sort by product SKUproduct.name - Sort by product nameupdated_at - Sort by last stock update date (default: updated_at:desc)Sort format: field:direction where direction is asc (ascending) or desc (descending).
Examples:
?sort=product.id:asc - Sort by product ID ascending?sort=product.sku:desc - Sort by product SKU descending?sort=product.name:asc - Sort by product name ascending?sort=updated_at:asc - Sort by update date ascending (overrides default)location: Filter by location IDwarehouse_ids: Filter by warehouse ID(s), comma-separatedwarehouse_group_ids: Filter by warehouse group ID(s), comma-separatedqty_onhand: Filter by quantity on handqty_pending: Filter by pending quantityqty_available: Filter by available quantityqty_incoming: Filter by incoming quantityqty_backordered: Filter by quantity backorderedqty_available_via_assembly: Filter by quantity available via assemblyqty_recoverable_via_disassembly: Filter by quantity recoverable via disassemblyqty_outstanding: Filter by quantity outstandingupdated_at: Filter by last stock update datediscontinued: Filter by discontinued status (0 = not discontinued, 1 = discontinued, 2+ = all)sku: Filter by SKU (searches product name, internal SKU, UPC, and alternate SKUs)product_name: Filter by product namecategory_id: Filter by category ID(s), comma-separatedsubcategory_ids: Filter by subcategory ID(s), comma-separatedproduct.name: Product nameproduct.description: Product descriptionproduct.sku: Product SKU (searches both internal SKU and alternate SKUs)product.upc: Product UPC/Barcodeproduct.tag: Product tagsproduct.q: General search matches name OR upc OR skuproduct.category.name: Filter by category nameproduct.sub_category.name: Filter by sub-category nameproduct.supplier.name: Filter by supplier nameproduct.id: Filter by product IDproduct.category.id: Filter by category IDproduct.sub_category.id: Filter by sub-category IDproduct.supplier.id: Filter by supplier IDproduct_type_id: Filter by product type IDproduct_type: Filter by product typeproduct.retail_price: Product retail priceproduct.wholesale_price: Product wholesale priceproduct.product_weight: Product weightproduct.product_length: Product length (in inches)product.product_width: Product width (in inches)product.product_height: Product height (in inches)product.box_length: Box length (in inches)product.box_width: Box width (in inches)product.box_height: Box height (in inches)product.carton_length: Carton length (in inches)product.carton_width: Carton width (in inches)product.carton_height: Carton height (in inches)product.shipping_length: Shipping length (in inches)product.shipping_width: Shipping width (in inches)product.shipping_height: Shipping height (in inches)product.pallet_length: Pallet length (in inches)product.pallet_width: Pallet width (in inches)product.pallet_height: Pallet height (in inches)product.box_weight: Box weightproduct.carton_weight: Carton weightproduct.shipping_weight: Shipping weightproduct.pallet_weight: Pallet weightproduct.sellable: If the product is sellable or notproduct.discontinued: If the product is discontinuedproduct.created_at: When the product was createdproduct.updated_at: When the product was last updated# Find stock for products by SKU
?product.sku[eq]=SKU-001
# Find stock for products by multiple SKUs
?product.sku[in]=SKU-001,SKU-002,SKU-003
# Find stock for specific product by ID
?product.id[eq]=12345
# Find stock for multiple products by ID
?product.id[in]=12345,67890,11111
# Find stock for products in specific price range
?product.retail_price[gte]=50.00&product.retail_price[lte]=100.00
# Find stock for recently updated products
?product.updated_at[gte]=2024-01-01 00:00:00
# Find stock for products where name contains "Partial text"
?product.name[contains]=Partial text
# Find stock for products in specific category and location
?product.category.name[eq]=Electronics&location=123
# Find stock for products from specific supplier in certain warehouses
?product.supplier.name[contains]=Acme&warehouse_ids=1,2,3
# Find stock with specific quantity levels
?qty_onhand[gte]=100&qty_available[gt]=0
# Find stock with low inventory
?qty_onhand[lte]=10
# Find stock with pending quantities
?qty_pending[gt]=0
# Find stock with incoming inventory
?qty_incoming[gte]=50
# Find stock with backordered quantities
?qty_backordered[gt]=0
# Find stock with assembly availability
?qty_available_via_assembly[gte]=10
# Find stock recoverable via disassembly
?qty_recoverable_via_disassembly[gt]=5
# Find stock with outstanding quantities
?qty_outstanding[gt]=0
# Find stock updated after a specific date
?updated_at[gte]=2024-01-01 00:00:00
# Find stock by product type
?product_type[eq]=KIT
# Find stock by product type ID
?product_type_id[eq]=1
# Find stock for sellable products only
?product.sellable=1
# Find stock for discontinued products
?product.discontinued=1
# Search across multiple product fields
?product.q[contains]=laptop
# Sort examples (recommended for pagination)
# Sort by product ID for stable pagination
?sort=product.id:asc&per_page=100
# Sort by product SKU
?sort=product.sku:asc
# Sort by product name
?sort=product.name:asc
# Sort by update date ascending (overrides default DESC)
?sort=updated_at:asc
# Combine sorting with filters
?product.category.id[eq]=5&sort=product.name:asc&per_page=50
Authenticate using a bearer token. To obtain a token, contact developers@joinluminous.com
Page number for pagination
Number of items per page
Sort results by field and direction. Format: field:direction
⚠️ Warning: Default sorting by updated_at changes frequently and can cause pagination issues.
For stable pagination, use product.id:asc, product.sku:asc, or product.name:asc.
Available sort fields:
product.id - Product IDproduct.sku - Product SKUproduct.name - Product nameupdated_at - Last stock update date (default)Examples:
product.id:asc - Sort by product ID ascendingproduct.sku:desc - Sort by product SKU descendingproduct.name:asc - Sort by product name ascendingupdated_at:asc - Sort by update date ascendingFilter by location ID
Filter by warehouse ID(s), comma-separated
Filter by warehouse group ID(s), comma-separated
Filter by quantity on hand
Filter by pending quantity
Filter by available quantity
Filter by incoming quantity
Filter by quantity backordered
Filter by quantity available via assembly
Filter by quantity recoverable via disassembly
Filter by quantity outstanding
Filter by last stock update date
Filter by discontinued status (0 = not discontinued, 1 = discontinued, 2+ = all)
Filter by SKU (searches product name, internal SKU, UPC, and alternate SKUs)
Filter by product name
Filter by category ID(s), comma-separated
Filter by subcategory ID(s), comma-separated
Filter by product type
Filter by product type ID
Filter by name OR upc OR sku
Filter by product ID
Filter by product name
Filter by product description
Filter by SKU (searches both internal and alternate SKUs)
Filter by UPC/Barcode
Filter by sellable status
Filter by whether the product is discontinued
Filter by retail price
Filter by wholesale price
Filter by creation date
Filter by last update date
Filter by product tags
Filter by category ID
Filter by category name
Filter by sub-category ID
Filter by sub-category name
Filter by supplier ID
Filter by supplier name