Skip to main content
object

Requires customer_read_orders access scope.

A product return.

•DateTime

The date when the return was closed.

•DateTime

The date when the return was created.

•ExchangeLineItemConnection!
non-null

The exchange line items attached to the return.

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Boolean
Default:false

Include exchange line items that have been removed from the order by an order edit, return, etc. Items that have been removed have a zero (LineItem.currentQuantity).

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•ID!
non-null

A globally-unique ID.

•String!
non-null

The name assigned to the return.

•ReturnLineItemTypeConnection!
non-null

The line items associated with the return.

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


Anchor to returnLineItemsCountreturnLineItemsCount
•Count

The number of line items associated with the return.

•ReverseDeliveryConnection!
non-null

The list of reverse deliveries associated with the return.

Arguments

•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•Boolean
Default:false

Reverse the order of the underlying list.


•ReturnStatus!
non-null

The current status of the Return.

•DateTime

The date when the return was last updated.


Was this section helpful?

•query

Returns a Return resource by ID. Apps using the Customer Account API must meet the protected customer data requirements.

Arguments

•ID!
required

The ID of the Return.



Was this section helpful?

•mutation

Request a new return on behalf of a customer.

Arguments

•ID!
required

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

•[RequestedLineItemInput!]!
required

The line items that are requested to be returned.



Was this section helpful?

•interface

Was this section helpful?