← All types
Sales & CRMIn Input object

UpsertEstimateInput

Input for creating or updating an estimate

Fields

id

EstimateIDOptional

ID for update; omit for create

Estimate reference number (required)

External system reference

HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.

Associated customer ID (required)

Associated contact ID

Billing address ID

Estimate status (defaults to draft)

Possible values (6)
DRAFT

Estimate is in draft state

SENT

Estimate has been sent to the customer

ACCEPTED

Estimate has been accepted by the customer

REJECTED

Estimate has been rejected by the customer

EXPIRED

Estimate has expired

REVISED

Estimate has been revised with a new version

The intent of this estimate (defaults to STANDARD on create; omitted on update keeps the current kind)

Possible values (4)
STANDARD

The default: a quote intended to be shared with a customer

REWORK

A reprint or remake the shop absorbs; backs the job so its costs can be tracked

INTERNAL

House work with no customer charge, such as own stationery or test runs

SAMPLE

A sample produced free of charge

Issue date (ISO8601, required)

Valid until date (ISO8601)

Acceptance timestamp (ISO8601)

Rejection timestamp (ISO8601)

Subtotal before tax (required)

Tax amount (required)

Total amount including tax (required)

Currency code (required)

taxRate

FloatOptional

Tax rate percentage

Order ID if converted

Revision number (defaults to 1)

Parent estimate ID for revisions

notes

StringOptional

Customer-facing notes

Internal notes

tags

[String!]Optional

Tags for categorization

User who created this estimate

Override creation timestamp (ISO8601). Honored only on create — passing on update is rejected.

Override update timestamp (ISO8601). Honored on create or update; defaults to now.

Referenced by (1)
Exact type SDL
"""Input for creating or updating an estimate"""
input UpsertEstimateInput {
  """ID for update; omit for create"""
  id: EstimateID
  """Estimate reference number (required)"""
  estimateNumber: String!
  """External system reference"""
  externalId: String
  """
  HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.
  """
  externalUrl: String
  """Associated customer ID (required)"""
  customerId: CustomerID!
  """Associated contact ID"""
  contactId: ContactID
  """Billing address ID"""
  billingAddressId: AddressID
  """Estimate status (defaults to draft)"""
  status: EstimateStatus
  """
  The intent of this estimate (defaults to STANDARD on create; omitted on update keeps the current kind)
  """
  kind: EstimateKind
  """Issue date (ISO8601, required)"""
  issueDate: ISO8601!
  """Valid until date (ISO8601)"""
  validUntil: ISO8601
  """Acceptance timestamp (ISO8601)"""
  acceptedAt: ISO8601
  """Rejection timestamp (ISO8601)"""
  rejectedAt: ISO8601
  """Subtotal before tax (required)"""
  subtotalAmount: Float!
  """Tax amount (required)"""
  taxAmount: Float!
  """Total amount including tax (required)"""
  totalAmount: Float!
  """Currency code (required)"""
  currency: CurrencyISO!
  """Tax rate percentage"""
  taxRate: Float
  """Order ID if converted"""
  convertedToOrderId: OrderID
  """Revision number (defaults to 1)"""
  revisionNumber: Int
  """Parent estimate ID for revisions"""
  parentEstimateId: EstimateID
  """Customer-facing notes"""
  notes: String
  """Internal notes"""
  internalNotes: String
  """Tags for categorization"""
  tags: [String!]
  """User who created this estimate"""
  createdByUserId: UserID
  """
  Override creation timestamp (ISO8601). Honored only on create — passing on update is rejected.
  """
  createdAt: ISO8601
  """
  Override update timestamp (ISO8601). Honored on create or update; defaults to now.
  """
  updatedAt: ISO8601
}