Mutation / commerce
updatePurchaseOrder
Update a purchase order. Only provided fields are changed. Requires purchaseOrder:write permission.
Arguments
Purchase order ID to update
inputUpdatePurchaseOrderInput!Fields to update — only provided fields are changed
Returns UpsertPurchaseOrderPayload!
Explore in a view
View exact SDL
"""
Update a purchase order. Only provided fields are changed. Requires purchaseOrder:write permission.
"""
updatePurchaseOrder(
"""Purchase order ID to update"""
id: PurchaseOrderID!
"""Fields to update — only provided fields are changed"""
input: UpdatePurchaseOrderInput!
): UpsertPurchaseOrderPayload! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.