Retrieve a Business
const url = 'https://api.upvio.com/v1/businesses/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.upvio.com/v1/businesses/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'Retrieve a Business
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Business ID
Responses
Section titled “ Responses ”Business
object
All resources are contained within a Business.
object
Unique identifier across the platform.
Time when the resource was created (ISO 8601 format).
Time when the resource was last updated (ISO 8601 format).
Unique business alias across the platform. Used for forms and public booking pages.
The name of the Business.
Email address.
URL to the logo image.
A configuration to define active hours.
object
A group of active hours for a single day.
A group of active hours for a single day.
A group of active hours for a single day.
A group of active hours for a single day.
A group of active hours for a single day.
A group of active hours for a single day.
A group of active hours for a single day.
Disabled businesses prevent any staff from using the platform.
Timezone string.
Example
{ "data": { "alias": "acme", "name": "ACME Corp", "logoURL": "https://account.upvio.com/upvio.favicon.png", "defaultStaffWorkingHours": { "monday": [ [ 900, 1200 ], [ 1300, 1700 ] ], "tuesday": [ [ 900, 1200 ], [ 1300, 1700 ] ], "wednesday": [ [ 900, 1200 ], [ 1300, 1700 ] ], "thursday": [ [ 900, 1200 ], [ 1300, 1700 ] ], "friday": [ [ 900, 1200 ], [ 1300, 1700 ] ], "saturday": [ [ 900, 1200 ], [ 1300, 1700 ] ], "sunday": [ [ 900, 1200 ], [ 1300, 1700 ] ] }, "timezone": "UTC" }}