Fix listSearchIndex return type in README table

This commit is contained in:
seb
2026-08-03 22:35:05 +02:00
parent c8b1a73b62
commit a645c91460

View File

@@ -263,7 +263,7 @@ Company-scoped POS terminals. Auth via `resolveCompanyAccess`.
| Method | Signature | Returns |
| --- | --- | --- |
| `listSearchIndex` | `(googleAuthId, companyId)` | `[{ id, sku, name, eans }]` |
| `listSearchIndex` | `(googleAuthId, companyId)` | `[{ id, sku, name, eans, categoryIds }]` |
| `createUnderParent` | `({ googleAuthId, parentId, name })` | `{ id, parentId, name, sku }` |
| `getBySku` | `(googleAuthId, sku)` | detail object (see below) |
| `updateBySku` | `(googleAuthId, sku, { name?, unitamount?, unitSi? })` | same shape as `getBySku` |