Skip to main content
PUT
Update lot

Authorizations

Authorization
string
header
required

An API token from Sign in, sent as Authorization: Bearer <token>. Tokens last 30 days.

Path Parameters

id
integer
required

The lot ID

Example:

1

Body

application/json
name
string

Lot/serial number. Must not be greater than 255 characters.

Example:

"LOT-2026-001"

product_id
integer

Tracked product ID. The id of an existing record in the products_products table.

Example:

1

reference
string | null

Internal lot reference. Must not be greater than 255 characters.

Example:

"BATCH-A1"

description
string | null

Lot description.

Example:

"Primary production batch."

Response

Success