← API reference
CANONICAL TYPE REFERENCE

ReceivePurchaseOrderInput

Input for receivePurchaseOrder. The order becomes RECEIVED once every one of its lines has been received in full, and PARTIALLY_RECEIVED otherwise.

TypeID ("pur_01K…") of the purchase order the delivery belongs to. The order must exist in the tenant and must not be CANCELLED.

TypeID ("wlc_01K…") of the warehouse location the goods are put away into. When supplied, each received line that carries a substrate creates a new warehouse stock entry there, batched under the PO number. Null records the receipt on the order only, without touching stock.

The lines being received. At least one is required; lines omitted here keep their existing received quantity.

View exact SDL
"""
Input for `receivePurchaseOrder`. The order becomes RECEIVED once every one of its lines has been received in full, and PARTIALLY_RECEIVED otherwise.
"""
input ReceivePurchaseOrderInput {
  """
  TypeID ("pur_01K…") of the purchase order the delivery belongs to. The order must exist in the tenant and must not be CANCELLED.
  """
  purchaseOrderId: PurchaseOrderID!
  """
  TypeID ("wlc_01K…") of the warehouse location the goods are put away into. When supplied, each received line that carries a substrate creates a new warehouse stock entry there, batched under the PO number. Null records the receipt on the order only, without touching stock.
  """
  warehouseLocationId: WarehouseLocationID
  """
  The lines being received. At least one is required; lines omitted here keep their existing received quantity.
  """
  receivedLines: [ReceivePurchaseOrderLineInput!]!
}

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