Anchor to orderEditBeginorder
orderEditBegin
mutation
Requires access scope.
Starts editing an order. Mutations are operating on .
All order edits start with
, have any number of
* mutations made, and end with
.
Anchor to Arguments
Arguments
- •ID!required
The ID of the order to begin editing.
Was this section helpful?
Anchor to OrderEditBeginPayload returnsOrderEditBeginPayload returns
- Anchor to calculatedOrdercalculated•
Order The order that will be edited.
- Anchor to userErrorsuser•
Errors [UserError!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
1mutation orderEditBegin($id: ID!) {2 orderEditBegin(id: $id) {3 calculatedOrder {4 # CalculatedOrder fields5 }6 userErrors {7 field8 message9 }10 }11}
Input
1{2 "id": "gid://shopify/<objectName>/10079785100"3}
{
"id": "gid://shopify/<objectName>/10079785100"
}