← All types
Sales & CRMIn Input object

UpdatePurchaseOrderInput

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

Fields

Purchase order number (must be unique per tenant)

Supplier ID

Delivery address ID

PO status

Possible values (7)
DRAFT

Draft purchase order

SUBMITTED

Submitted to supplier

ACKNOWLEDGED

Acknowledged by supplier

PARTIALLY_RECEIVED

Partially received goods

RECEIVED

All goods received

CANCELLED

Cancelled purchase order

DISPUTED

Disputed purchase order

Order date (ISO8601)

Expected delivery date (ISO8601)

Date goods were received (ISO8601)

Subtotal before tax

Tax amount

Total amount including tax

Currency code

jobId

JobIDOptional

Associated job ID

notes

StringOptional

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.

Referenced by (1)
Exact type 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!]
}