This commit is contained in:
seb
2026-10-03 23:13:36 +02:00
parent 1786879c4e
commit 9a7f345d8b
39 changed files with 4611 additions and 50 deletions

View File

@@ -55,6 +55,14 @@ That writes `docs/api/routes.md`, `docs/api/routes-all.md`, and per-route Markdo
| `PATCH` | `/api/category/:id` | `category.rename` und/oder `category.move` (Name+Slug und/oder Verschieben unter neuen Eltern) |
| `PUT` | `/api/category/order` | `category.order` (Geschwister-Sortierung unter einem Elternteil) |
### Public Product Catalog (ohne Auth, company-scoped)
| Methode | Route | Beschreibung |
| --- | --- | --- |
| `GET` | `/api/public/:companyId/categories` | Liefert den Kategoriebaum der Firma |
| `GET` | `/api/public/:companyId/articles` | Liefert paginierte Artikelliste (optional gefiltert nach `?categoryId=`, `?search=`) |
| `GET` | `/api/public/:companyId/articles/:sku` | Liefert öffentliche Artikeldetails (Preise, Bilder, Kategorien, EANs, Varianten) |
## Users
Manage the email allowlist: