Appearance
UpsertEstimateLineInput
Type: Input
Input for creating or updating an estimate line
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| attachments | [EstimateLineFileAttachmentInput!] | File attachments per component slot. Copied to the order line on acceptance. | |
| currency | CurrencyISO! | Currency code (required) | |
| description | String | Line item description | |
| discountAmount | Float | Discount amount | |
| discountPercent | Float | Discount percentage | |
| estimatedCost | Float | Estimated production cost | |
| estimatedMarginPercent | Float | Estimated profit margin percentage | |
| estimateId | EstimateID! | Parent estimate ID (required) | |
| id | EstimateLineID | ID for update; omit for create | |
| lineNumber | Int! | Line item number (required) | |
| lineTotal | Float! | Total for this line item (required) | |
| notes | String | Line item notes | |
| productId | ProductID | Associated product ID | |
| productName | String! | Product name (required) | |
| productSku | String | Product SKU | |
| quantity | Int! | Quantity (required) | |
| sortOrder | Int | Display sort order (defaults to 0) | |
| taxRate | Float | Tax rate percentage | |
| unitPrice | Float! | Price per unit (required) |