Skip to main content
PATCH
Update the business

Authorizations

Authorization
string
header
required

An API key from Settings > API keys (lsk_...), which acts on its own business, or a platform key from the PLATFORM_API_KEYS setting (lsp_...), which onboards and manages businesses. Scopes: business:read, business:write, calls:read, contacts:read, contacts:write, appointments:read, appointments:write, messages:read, knowledge:read, knowledge:write, webhooks:manage, billing:manage, phone_numbers:manage, team:manage, businesses:create, users:create, phone_numbers:purchase, partner:read, partner.businesses:write, partner.demos:write, partner.packages:write, partner.branding:write, partner.templates:write, partner.team:write, partner.billing:read, partner.billing:write. Only platform keys can hold businesses:create and users:create, and only a key a partner made in its console can hold the partner scopes, which the Partner endpoints use. Only a partner's owners grant partner.billing:read and partner.billing:write.

Headers

LobbyStack-Business
string<uuid>

The business a platform key acts on. Required with a platform key. A per-business key may leave it out; if it sends one, it must be the key's own business.

Body

application/json
name
string
Required string length: 1 - 200
timezone
string
Required string length: 1 - 80
locale
enum<string>
Available options:
en,
fr,
es,
sr,
de,
pt,
it,
nl,
pl,
tr,
vi,
tl,
sv,
ru,
uk
website_url
string<uri> | null
Maximum string length: 2000
business_type
string

What kind of business it is.

Required string length: 1 - 64
hours
object[]

Replaces the whole week. Omit a day to close it. Send two windows for a day with a break. Windows on the same day can't overlap.

Maximum array length: 28

Response

OK

data
object
required