object Lot
Fields
| Field | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id | String | Public API ID for this identifiable. | ||||||||||||||||||||||||||||||
legacy_id | BigInt | Numeric legacy ID for this identifiable; use only where legacy IDs are required. | ||||||||||||||||||||||||||||||
account_id | String | Public API account ID that identifies the related record. | ||||||||||||||||||||||||||||||
po_id | String | DEPRECATED An expiration lot could have more than one purchase order associated. Check purchase_orders field. Public API PO ID that identifies the related record. Deprecated; see the deprecation reason for current behavior. | ||||||||||||||||||||||||||||||
name | String | Human-readable name for this lot. | ||||||||||||||||||||||||||||||
sku | String | SKU. SKU matching is case-insensitive and ignores surrounding whitespace. | ||||||||||||||||||||||||||||||
created_at | ISODateTime | Created at as an ISO-8601 datetime, returned in UTC unless otherwise noted. | ||||||||||||||||||||||||||||||
updated_at | ISODateTime | Updated at as an ISO-8601 datetime, returned in UTC unless otherwise noted. | ||||||||||||||||||||||||||||||
expires_at | ISODateTime | Expires at as an ISO-8601 datetime, returned in UTC unless otherwise noted. | ||||||||||||||||||||||||||||||
received_at | ISODateTime | Received at as an ISO-8601 datetime, returned in UTC unless otherwise noted. | ||||||||||||||||||||||||||||||
is_active | Boolean | Whether this lot is active. | ||||||||||||||||||||||||||||||
locations | LocationConnection | List of locations associated with this lot. | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
purchase_orders | PurchaseOrderConnection | List of purchase orders associated with this lot. | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
Referenced By
- CreateLotOutput Type
- DeleteLotOutput Type
- ItemLocation Type
- LotEdge Type
- ShipmentLineItem Type
- UpdateLotOutput Type
Example
{
"id": "UmVjb3JkOjEyMzQ=",
"legacy_id": 1234,
"account_id": "QWNjb3VudDoxMjM0",
"po_id": "TG90OjEyMzQ=",
"name": "LOT-2026-001",
"sku": "BLUE-TEE-M",
"created_at": "2026-07-09T15:30:00Z",
"updated_at": "2026-07-09T15:30:00Z",
"expires_at": "2026-07-09T15:30:00Z",
"received_at": "2026-07-09T15:30:00Z",
"is_active": true,
"locations": [{id: "TG9jYXRpb246MTIzNA==", name: "A01-01-01"}],
"purchase_orders": [{id: "T3JkZXI6MTIzNA==", order_number: "SO-100045"}]
}