List the batches (lots) and serial numbers of a variant added to stock

🚧

Beta — subject to change. This endpoint is publicly available, but its request/response shape may evolve before General Availability as we incorporate early feedback.

Lists the batches and serial numbers of one product or material variant
that were added to stock: received on a purchase order, made on a manufacturing order or added by a stock
adjustment, optionally only between two dates. Newest first, at most 100: what one trace takes.

Use it to start a recall from a product rather than a single batch: "every batch of this bread made last week", or
"every batch of this flour we received this year". Pass the batch_id and serial_number_id values to
GET /traceability/trace as batch_ids and serial_number_ids to trace them together.

A receipt or production that was reverted doesn't count as added. Stock that was added and later written off
still counts. When total is more than 100, narrow the dates to reach the older ones.

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

The product or material variant.

date-time

Only stock added at or after this time. ISO 8601 date-time.

date-time

Only stock added at or before this time. ISO 8601 date-time.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json