← All types
Materials & logisticsIn Input object

UpdateWarehouseStockInput

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

Fields

Move the stock to this WarehouseLocation TypeID (wlc_…). Omit to leave the location unchanged.

Re-point the record at a different kind of stockable item. Omit to leave unchanged; normally changed together with stockableId.

Possible values (7)
OPERATION_PRODUCT

Durable operation output identity. Actual stock receipts remain gated pending the material receipt service.

SUBSTRATE

Substrate / paper / media.

COMPONENT

A component used in production.

FINISHED_GOODS

Finished goods.

TOOL

Tooling.

INK

Ink.

CONSUMABLE

Generic consumable.

Re-point the record at a different catalog entity of stockableType (its TypeID). Omit to leave unchanged.

New 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.

New unit of measure for the record's quantities (quantities are not converted). Omit to leave unchanged.

Possible values (15)
CLICK

A billing counter rather than a physical measure: one metered page charged under a cost-per-click press or copier contract.

CM

Centimetres — metric length, a hundredth of a metre.

FT

Feet — imperial length, twelve inches.

G

Grams — metric mass, for light items stocked by weight.

IMPRESSION

A production counter rather than a physical measure: one pass of one sheet through a press. Distinct from SHEET, since a sheet printed on both sides can cost two impressions.

IN

Inches — imperial length, the unit paper sizes are quoted in outside metric markets.

KG

Kilograms — metric mass, the usual unit for reel and other bulk substrate stock.

LB

Pounds — imperial mass, roughly 0.45 kg.

M

Metres — metric length, the usual unit for material bought by the running metre such as a reel or a roll of laminate.

MM

Millimetres — metric length, a thousandth of a metre, and the granularity trim sizes and other sheet dimensions are normally given in.

OZ

Ounces — imperial mass, a sixteenth of a pound.

PC

Pieces: a plain count of discrete items, carrying no dimension at all. The unit stock and transfer quantities fall back to when none is given.

PT

Points — the typographic length unit of one seventy-second of an inch, used for type sizes and rule weights rather than for stock quantities.

REPEAT

One printed repeat of a web: a cut-off in web offset, a repeat in flexo and labels. What a roll press counts when it produces signatures.

SHEET

A count of substrate sheets, the usual unit for sheet-fed stock. Counts the physical sheets held or moved, not the press passes over them (see IMPRESSION).

New quantity committed to jobs. Must be between 0 and the record's quantity. Omit to leave unchanged.

New batch/lot number. Omit to leave unchanged — this patch cannot clear an existing value.

New ISO-8601 expiry timestamp for the batch. Omit to leave unchanged — this patch cannot clear an existing value.

ISO-8601 timestamp of the physical count this update records. Omit to leave unchanged — this patch cannot clear an existing value.

notes

StringOptional

New operator notes. Omit to leave unchanged — this patch cannot clear an existing value.

Referenced by (1)
Exact type SDL
"""
Patch input for `updateWarehouseStock`: only the fields supplied are applied to the existing record; omitted fields keep their current value.
"""
input UpdateWarehouseStockInput {
  """
  Move the stock to this WarehouseLocation TypeID (`wlc_…`). Omit to leave the location unchanged.
  """
  locationId: WarehouseLocationID
  """
  Re-point the record at a different kind of stockable item. Omit to leave unchanged; normally changed together with `stockableId`.
  """
  stockableType: StockableType
  """
  Re-point the record at a different catalog entity of `stockableType` (its TypeID). Omit to leave unchanged.
  """
  stockableId: String
  """
  New 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.
  """
  quantity: Float
  """
  New unit of measure for the record's quantities (quantities are not converted). Omit to leave unchanged.
  """
  unit: MeasurementUnit
  """
  New quantity committed to jobs. Must be between 0 and the record's quantity. Omit to leave unchanged.
  """
  reservedQuantity: Float
  """
  New batch/lot number. Omit to leave unchanged — this patch cannot clear an existing value.
  """
  batchNumber: String
  """
  New ISO-8601 expiry timestamp for the batch. Omit to leave unchanged — this patch cannot clear an existing value.
  """
  expiryDate: ISO8601
  """
  ISO-8601 timestamp of the physical count this update records. Omit to leave unchanged — this patch cannot clear an existing value.
  """
  lastCountedAt: ISO8601
  """
  New operator notes. Omit to leave unchanged — this patch cannot clear an existing value.
  """
  notes: String
}