← API reference
CANONICAL TYPE REFERENCE

UpdateOrderLineInput

Input for updating an order line. Only provided fields are changed.

Parent order ID

Line number within the order

Product ID

Product SKU

Product name

Line item description

Quantity ordered

Unit price

Discount percentage

Discount amount

taxRateFloat

Tax rate percentage

Line total amount

Linked job ID

Linked estimate line ID

Product template used to configure this order line

Published template version frozen at order time

Customer configuration selections

Currency code

notesString

Optional notes

groupKeyString

Groups related order lines for bundled products

Sort order for display

File attachments per component slot. When set, replaces existing attachments.

Override update timestamp (ISO8601). Defaults to now if omitted.

View exact SDL
"""Input for updating an order line. Only provided fields are changed."""
input UpdateOrderLineInput {
  """Parent order ID"""
  orderId: OrderID
  """Line number within the order"""
  lineNumber: Int
  """Product ID"""
  productId: ProductID
  """Product SKU"""
  productSku: String
  """Product name"""
  productName: String
  """Line item description"""
  description: String
  """Quantity ordered"""
  quantity: Int
  """Unit price"""
  unitPrice: Float
  """Discount percentage"""
  discountPercent: Float
  """Discount amount"""
  discountAmount: Float
  """Tax rate percentage"""
  taxRate: Float
  """Line total amount"""
  lineTotal: Float
  """Linked job ID"""
  jobId: JobID
  """Linked estimate line ID"""
  estimateLineId: EstimateLineID
  """Product template used to configure this order line"""
  productTemplateId: ProductTemplateID
  """Published template version frozen at order time"""
  productTemplateVersion: Int
  """Customer configuration selections"""
  templateConfig: JSON
  """Currency code"""
  currency: CurrencyISO
  """Optional notes"""
  notes: String
  """Groups related order lines for bundled products"""
  groupKey: String
  """Sort order for display"""
  sortOrder: Int
  """
  File attachments per component slot. When set, replaces existing attachments.
  """
  attachments: [OrderLineFileAttachmentInput!]
  """Override update timestamp (ISO8601). Defaults to now if omitted."""
  updatedAt: ISO8601
}

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