Update support customer companies
PUT
/workspaces/{organizationId}/support/customers/{customerId}/companiesAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredcustomerIdstringrequiredRequest body
application/jsoncompaniesobject[]requiredShow propertiesHide properties
Array of
objectcompanyIdstringrequiredisPrimarybooleandefault: false
Responses
200
Customer companies updated
customerobjectrequiredShow propertiesHide properties
idstringrequiredorganizationIdstringrequireduserIdstring | nullrequiredexternalIdstring | nullrequiredexternalSourcestringrequiredemailstringrequiredfullNamestring | nullrequiredphonestring | nullrequiredemailOptOutbooleanrequiredemailOptOutAtstring | nullrequiredcreatedAtstringrequiredupdatedAtstringrequiredcompaniesobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredcustomerIdstringrequiredcompanyIdstringrequirednamestring | nullrequiredisPrimarybooleanrequiredcreatedAtstringrequiredidentitiesobject[]requiredShow propertiesHide properties
Array of
objectidstringrequiredcustomerIdstringrequiredtypestringrequiredAllowed:
emailphoneslackmsteamsdiscordwhatsappchatapisocialcustomsubTypestring | nullrequiredvaluestringrequiredisPrimarybooleanrequiredcreatedAtstringrequired