List Batches For Stock

Lists the per-batch quantities behind a batch-tracked stock record (one location). The envelope carries the parent stock record alongside the paginated rows. Requires the Read Stock permission on the stock's location.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

Stock id

Query Params
integer

Page number (default 1)

integer

Rows per page (default 20)

string

Sort order, field or field:asc|desc. Allowed fields: count, expiry, number. Default count:desc.

Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json