Units
POST
Create Units
Create a new unit.
Required Permission:
Create Unit
POST
/units
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, required | The name |
| position | integer | Optional | The position/order of the brand. | |
| description | String | Optional | string, optional | The description |
Response
201 CreatedStatus Code
HTTP status code (201)
Message
Human-readable description
Data
Created unit details