List returns
List returns for an order or a date range.
POST
/ bigblue.storeapi.v1.PublicAPI/ ListReturnsReturns returns one page at a time. Filter by order or by creation date, but not both. Without a filter, you get every return on the account.
Request body
orderstringOnly return returns for this order. The date range is ignored when this is set.
date_rangeDateRangeOnly return returns created in this period, RFC 3339 UTC.
page_sizeintegerReturns per page. Uses a server default when
0 or missing.page_tokenstringThe
next_page_token from the previous response.date_range filters on create_time. To find returns received in a period,
filter on return_time in your code.
Responses
returnsReturn[]The returns on this page.
next_page_tokenstringToken for the next page. Missing on the last page.
{
"code": "invalid_argument",
"msg": "date_range.from value does not match regex pattern `\\d+-\\d+-\\d+T\\d+:\\d+:\\d+Z`",
"meta": { "argument": "date_range.from" }
}POST
/ bigblue.storeapi.v1.PublicAPI/ ListReturns{ "order": "BGBL0K3M9XQ2" }{
"date_range": {
"from": "2026-03-16T00:00:00Z",
"to": "2026-03-23T00:00:00Z"
},
"page_size": 100
}{
"returns": [
{
"id": "BGBL0K3M9XQ2RT01",
"order": "BGBL0K3M9XQ2",
"warehouse": "FR-CDG-001",
"status": "RETURN_STATUS_RETURNED",
"resolution_status": "RETURN_RESOLUTION_STATUS_ACTION_REQUIRED",
"create_time": "2026-03-20T10:15:00Z",
"return_time": "2026-03-23T09:40:00Z"
}
],
"next_page_token": "ChoKGAoHcmV0dXJucxINQkdCTDBLM005WFEy"
}