Appearance
UpdateOrderLineInput
Type: Input
Input for updating an order line. Only provided fields are changed.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| attachments | [OrderLineFileAttachmentInput!] | File attachments per component slot. When set, replaces existing attachments. | |
| currency | CurrencyISO | Currency code | |
| description | String | Line item description | |
| discountAmount | Float | Discount amount | |
| discountPercent | Float | Discount percentage | |
| estimateLineId | EstimateLineID | Linked estimate line ID | |
| groupKey | String | Groups related order lines for bundled products | |
| jobId | JobID | Linked job ID | |
| lineNumber | Int | Line number within the order | |
| lineTotal | Float | Line total amount | |
| notes | String | Optional notes | |
| orderId | OrderID | Parent order ID | |
| productId | ProductID | Product ID | |
| productName | String | Product name | |
| productSku | String | Product SKU | |
| productTemplateId | ProductTemplateID | Product template used to configure this order line | |
| productTemplateVersion | Int | Published template version frozen at order time | |
| quantity | Int | Quantity ordered | |
| sortOrder | Int | Sort order for display | |
| taxRate | Float | Tax rate percentage | |
| templateConfig | JSON | Customer configuration selections | |
| unitPrice | Float | Unit price | |
| updatedAt | ISO8601 | Override update timestamp (ISO8601). Defaults to now if omitted. |