list_return_requests

Updated May 21, 20261 min read

List return requests with paging, search, aggregation, merchant filters, date filters, and item-aware filters. Use select with json-mask syntax to trim the returned payload.

Parameters

NameTypeRequiredDescription
tenantIdstringYes
agg_bystringNoAggregate by status, merchant, resolution, return_reason, return_item_condition, assigned_to_user, or other supported return-request fields.
assigned_to_useroneOfNo
collection_after_date_fromstringNo
collection_after_date_tostringNo
collection_before_date_fromstringNo
collection_before_date_tostringNo
country_accessoneOfNo
creation_date_fromstringNo
creation_date_tostringNo
dropoff_locationoneOfNo
fieldsoneOfNo
item_statusoneOfNo
location_accessoneOfNo
merchantoneOfNo
pageoneOfNo
page_sizeoneOfNo
pickup_cityoneOfNo
pickup_countryoneOfNo
pickup_stateoneOfNo
resolutiononeOfNo
return_item_conditiononeOfNo
return_reasononeOfNo
return_request_idsoneOfNo
search_stringstringNo
selectstringNojson-mask expression to filter response fields.
sort_bystringNo
sort_directionstringNoValues: asc, desc, ASC, DESC.
statusoneOfNo
statusesoneOfNo
tzoffsetoneOfNo

Example agent prompt

"Show me the recent return requests."

list_return_requests(
  tenantId="…"
)