Appearance
GenerateEstimateInput
Type: Input
Input for generating an automated estimate from product specifications
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| billingAddressId | AddressID | Billing address ID (optional) | |
| contactId | ContactID | Contact ID (optional) | |
| currency | CurrencyISO! | Currency code (required) | |
| customerId | CustomerID! | Customer ID for the estimate | |
| estimateNumber | String | Optional estimate number (auto-generated if omitted) | |
| internalNotes | String | Internal notes (not shown to customer) | |
| items | [QuoteItemInput!]! | Items to quote (one estimate line per item) | |
| marginPercent | Float | Target margin percentage applied to all items | |
| notes | String | Notes for the estimate | |
| taxRate | Float | Default tax rate for all items | |
| validUntilDays | Int | Number of days the estimate is valid (default: 30) |