Skip to content

UpsertProductionPlanInput ​

Type: Input

Input for creating or overwriting a production plan together with its full set of planned operations and edges in one transaction.

Fields ​

NameTypeDefaultDescription
edges[PlannedEdgeInput!]!The plan's full set of dependency edges, addressing steps by their index in plannedOperations. Replaces any existing edges and must form a DAG.
idProductionPlanIDTypeID of an existing plan (ppl_…) to overwrite in place, keeping its version and createdAt. Omit — or pass an id that no longer exists — to create a new plan at the job's next version.
jobIdJobID!TypeID of the job (job_…) this plan manufactures. All referenced operations must belong to it.
nameString!Plan name. Must not be blank.
plannedOperations[PlannedOperationInput!]!The plan's full set of production steps. Replaces any existing steps (delete-then-insert), so previously issued planned-operation ids are not preserved.
statusProductionPlanStatusLifecycle state to write. Defaults to DRAFT. Setting ACTIVE archives every other active plan of the same job in the same transaction.

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