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 (RequestedEditLineItemsInput!)
- orderId (ID!)
- Anchor to emailemail•String
The email address to associate with the order if one doesn't exist.
- Anchor to lineItemsline•Requested
Items Edit Line Items Input! required The line item changes requested for the order, grouped by the type of change.
- Anchor to orderIdorder•ID!
Id required The ID of the order for which this edit is being requested.
- requestedEdit (RequestedEdit)
- userErrors ([RequestedEditUserError!]!)
- Anchor to requestedEditrequested•Requested
Edit Edit The edit request that has been made.
- Anchor to userErrorsuser•[Requested
Errors Edit User Error!]! non-null The list of errors that occurred from executing the mutation.