Skip to content

List RMA reasons

Returns the store's return reasons. Nodes come back as a cursor-paginated connection.

Operation

OperationTypePurpose
adminRmaReasons(first: Int, after: String)QueryCollectionList RMA reasons with cursor pagination

Arguments

All arguments are optional and combine in a single query.

Pagination

ArgumentDescription
firstNumber of records to return.
afterCursor to fetch the page after (from pageInfo.endCursor).

Filters

Each filter narrows the result; supplying more than one combines with logical AND.

ArgumentTypeMatchExample
titleStringPartial (contains)."Damaged"
statusIntExact — 1 active, 0 inactive.1

Sorting

ArgumentTypeValues
sortStringid (default), position, title
orderStringasc, desc (default desc)

Select _id for the numeric id. For field meanings, see the menu overview.

Released under the MIT License.