← All types
Sales & CRMIn Input object

UpsertEstimateLineInput

Input for creating or updating an estimate line

Fields

ID for update; omit for create

Parent estimate ID (required)

lineNumber

Int!Required

Line item number (required)

Associated product ID

Product SKU

Product name (required)

Line item description

quantity

Int!Required

Quantity (required)

Price per unit (required)

Discount percentage

Discount amount

taxRate

FloatOptional

Tax rate percentage

Total for this line item (required)

Currency code (required)

Estimated production cost

Estimated profit margin percentage

notes

StringOptional

Line item notes

sortOrder

IntOptional

Display sort order (defaults to 0)

File attachments per component slot. Copied to the order line on acceptance.

Referenced by (1)
Exact type SDL
"""Input for creating or updating an estimate line"""
input UpsertEstimateLineInput {
  """ID for update; omit for create"""
  id: EstimateLineID
  """Parent estimate ID (required)"""
  estimateId: EstimateID!
  """Line item number (required)"""
  lineNumber: Int!
  """Associated product ID"""
  productId: ProductID
  """Product SKU"""
  productSku: String
  """Product name (required)"""
  productName: String!
  """Line item description"""
  description: String
  """Quantity (required)"""
  quantity: Int!
  """Price per unit (required)"""
  unitPrice: Float!
  """Discount percentage"""
  discountPercent: Float
  """Discount amount"""
  discountAmount: Float
  """Tax rate percentage"""
  taxRate: Float
  """Total for this line item (required)"""
  lineTotal: Float!
  """Currency code (required)"""
  currency: CurrencyISO!
  """Estimated production cost"""
  estimatedCost: Float
  """Estimated profit margin percentage"""
  estimatedMarginPercent: Float
  """Line item notes"""
  notes: String
  """Display sort order (defaults to 0)"""
  sortOrder: Int
  """
  File attachments per component slot. Copied to the order line on acceptance.
  """
  attachments: [EstimateLineFileAttachmentInput!]
}