List Returns
GET
/admin/returns
Returns
id
. The returns can also be sorted or paginated.Request Request Example
JavaScript
Shell
Java
Swift
curl --location -g --request GET '{{BASE_URL}}/admin/returns'
Response Response Example
200 - Example 1
{
"limit": 0,
"offset": 0,
"count": 0,
"returns": [
{
"id": "string",
"refund_amount": 0,
"order_id": "string",
"items": [
{
"id": "string",
"quantity": 0,
"received_quantity": 0,
"damaged_quantity": 0,
"reason_id": "string",
"note": "string",
"item_id": "string",
"return_id": "string",
"metadata": {}
}
],
"created_at": "2019-08-24T14:15:22Z",
"canceled_at": "2019-08-24T14:15:22Z",
"exchange_id": "string",
"location_id": "string",
"claim_id": "string",
"order_version": 0,
"display_id": 0,
"no_notification": true,
"received_at": "string",
"status": "canceled"
}
]
}
Request
Query Params
fields
stringÂ
fields
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.offset
numberÂ
offset
limit
numberÂ
limit
order
stringÂ
order
-
.id
optional
One of
status
optional
One of
$and
array [object]Â
$and
Example:
["",""]
$or
array [object]Â
$or
Example:
["",""]
sales_channel_id
array[string]
optional
region_id
optional
One of
q
stringÂ
q
$ne
array[string]
optional
Example:
["",""]
$gt
array[string]
optional
Example:
["",""]
$gte
array[string]
optional
Example:
["",""]
$lt
array[string]
optional
Example:
["",""]
$lte
array[string]
optional
Example:
["",""]
$like
array[string]
optional
like
filter. Useful for strings only.Example:
["",""]
$re
array[string]
optional
Example:
["",""]
$ilike
array[string]
optional
like
filter. Useful for strings only.Example:
["",""]
$fulltext
array[string]
optional
Example:
["",""]
$exists
array[string]
optional
null
).Example:
["",""]
$in
array[string]
optional
Example:
["",""]
$nin
array[string]
optional
Example:
["",""]
$overlap
array[string]
optional
Example:
["",""]
$contains
array[string]
optional
Example:
["",""]
$contained
array[string]
optional
Example:
["",""]
$eq
array[string]
optional
Example:
["",""]
$not
array[string]
optional
Example:
["",""]
customer_id
optional
One of
Responses
Modified at 2025-06-17 04:10:32