[POST] .../v1/pos/fastgroup/add
Creates quick item group. Use this method to create a POS quick item group for the cashier quick-sale screen. The request requires name and may provide operating_cash_id; when operating_cash_id is not provided, the method uses the current accepted POS cash register and returns new_id for the created group. The method checks the current request user and requires an accepted cash register, while the controller does not perform a separate RBAC permission check; missing body, missing name, missing accepted cash register, duplicate or storage failures are returned as HTTP 200 ErrorResult business errors.
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| name | String | Required | Fast item group name. |
| operating_cash_id | Int64 | Optional | Cash register ID. |
Request Example
{
"name": "string",
"operating_cash_id": 1
}
Response Parameters
| Name | Type | Description |
|---|---|---|
| ok | Boolean | Indicates whether the request completed successfully. |
| result | Insert | Created record result. |
Response Example
{
"ok": true,
"result": {
"new_id": 1
}
}