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
mutation orderEditBegin($id: ID!) {
orderEditBegin(id: $id) {
calculatedOrder {
# CalculatedOrder fields
}
userErrors {
field
message
}
}
}
Input
{
"id": "gid://shopify/<objectName>/10079785100"
}
{
"id": "gid://shopify/<objectName>/10079785100"
}