Organization / Returns
returnRequests
List return requests
Arguments
afterStringA cursor after which elements are returned.
beforeStringA cursor before which elements are returned.
firstIntLimits number of fetched items. Maximum allowed value: 250.
lastIntLimits number of fetched items. Maximum allowed value: 250.
queryStringSearch and filter expression for return requests. A filter made up of field terms, connectives, modifiers, and comparators. You can apply one or more filters to a query.
Supported filters
searchstringAny valuebrand. iduuidAny valuecustomer. iduuidAny valuesender_address. country_codestringAny valuestatusenumCANCELEDDRAFT- Started in the return portal but not submitted.
PENDING- Submitted and awaiting approval.
ACCEPTED- Approved; the customer can ship the items back.
RECEIVED- The warehouse processed the returned items; no refund issued yet.
REFUND- At least one refund is not completed yet.
COMPLETED- All refunds are done, or it was closed manually after receipt.
REJECTEDEXPIRED
created_atdatetimeAny valuereverseBoolean!Default: falseReverse the order of the underlying list.
Returns
cursorString!A unique cursor that can be used for pagination.
endCursorStringThe cursor to continue paginating forwards.
hasNextPageBoolean!When paginating forwards, are there more items?
hasPreviousPageBoolean!When paginating backwards, are there more items?
startCursorStringThe cursor to continue paginating backwards.