Skip to main content
companies

Update a company

Partially updates a company. Only the fields sent are changed. Returns the updated company.

PATCH
/v1/companies/{id}
beam-api-keystringheaderrequired
idstringrequired

The id of the company to update.

Body

application/json
attributesstring[] | null

Ids of the access attributes assigned to the company, replacing the current set. Send null or an empty array to clear them.

categoryIdstring

The id of the category to assign. The category can be changed but not removed.

customFieldsobject

Custom field values keyed by company custom field definition id (from the studio). Each value is the content to store; send null to clear it. Keys that are not sent are left unchanged.

descriptionstring | null

The company description. Send null to clear it.

namestring

The company name. Cannot be empty.

Minimum string length: 1
phonestring | null

The company phone number. Send null to clear it.

websitestring | null

The company website URL. Send null to clear it.

Response

application/json

The updated company

assetCountnumberrequired
attributesstring[]required
categoryobject | nullrequired
contactCountnumberrequired
createdAtstringrequired
customFieldsobject | nullrequired
descriptionstring | nullrequired
idstringrequired
lastActivityAtstring | nullrequired
locationCountnumberrequired
namestringrequired
phonestring | nullrequired
reservationCountnumberrequired
reservationsnumber[]required
studioIdstringrequired
ticketCountnumberrequired
updatedAtstringrequired
websitestring | nullrequired