Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Body
application/json
Cost-center to create.
Cost-center.
ID of the user who will be the owner of the cost-center.
Reference to a user. Read-only. Owner of the cost-center.
Disabled: the cost-center is disabled. Enabled: the cost-center is enabled.
Available options:
Disabled
, Enabled
Write-only. IDs of the establishments to which the cost-center belongs."
Response
201 - application/json
OK