Skip to main content
mutation

Requires customer_write_pre_authenticated 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.


Note

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.


•String

The email address to associate with the order if one doesn't exist.

•RequestedOrderEditLineItemsInput!
required

The line item changes requested for the order, grouped by the type of change.

Show input fields
•ID!
required

The ID of the order for which this edit is being requested.


Was this section helpful?

Anchor to OrderRequestEditPayload returnsOrderRequestEditPayload returns

•RequestedOrderEdit

The edit request that has been made.

Show fields
•[RequestedOrderEditUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?