Q3 Roadmap: Embedded Notifications, Embedded Commissions, Tips and more!
curl --location --request PATCH '/api/organizations//locations//breaks/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Updated Lunch Break",
"durationMinutes": 45,
"frequencyMinutes": 300,
"paid": true,
"mandatory": false,
"enabled": false
}'
{
"id": "break_type_001",
"name": "Updated Lunch Break",
"locationId": "loc_001",
"durationMinutes": 45,
"frequencyMinutes": 300,
"paid": true,
"mandatory": false,
"active": true,
"enabled": false,
"createdAt": "2023-10-27T09:00:00Z",
"updatedAt": "2023-10-27T11:00:00Z",
"deletedAt": null
}