Create unit
Units
Create unit
Creates a new unit and returns the created resource.
POST
Create unit
Body
application/json
Response
Unit created
Example:
"unit"
Example:
1
Example:
"HQ"
Depth in unit tree
Materialized path
Example:
"unit"
From pivot when in context
Parent unit when loaded
Unit image when loaded
Company, delivery, invoicing addresses
Contact name and phone
Office hours and closed days
Permission flags for current user
Example:
"api/units/1"