API: Batches
API: Batches
API: Batches
The Batches API lets you create and manage production batches for products. Each batch represents a specific production run and can be independently tracked, updated, and used as the scope for minting a Digital Product Passport.
All RPCs require an authenticated session. Mutations require a role with sufficient permissions for the target brand.
Creates a new production batch for a product.
Request
Response
Errors
Notes
_production_date, _quantity, _facility_ref, and _attributes are optional._batch_number must be unique within the product.Returns all batches for a given product.
Request
Response
Errors
Updates an existing batch’s metadata.
Request
Response
Errors