Locations
A place resources work at, with its own timezone. Locations can be closed with blocks.
Create a location
/v1/locationsSend the business’s id in Tiempo-Account.
Body parameters
namestringrequiredShown in your dashboard; not to customers.
timezonestringIANA name, for example Europe/London.
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 locations
/v1/locationsSend the business’s id in Tiempo-Account.
Query parameters
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 location
/v1/locations/{id}Send the business’s id in Tiempo-Account.
Path parameters
idstringrequiredThe object’s id.
Update a location
/v1/locations/{id}Send the business’s id in Tiempo-Account.
Path parameters
idstringrequiredThe object’s id.
Body parameters
namestringShown in your dashboard; not to customers.
timezonestringIANA name, for example Europe/London.
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 location
/v1/locations/{id}Only a location nothing refers to can be deleted; otherwise 409.
Send the business’s id in Tiempo-Account.
Path parameters
idstringrequiredThe object’s id.