Sales & CRMMu Mutation

updatePurchaseOrderLine

Topics: Commerce

Update a purchase order line. Only provided fields are changed. Requires purchaseOrder:write permission.

Returns

UpsertPurchaseOrderLinePayload!

Arguments

Purchase order line ID to update

Fields to update — only provided fields are changed

Exact field SDL
"""
Update a purchase order line. Only provided fields are changed. Requires purchaseOrder:write permission.
"""
updatePurchaseOrderLine(
  """Purchase order line ID to update"""
  id: PurchaseOrderLineID!
  """Fields to update — only provided fields are changed"""
  input: UpdatePurchaseOrderLineInput!
): UpsertPurchaseOrderLinePayload! @topic(names: ["commerce"])

Declared on Mutation. Access is checked by the platform for each operation.