Skip to main content
mutation

Requires write_returns access scope. Also: The user must have return_orders permission.

Removes return and/or exchange lines from a return.

If the order has an existing write-off, calling this mutation can reduce the written-off amount automatically when it reduces the order total before write-offs below the remaining written-off amount.

•[ExchangeLineItemRemoveFromReturnInput!]

The exchange line items to remove from the return.

Show input fields
•ID!
required

The ID of the return for line item removal.

•[ReturnLineItemRemoveFromReturnInput!]

The return line items to remove from the return.

Show input fields

Was this section helpful?

Anchor to RemoveFromReturnPayload returnsRemoveFromReturnPayload returns

•Return

The modified return.

Show fields
•[ReturnUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?