Q3 Roadmap: Embedded Notifications, Embedded Commissions, Tips and more!
curl --location --request POST '/api/organizations//locations//breaks' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Coffee Break",
"durationMinutes": 15,
"frequencyMinutes": 120,
"paid": true,
"mandatory": false,
"enabled": true
}'
{
"id": "break_type_002",
"name": "Coffee Break",
"locationId": "loc_001",
"durationMinutes": 15,
"frequencyMinutes": 120,
"paid": true,
"mandatory": false,
"active": true,
"enabled": true,
"createdAt": "2023-10-27T10:00:00Z",
"updatedAt": "2023-10-27T10:00:00Z",
"deletedAt": null
}