Skip to main content
object

A product return.

•DateTime

The date when the return was closed.

•DateTime

The date when the return was created.

•ExchangeLineItemConnection!

The exchange line items attached to the return.

Arguments

•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 first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•ID!

A globally-unique ID.

•String!

The name assigned to the return.

•ReturnLineItemTypeConnection!

The line items associated with the return.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


Anchor to returnLineItemsCountreturnLineItemsCount
•Count

The number of line items associated with the return.

•ReverseDeliveryConnection!

The list of reverse deliveries associated with the return.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.


•ReturnStatus!

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?