StocktakeCountedLine type
One counted line of a stocktake.
Fields
variantId
The product variant's MAX id.
productVariant
The product variant. Its externalRefs name it in the external system. Requires the
item.read permission. Without it, the field is null with a FORBIDDEN_ROLE error at its
path, and the rest of the response is returned.
locationId
The bin's MAX id.
locationCode
String!
The bin's code.
lotId
The lot's MAX id. Null for a line without a lot, or a batch first found while counting.
lot
The lot. Null without one. Requires the lot.read permission. Without it, the field is null
with a FORBIDDEN_ROLE error at its path, and the rest of the response is returned.
newBatchCode
String
The number of a batch found while counting, which has no lot yet. Requires the lot.read
permission. Without it, the field is null without an error.
newSerialNumber
String
The new batch's serial number. Requires the lot.read permission. Without it, the field is
null without an error.
newExpiresAt
The new batch's expiry. Requires the lot.read permission. Without it, the field is null
without an error.
quantity
What was counted, in base units, after the manager's corrections.