Create Product Lot

Required permission: write_products

Create a lot for a product ahead of receiving, so the dock can select it instead of typing it in. Only organization API keys can create lots, and the product must require lot tracking. Send lot_number, expiration_date, or both; sent alone, expiration_date creates an expiration-only lot.

To lock an inbound shipment item to a lot, pass the lot's ID as product_lot_id on the item, or send lot_number and expiration_date on the item to find or create the lot in one call.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required
≥ 1

The ID of the product to add the lot to. UOM variant products use the lots of their base product, so pass the base product's ID.

string

The lot number. Surrounding spaces are trimmed. Must be unique for the product.

date

The lot's expiration date, in YYYY-MM-DD format.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json