Skip to main content
PATCH
Update a lot

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Path Parameters

lotId
integer
required

Lot ID

Body

application/json
lot_number
string | null

Lot number, unique per product

Maximum string length: 255
manufacturer_code
string | null

Manufacturer code for the lot

Maximum string length: 255
production_date
string<date> | null

Production date

expiry_date
string<date> | null

Expiry date; must be on or after the production date

Response

Updated lot

data
object

A product lot (batch) for a lot-tracked product. Holds metadata only — lot quantities live in inventory stock and are changed through inventory adjustments, not through the lot endpoints.