List Batches For Variant

Lists all batches of a batch-tracked variant across the company. Requires the company-level Read Stock permission. q_number matches the full batch number exactly (partial values return nothing).

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

Variant id

Query Params
integer

Page number (default 1)

integer

Rows per page (default 20)

string

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

string

Filter by exact batch number, e.g. B1-3D8A83

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