Update the company
Changes the company's name, contact email, default language and business address. Every field is required, so send the current value for anything you are not changing.
Authorization
AuthorizationstringrequiredBody
application/json
namestringrequiredTrading name, 2 to 150 characters.
emailstring · emailrequiredMain email address.
languagestringrequiredISO 639-1 language code, for example en.
addressobjectrequiredBusiness address. streetAddress2 and country are the only optional parts.
Response
200 · The company after the change.
idstringThe company. A Snowflake id sent as a decimal string.
namestringTrading name of the management company.
emailstringThe company's main email address.
subUrlstringThe company's slug on MagicDoor's own domain, for example pine-ridge.
languagestringISO 639-1 code for the language the company writes to its users in.
phoneNumberstringMain phone number in readable form. Absent when none was recorded.
timeZoneInfostringThe timezone id every date and time in this API is converted into, for example America/Denver.
customDomainstringA domain the company has pointed at its portal. Absent when it uses only subUrl.
addressobjectThe company's business address.
onboardedbooleanWhether onboarding has been marked complete.
onboardingStatusstringFree-text marker of where the company is in onboarding, written by the web app. Absent when none was set.
publicUrlstringThe address the company's tenant and owner portal is served at, built from customDomain when there is one and from subUrl otherwise.
trialAccountUntilstring · date-timeWhen the free trial ends, in the company's timezone. Absent when the company is not on a trial.
featuresenum<string>[]Optional features switched on for this company.
businessModeenum<string>Whether the company manages rentals or runs a homeowners association.
closedSincestring · date-timeWhen the account was closed, in the company's timezone. Absent while the company is open.
createdstring · date-timeWhen the company was created, in the company's timezone.
401 · The access token is missing, expired, or not valid for this company.
The company's timezone, sub URL, custom domain and business mode are not editable here. The sub URL and custom domain have their own endpoints.