Skip to content

UpsertOrderLineInput ​

Type: Input

Input for creating or updating an order line

Fields ​

NameTypeDefaultDescription
attachments[OrderLineFileAttachmentInput!]File attachments per component slot. When set, replaces existing attachments on update.
createdAtISO8601Override creation timestamp (ISO8601). Honored only on create — passing on update is rejected.
currencyCurrencyISOCurrency code
descriptionStringLine item description
discountAmountFloatDiscount amount
discountPercentFloatDiscount percentage
estimateLineIdEstimateLineIDLinked estimate line ID
groupKeyStringGroups related order lines for bundled products
idOrderLineIDOptional ID for updates
jobIdJobIDLinked job ID
lineNumberInt!Line number within the order
lineTotalFloat!Line total amount
notesStringOptional notes
orderIdOrderIDParent order ID
productIdProductIDProduct ID
productNameString!Product name
productSkuStringProduct SKU
productTemplateIdProductTemplateIDProduct template used to configure this order line
productTemplateVersionIntPublished template version frozen at order time
quantityInt!Quantity ordered
sortOrderIntSort order for display
taxRateFloatTax rate percentage
templateConfigJSONCustomer configuration selections
unitPriceFloat!Unit price
updatedAtISO8601Override update timestamp (ISO8601). Honored on create or update; defaults to now.

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