u
This commit is contained in:
@@ -18,6 +18,7 @@ Creates a new company together with its root category, POS customer group, defau
|
||||
| `input.taxrate` | `number` | The standard tax rate in percent. |
|
||||
| `input.reducedtaxrate` | `number` | The reduced tax rate in percent. |
|
||||
| `input.googleAuthId` | `number` | The id of the Google auth user to link. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -51,6 +52,7 @@ Deletes a company by its id.
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| `companyId` | `number` | The id of the company to delete. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -121,6 +123,7 @@ Lists the companies accessible to the given Google auth user.
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| `googleAuthId` | `number` | The id of the Google auth user. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -149,6 +152,7 @@ Updates an existing company's name, language and tax rates.
|
||||
| `input.name` | `string` | The new company name (must be unique). |
|
||||
| `input.taxrate` | `number` | The standard tax rate in percent. |
|
||||
| `input.reducedtaxrate` | `number` | The reduced tax rate in percent. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user