Organization / Returns

returnRefunds

List return refunds

Arguments

afterString

A cursor after which elements are returned.

beforeString

A cursor before which elements are returned.

firstInt

Limits number of fetched items. Maximum allowed value: 250.

lastInt

Limits number of fetched items. Maximum allowed value: 250.

queryString

Search and filter expression for return refunds. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.

Supported filters
statusenum
CREATED
Drafted and not executed yet.
REQUESTED
Queued to be issued through the sales channel.
PENDING
The sales channel is processing the refund.
COMPLETED
ERROR
The sales channel failed to issue the refund.
reverseBoolean!Default: false

Reverse the order of the underlying list.

sortKeyReturnRefundsSortKeyDefault: ID

Sort the underlying list using a key.

CREATED_ATID

Returns

cursorString!

A unique cursor that can be used for pagination.

endCursorString

The cursor to continue paginating forwards.

hasNextPageBoolean!

When paginating forwards, are there more items?

hasPreviousPageBoolean!

When paginating backwards, are there more items?

startCursorString

The cursor to continue paginating backwards.