/cdb/recentRecent added products
Returns the most recently added products. Useful for dashboards and homepage widgets.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| apiKey | query | Yes | Your BarCloud serial key. e.g. 62054561xxxxxxxxx |
Request
curl -X GET "https://api.barcloud.ph/cdb/recent?apiKey=YOUR_API_KEY" \
-H "Accept: application/json"https://api.barcloud.ph/cdb/recent?apiKey=YOUR_API_KEY
Response (json)
{
"status": 200,
"message": "Success",
"data": [
{
"id": "clx123abc",
"barcode": "00815741",
"name": "Example Product",
"category": "Food > Snacks",
"brand": "Example Brand",
"createdAt": "2026-07-11T04:00:00.000Z"
}
]
}