← API reference
CANONICAL TYPE REFERENCE

PurchaseOrderLineState

A line item within a purchase order

Unique identifier

Parent purchase order ID

Line number within the PO

Associated substrate ID

Line item description

Supplier's product code

quantityFloat!

Ordered quantity

Unit of measurement

unitPriceFloat!

Price per unit

lineTotalFloat!

Total for this line

Currency code

Quantity received so far

Date goods were received (ISO8601)

notesString

Line item notes

Sort order for display

createdAtString!

Creation timestamp (ISO8601)

updatedAtString!

Last update timestamp (ISO8601)

Parent purchase order. Requires purchaseOrder:read permission.

View exact SDL
"""A line item within a purchase order"""
type PurchaseOrderLineState {
  """Unique identifier"""
  id: PurchaseOrderLineID!
  """Parent purchase order ID"""
  purchaseOrderId: PurchaseOrderID!
  """Line number within the PO"""
  lineNumber: Int!
  """Associated substrate ID"""
  substrateId: SubstrateID
  """Line item description"""
  description: String!
  """Supplier's product code"""
  supplierProductCode: String
  """Ordered quantity"""
  quantity: Float!
  """Unit of measurement"""
  unit: MeasurementUnit!
  """Price per unit"""
  unitPrice: Float!
  """Total for this line"""
  lineTotal: Float!
  """Currency code"""
  currency: CurrencyISO!
  """Quantity received so far"""
  receivedQuantity: Float!
  """Date goods were received (ISO8601)"""
  receivedAt: ISO8601
  """Line item notes"""
  notes: String
  """Sort order for display"""
  sortOrder: Int!
  """Creation timestamp (ISO8601)"""
  createdAt: String!
  """Last update timestamp (ISO8601)"""
  updatedAt: String!
  """Parent purchase order. Requires purchaseOrder:read permission."""
  purchaseOrder: PurchaseOrderState
}

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