Header X-Api-Key: <DASHBOARD_API_KEY> (in the VPS .env).
| Method | Path | Purpose |
|---|---|---|
| GET | /api/offers | List offers (full config) |
| POST / PUT / DELETE | /api/offers[/{id}] | Create / update / delete an offer |
| GET | /api/preview?order=13309 · ?products=gid,gid | Suggestions for an order or hypothetical purchase |
| GET | /api/report?range=last_30_days | KPIs, per offer, top products, daily |
| POST | /api/catalog/sync | Refresh catalog |
| GET | /api/catalog/search?q=bourbon · /api/catalog/facets | Products · types & themes |