Fix listSearchIndex return type in README table
This commit is contained in:
@@ -263,7 +263,7 @@ Company-scoped POS terminals. Auth via `resolveCompanyAccess`.
|
|||||||
|
|
||||||
| Method | Signature | Returns |
|
| 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 }` |
|
| `createUnderParent` | `({ googleAuthId, parentId, name })` | `{ id, parentId, name, sku }` |
|
||||||
| `getBySku` | `(googleAuthId, sku)` | detail object (see below) |
|
| `getBySku` | `(googleAuthId, sku)` | detail object (see below) |
|
||||||
| `updateBySku` | `(googleAuthId, sku, { name?, unitamount?, unitSi? })` | same shape as `getBySku` |
|
| `updateBySku` | `(googleAuthId, sku, { name?, unitamount?, unitSi? })` | same shape as `getBySku` |
|
||||||
|
|||||||
Reference in New Issue
Block a user