BlockedTimePresets
Update a blocked-time preset
Updates an existing BlockedTimePreset. name is required; other fields fall back to their existing values when omitted.
Requires the SETTINGS_MANAGE permission on the preset's site.
put/shop/blocked-time-presets/{blockedTimePresetId}
Request body
Example request
{
"name": "Lunch break",
"duration": 30,
"label": "Lunch",
"notes": "Cover the front desk with reception.",
"color": "#ff8800"
}Response
A single BlockedTimePreset.
Example response
{
"data": {
"id": "65f1234567890abcdef12345",
"name": "Lunch break",
"duration": 30,
"type": "break",
"label": "Lunch",
"color": "#ff8800"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.