Counters
PATCH
Update Counter
Update an existing counter.
Required Permission:
Edit Counter
PATCH
/counters/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, unique per branch, max:255 | Counter name |
| position | Integer | Optional | integer | The position of the counter |
Response
200 OKStatus Code
HTTP status code (200)
Message
Counter updated successfully
Data
Updated counter details