Skip to main content
query

Requires customer_read_pre_authenticated access scope. Also: Available in an pre-authenticated state or fully authenticated state with a valid return id.

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

•ID!
required

The ID of the Return.


Was this section helpful?

•Return

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?