List stock levels
One row per variant per stock location, carrying every figure the
Inventory page shows: count_on_hand (on hand), allocated_count
(committed to placed orders), reserved_count (held by checkouts in
progress), available_count (on hand minus committed) and
incoming_count (on its way on an open purchase order or a transfer
in transit). The variant and location are named flat on the row
(variant_name, variant_sku, stock_location_name, thumbnail_url)
so a list needs no expansion.
Filter with q[stock_location_id_eq], q[variant_id_eq] or
q[variant_sku_or_variant_product_name_cont].
Required scope: read_stock (for API-key authentication).
Filters
Filter withq[<attribute>_<predicate>]=value, for example q[allocated_count_eq]=…. Send a list as q[<attribute>_in][]=a&q[<attribute>_in][]=b. How filters work.
Filters through associations
Filters through associations
q[stock_location_id_eq]. The same predicates apply.allocated_count, count_on_hand, created_at, id, incoming_count, reserved_count, stock_location_id, updated_at, variant_id. Prefix a field with - to sort descending.Authorizations
Secret API key for admin access
JWT token for admin user authentication
Query Parameters
Matches any of variant sku and variant product name (partial, case-insensitive).
Applies with_stock_status to the given value.
Page number
Number of records per page
Attribute filters, as q[<attribute>_<predicate>]=value. See Filters above for the list.

