← All types
Ob Object

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.

Fields

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.

errors

[FieldError!]!Non-null

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.

Referenced by (1)
Exact type 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!]!
}