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.

•RequestedEditLineItemsInput!
required

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

•ID!
required

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


Was this section helpful?

Anchor to OrderRequestEditPayload returnsOrderRequestEditPayload returns

•RequestedEdit

The edit request that has been made.

•[RequestedEditUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?