Returns the returns of the orders of all the merchant's sales channels, newest first. Only returns whose order is also a Merchant API order (one /orders can return) are listed; returns of orders that reached Hive any other way are not.
Security
BearerAuth
- Mock serverhttps://hive-merchant-api.redocly.app/_mock/merchant-api-v1/mapi_v1_oas31/returns
- Production APIhttps://app.hive.app/merchant_api/v1/returns
- Staging APIhttps://staging.app.hive.app/merchant_api/v1/returns
curl -i -X GET \
'https://hive-merchant-api.redocly.app/_mock/merchant-api-v1/mapi_v1_oas31/returns?page=1&limit=20&created_at%5Bgt%5D=string&created_at%5Bgte%5D=string&created_at%5Blt%5D=string&created_at%5Blte%5D=string' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Response
{ "data": [ { … } ], "pagination": { "current_page": 1, "item_count": 2, "page_count": 1, "items_per_page": 20 } }