order Request Edit
Requires access scope. Also: The user must have customer_write_orders access or be pre-authenticated for the queried order.
Request an edit to an order's unfulfilled line items on behalf of a customer.
This mutation supports an optional idempotency key via the @idempotent directive.
Supplying the same key for a retried request returns the originally created
edit instead of creating a duplicate.
This mutation supports an optional idempotency key via the @idempotent directive.
Supplying the same key for a retried request returns the originally created
edit instead of creating a duplicate.
Note: This mutation supports an optional idempotency key via the <code>@idempotent</code> directive. Supplying the same key for a retried request returns the originally created edit instead of creating a duplicate.
Arguments
- email (String)
- lineItems (RequestedOrderEditLineItemsInput!)
- orderId (ID!)
- Anchor to emailemail•String
The email address to associate with the order if one doesn't exist.
- Anchor to lineItemsline•Requested
Items Order Edit Line Items Input! required The line item changes requested for the order, grouped by the type of change.
Show input fields
- Anchor to orderIdorder•ID!
Id required The ID of the order for which this edit is being requested.
- requestedOrderEdit (RequestedOrderEdit)
- userErrors ([RequestedOrderEditUserError!]!)
- Anchor to requestedOrderEditrequested•Requested
Order Edit Order Edit The edit request that has been made.
Show fields
- Anchor to userErrorsuser•[Requested
Errors Order Edit User Error!]! non-null The list of errors that occurred from executing the mutation.
Show fields