Skip to content

UpdateWarehouseStockInput ​

Type: Input

Patch input for updateWarehouseStock: only the fields supplied are applied to the existing record; omitted fields keep their current value.

Fields ​

NameTypeDefaultDescription
batchNumberStringNew batch/lot number. Omit to leave unchanged — this patch cannot clear an existing value.
expiryDateISO8601New ISO-8601 expiry timestamp for the batch. Omit to leave unchanged — this patch cannot clear an existing value.
lastCountedAtISO8601ISO-8601 timestamp of the physical count this update records. Omit to leave unchanged — this patch cannot clear an existing value.
locationIdWarehouseLocationIDMove the stock to this WarehouseLocation TypeID (wlc_…). Omit to leave the location unchanged.
notesStringNew operator notes. Omit to leave unchanged — this patch cannot clear an existing value.
quantityFloatNew quantity on hand, in the record's unit. Must not be negative, and must not drop below the record's reserved quantity. Omit to leave unchanged.
reservedQuantityFloatNew quantity committed to jobs. Must be between 0 and the record's quantity. Omit to leave unchanged.
stockableIdStringRe-point the record at a different catalog entity of stockableType (its TypeID). Omit to leave unchanged.
stockableTypeStockableTypeRe-point the record at a different kind of stockable item. Omit to leave unchanged; normally changed together with stockableId.
unitMeasurementUnitNew unit of measure for the record's quantities (quantities are not converted). Omit to leave unchanged.

Connect machines, automate workflows, and build custom apps for print production.