Business
API Docs
The following endpoints are related to the business resource in the Calendsa platform.
/api/v1/business
Retrieve the business.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Request Example
curl --request GET \
--url https://calendsa.com/api/v1/business \
--header 'Authorization: Bearer {API_KEY}' \
--header 'Accept: application/json'
Responses
200: OK
Business received successfully
401: Unauthorized
Authorization information missing, expired or invalid
/api/v1/business
Update the business.
Parameters
Header
Authorization*
string
API key as bearer token
Accept*
string
application/json
Content-Type*
string
application/json
Body
name
string
Name of the business
string
Email of the business
phoneNumber
string | null
Phone number of the business
address
string | null
Address of the business
currencyIso
string
Currency of the business
websiteUrl
string | null
Website of the business
timeZone
string
Time zone of the business
businessHours
WorkHours[]
Business hours
termsAndConditionsUrl
string | null
Terms and conditions URL
privacyPolicyUrl
string | null
Privacy policy URL
useGdprCompliance
boolean
Enable GDPR compliance
instagramUrl
string | null
Instagram socials URL
tikTokUrl
string | null
TikTok socials URL
youTubeUrl
string | null
YouTube socials URL
twitterUrl
string | null
Twitter socials URL
linkedInUrl
string | null
LinkedIn socials URL
facebookUrl
string | null
Facebook socials URL
Request Example
curl --request PATCH \
--url https://calendsa.com/api/v1/business \
--header 'Authorization: Bearer {API_KEY}' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"currencyIso": "YEN"
}'
Responses
200: OK
Business updated successfully
401: Unauthorized
Authorization information missing, expired or invalid