← API reference
CANONICAL TYPE REFERENCE

UpdatePurchaseOrderInput

Input for updating a purchase order. Only provided fields are changed.

poNumberString

Purchase order number (must be unique per tenant)

Supplier ID

Delivery address ID

PO status

Order date (ISO8601)

Expected delivery date (ISO8601)

Date goods were received (ISO8601)

Subtotal before tax

Tax amount

Total amount including tax

Currency code

Associated job ID

notesString

Notes visible to supplier

Internal notes

Approving user ID

Approval timestamp (ISO8601)

Document attachments. When provided, replaces the entire set of attachments on the PO.

View exact SDL
"""Input for updating a purchase order. Only provided fields are changed."""
input UpdatePurchaseOrderInput {
  """Purchase order number (must be unique per tenant)"""
  poNumber: String
  """Supplier ID"""
  supplierId: SupplierID
  """Delivery address ID"""
  deliveryAddressId: AddressID
  """PO status"""
  status: PurchaseOrderStatus
  """Order date (ISO8601)"""
  orderDate: ISO8601
  """Expected delivery date (ISO8601)"""
  expectedDeliveryDate: ISO8601
  """Date goods were received (ISO8601)"""
  receivedAt: ISO8601
  """Subtotal before tax"""
  subtotalAmount: Float
  """Tax amount"""
  taxAmount: Float
  """Total amount including tax"""
  totalAmount: Float
  """Currency code"""
  currency: CurrencyISO
  """Associated job ID"""
  jobId: JobID
  """Notes visible to supplier"""
  notes: String
  """Internal notes"""
  internalNotes: String
  """Approving user ID"""
  approvedByUserId: UserID
  """Approval timestamp (ISO8601)"""
  approvedAt: ISO8601
  """
  Document attachments. When provided, replaces the entire set of attachments on the PO.
  """
  attachments: [PurchaseOrderFileAttachmentInput!]
}

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