Skip to main content
Required scopes: inventory_write Store must have one of: IMS, WMS

Arguments

required
The lot’s expiration date, on or after January 1, 2000 and distinct from reserved placeholder dates.
ID!
required
The warehouse associated with the new lot.
String!
required
A lot number of 1 to 255 characters, unique within the product.
ID!
required
The lot-tracked product to create a lot for.

Returns

A tracked batch of inventory, including lots with no stock.

Errors

Besides the errors any request can return, this operation fails with these codes in extensions.code.

Example