Labor
UpdateBreakType
Updates an existing BreakType.
put/v2/labor/break-types/{id}
Path parameters
idstring required
The UUID for the BreakType being updated.
Request body
Example request
{
"break_type": {
"break_name": "Lunch",
"expected_duration": "PT50M",
"is_paid": true,
"location_id": "26M7H24AZ9N6R",
"version": 1
}
}Response
Success
Example response
{
"break_type": {
"break_name": "Lunch",
"created_at": "2018-06-12T20:19:12Z",
"expected_duration": "PT50M",
"id": "Q6JSJS6D4DBCH",
"is_paid": true,
"location_id": "26M7H24AZ9N6R",
"updated_at": "2019-02-26T23:12:59Z",
"version": 2
}
}