From 3b06c3117df27825dfe0dc79f263373ecaf5a83a Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 3 Aug 2026 03:57:16 +0200 Subject: [PATCH] u --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 31edc29..652c842 100644 --- a/README.md +++ b/README.md @@ -190,7 +190,7 @@ Company-scoped brands. Auth via `resolveCompanyAccess`. | `rename` | `({ googleAuthId, id, name })` | `{ id, name, slug }` | | `move` | `({ googleAuthId, id, parentId })` | `{ id, parentId, sort }` | | `order` | `({ googleAuthId, parentId, categoryIds })` | `{ categoryIds }` | -| `delete` | `({ googleAuthId, id })` | `void` — blocked by FK if `categoryarticle` or child categories remain | +| `delete` | `({ googleAuthId, id })` | `void` — `Category has children` if child categories remain; FK `categoryarticle` also blocks deletion | | `getTreeForCompany` | `(googleAuthId, companyId)` | `{ languageId, tree, articles }` — tree rows carry `name` + `slug` | | `getCategoryArticles` | `(googleAuthId, categoryId)` | `{ id, sku, name, slug, net, taxRate, optionsCount, articleListCount, childCount, fatherArticleId, fatherSku, fullHash, thumbW, thumbH, thumbHash }[]` |