List Stock Lots
GET
/admin/stock-lots
const url = 'http://localhost:9000/admin/stock-lots?limit=15&offset=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:9000/admin/stock-lots?limit=15&offset=0'Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” limit
integer
offset
integer
order
string
fields
string
inventory_item_id
string
stock_location_id
string
enabled
boolean
q
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
stock-lots
Array<object>
object
id
string
inventory_item_id
string
stock_location_id
string
lot_number
string
description
string
enabled
string
stocked_quantity
string
created_at
string format: date-time
updated_at
string format: date-time
count
integer
limit
integer
offset
integer
Example generated
{ "stock-lots": [ { "id": "example", "inventory_item_id": "example", "stock_location_id": "example", "lot_number": "example", "description": "example", "enabled": "example", "stocked_quantity": "example", "created_at": "2026-04-15T12:00:00Z", "updated_at": "2026-04-15T12:00:00Z" } ], "count": 1, "limit": 1, "offset": 1}