Skip to main content
inputAddToInventoryCountCommandRequestInput

Fields

warehouseId
ID!
required

Unique identifier of the standard warehouse in which the inventory takes place.

itemId
ID!
required

Unique identifier of the counted item.

quantity
Decimal!
required

The counted quantity of the item. Must not be negative; a whole number unless the item is divisible.

shelfLifeEndDate
DateTime

The best-before date of the counted stock. Required for items managed by best-before date, not allowed otherwise.

batchNumber
String

The batch number of the counted stock. Required for items managed by batch number, not allowed otherwise.

serialNumber
String

The serial number of the counted unit. Required for items managed by serial number, not allowed otherwise; the quantity must then be 1.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.