BlockedTimePresets
Copy a blocked-time preset
Duplicates an existing BlockedTimePreset into a new record with overridden name (required). Other fields fall back to the source preset's values unless overridden.
Requires the SETTINGS_MANAGE permission on the source preset's site.
post/shop/blocked-time-presets/{blockedTimePresetId}/copy
Request body
Example request
{
"name": "Lunch break (covered)",
"duration": 45,
"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.