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)
- orderId (ID!)
- requestedEditLineItems ([RequestedEditLineItemInput!]!)
- Anchor to emailemail•String
The email address to associate with the order if one doesn't exist.
- Anchor to orderIdorder•ID!
Id required The ID of the order for which this edit is being requested.
- Anchor to requestedEditLineItemsrequested•[Requested
Edit Line Items Edit Line Item Input!]! required The line items that are requested to be edited.
- requestedEdit (RequestedEdit)
- userErrors ([ChangeUserError!]!)
- Anchor to requestedEditrequested•Requested
Edit Edit The edit request that has been made.
- Anchor to userErrorsuser•[Change
Errors User Error!]! non-null The list of errors that occurred from executing the mutation.