order Update
Requires access scope or
access scope. Also: The app must have the
access scope to assign events to another staff member.
Updates the attributes of an order, such as the customer's email, the shipping address for the order, tags, and metafields associated with the order.
If you need to make significant updates to an order, such as adding or removing line items, changing quantities, or modifying discounts, then use the mutation instead. The
mutation initiates an order editing session, allowing you to make multiple changes before finalizing them. Learn more about using the
mutation to edit existing orders.
If you need to remove a customer from an order, then use the mutation instead.
Learn how to build apps that integrate with order management and fulfillment processes.
Arguments
- Anchor to inputinput•Order
Input! required The attributes of the updated order.
- Anchor to orderorder•Order
The updated order.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.