id
. The returns can also be sorted or paginated.curl --location -g --request GET '{{BASE_URL}}/admin/returns'
{
"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"
}
]
}
+
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.-
.like
filter. Useful for strings only.like
filter. Useful for strings only.null
).