Schedule overrides
Replace one resource’s hours for one local date. An empty list means not working that day.
Create a schedule override
/v1/schedule_overridesReplaces a resource’s hours for one local date. One per resource per date.
Send the business’s id in Tiempo-Account.
Body parameters
resourcestringrequiredA resource id.
datedaterequiredA local date, YYYY-MM-DD.
intervalsarray of objectsrequiredThe hours for that date, { start, end, location? } in HH:mm. Empty means not working.
startstringrequiredAn ISO-8601 instant.
endstringrequiredAn ISO-8601 instant, after start.
locationstringA location id.
metadatamapUp to 50 keys of your own (strings, keys up to 40 characters, values up to 500). Returned on every read and webhook. On update, an empty string removes a key.
List schedule overrides
/v1/schedule_overridesSend the business’s id in Tiempo-Account.
Query parameters
resourcestringOnly those involving this resource. On the calendar, repeat it for several.
from_datedateFrom this local date (YYYY-MM-DD), inclusive.
to_datedateTo this local date (YYYY-MM-DD), inclusive.
limitinteger1 to 100. Defaults to 20.
starting_afterstringAn object id from the previous page; returns the page after it.
ending_beforestringAn object id; returns the page before it.
metadata[key]stringOnly objects whose metadata has this key and value. Repeat for several.
Retrieve a schedule override
/v1/schedule_overrides/{id}Send the business’s id in Tiempo-Account.
Path parameters
idstringrequiredThe object’s id.
Update a schedule override
/v1/schedule_overrides/{id}Changes the hours or metadata for that date. The resource and date are fixed: to move an override, delete it and create another. Bookings the new hours don’t cover are flagged conflicted.
Send the business’s id in Tiempo-Account.
Path parameters
idstringrequiredThe object’s id.
Body parameters
intervalsarray of objectsThe hours for that date, { start, end, location? } in HH:mm. Empty means not working.
startstringrequiredAn ISO-8601 instant.
endstringrequiredAn ISO-8601 instant, after start.
locationstringA location id.
metadatamapUp to 50 keys of your own (strings, keys up to 40 characters, values up to 500). Returned on every read and webhook. On update, an empty string removes a key.
Delete a schedule override
/v1/schedule_overrides/{id}Send the business’s id in Tiempo-Account.
Path parameters
idstringrequiredThe object’s id.