x-api-key: ********************curl --location -g --request GET 'https://relay.exostack.cloud//api/inventory/trails?page&page_size&brief&product_id&product_code&from_datetime&to_datetime' \
--header 'x-api-key: <api-key>'{
"items": [
{
"id": 101,
"product": {
"id": 5,
"code": "MAD-2X6"
},
"date": "2026-03-13T00:00:00-04:00",
"quantity": 100,
"cost": 15.5,
"trail_type": 1,
"updated_at": "2026-03-13T10:00:00-04:00",
"_links": {
"self": "/api/inventory/trails/by-id/101"
}
},
{
"id": 102,
"product": {
"id": 12,
"code": "VIS-3P"
},
"date": "2026-03-12T00:00:00-04:00",
"quantity": 50,
"cost": 8.25,
"trail_type": 2,
"updated_at": "2026-03-12T15:30:00-04:00",
"_links": {
"self": "/api/inventory/trails/by-id/102"
}
}
],
"page": 1,
"page_size": 50,
"total": 150,
"total_pages": 3
}