Appearance
DuplicateEstimateForCustomerPayload
Type: Object
Result of duplicating an estimate for another customer. The estimate and its lines are written in one transaction — either the whole copy exists or none of it does.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| errors | [FieldError!]! | Field-level errors. Empty on success; a single "estimate not found" entry on estimateId when the source does not exist in the caller's tenant, in which case nothing was written. | ||
| estimate | EstimateState | The newly created estimate: status DRAFT, revision 1, no parent estimate, issued today, carrying the source's validity date, currency and tax rate. Null when the source estimate was not found. | ||
| estimateLines | [EstimateLineState!] | The copied lines, in the source's sort order, with unit prices and line totals re-priced by adjustPricePercent. New EstimateLineID TypeIDs (e.g. "esl_01K…"). Null when the source estimate was not found. |