Skip to content

PurchaseOrderLineInput ​

Type: Input

One line of a new purchase order. Its line number, line total and currency are derived server-side; only what is ordered, how much, and at what price is supplied.

Fields ​

NameTypeDefaultDescription
descriptionString!Free-text description of what is being ordered, as it should appear on the purchase order. Must not be blank.
quantityFloat!Amount being ordered, expressed in unit. Must be greater than zero.
substrateIdSubstrateIDTypeID ("sub_01K…") of the substrate being ordered, when the line is for a catalogued substrate. Null for free-text lines; only lines carrying a substrate can be turned into warehouse stock on receipt.
supplierProductCodeStringThe supplier's own article/SKU code for this item, recorded so the order can be matched against their catalogue. Null when not known.
unitMeasurementUnit!Unit of measure the line's quantity is expressed in (e.g. SHEET, KG, PC).
unitPriceFloat!Price of one unit, in the order's currency. May be zero (e.g. free samples) but never negative. Line total is computed as quantity × unitPrice.

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