write_order_edits
Applies and saves staged changes to an order. Mutations are operating on OrderEdit. All order edits start with orderEditBegin, have any number of orderEdit* mutations made, and end with orderEditCommit.
OrderEdit
orderEditBegin
orderEdit
orderEditCommit
The ID of the calculated order that will have its changes applied to the order.
Whether to notify the customer or not.
Note for staff members.
The order with changes applied.
The list of errors that occurred from executing the mutation.
mutation orderEditCommit($id: ID!) { orderEditCommit(id: $id) { order { # Order fields } userErrors { field message } } }
{ "id": "gid://shopify/<objectName>/10079785100", "notifyCustomer": true, "staffNote": "<your-staffNote>" }