Skip to content

ProductionReportConsumptionState ​

Type: Object

A single consumable used during the run reported by a ProductionReport.

Fields ​

NameTypeArgsDescriptionDeprecated
createdAtISO8601!ISO-8601 timestamp of when this consumption row was recorded on the platform — not necessarily when the material was consumed on the shop floor.
customUnitStringVertical- or partner-specific unit name (e.g. "sheets"), used when unit is CUSTOM. Null otherwise.
idProductionReportConsumptionID!TypeID of this consumption row (prefix "prc").
metadataJSONFreeform integration-supplied details about the consumption (e.g. a press vendor's ink configuration id). Null when the reporting system supplied none.
productionReportIdProductionReportID!TypeID of the production report this consumption belongs to (prefix "prr").
quantityFloat!How much of the consumable was used during the reported run, expressed in unit.
stockableStockable!The consumable that was used, resolved from (stockableType, stockableId) to the concrete catalog entity by the active vertical; falls back to a StockableMarker carrying the partner-supplied external id and label when the item is not in our catalog.
unitMetricUnit!Unit of measure the quantity is expressed in. CUSTOM means the actual unit name is carried in customUnit.

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