u
This commit is contained in:
@@ -15,6 +15,7 @@ Creates a new customer group for the user's selected company.
|
||||
| `googleAuthId` | `number` | The id of the Google auth user. |
|
||||
| `input` | `object` | The customer group input. |
|
||||
| `input.name` | `string` | The customer group name (must not be a reserved name). |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -43,6 +44,7 @@ Deletes a customer group for the user's selected company by its id.
|
||||
| --- | --- | --- |
|
||||
| `googleAuthId` | `number` | The id of the Google auth user. |
|
||||
| `id` | `number` | The id of the customer group to delete. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -69,6 +71,7 @@ Lists the customer groups of the user's selected company.
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- |
|
||||
| `googleAuthId` | `number` | The id of the Google auth user. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -94,6 +97,7 @@ Reorders the customer groups of the user's selected company.
|
||||
| `googleAuthId` | `number` | The id of the Google auth user. |
|
||||
| `input` | `object` | The reorder input. |
|
||||
| `input.customergroupIds` | `Array<number>` | The customer group ids in their new order. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
@@ -124,6 +128,7 @@ Updates the name of a customer group for the user's selected company.
|
||||
| `id` | `number` | The id of the customer group to update. |
|
||||
| `input` | `object` | The update input. |
|
||||
| `input.name` | `string` | The new customer group name. |
|
||||
| `[tx]` | `object` | Optional transaction to run within. |
|
||||
|
||||
**Returns**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user