Skip to main content

batch

Loads a single Batch by id.

Required scopes​

The token needs the batches:read access scope.

batch(
id: ID!
): Batch

Arguments​

batch.id ● ID! non-null scalar​

Type​

Batch object​

A batch of a product (e.g. lot, serial group). Used to track stock down to a batch level for products with expiry dates or batch-traceable inventory. The (productId, number) pair is unique.