← API reference
CANONICAL TYPE REFERENCE

DuplicateEstimateForCustomerPayload

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.

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.

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.

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.

View exact SDL
"""
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.
"""
type DuplicateEstimateForCustomerPayload {
  """
  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.
  """
  estimate: EstimateState
  """
  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.
  """
  estimateLines: [EstimateLineState!]
  """
  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.
  """
  errors: [FieldError!]!
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.