Updates the specified company's name, description, and industry.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
companyIdstringRequiredThe id of the company to update.
Request body Required
The model with updated company data.
application/json
namestringRequired0 maxLength: 1000 The company name.
descriptionstring or nullOptional0 maxLength: 25000 The company description.
industrystring or nullOptional0 maxLength: 1000 The company's industry.
Responses
200 OK
application/json
namestringRequired0 maxLength: 1000 The company name.
descriptionstring or nullOptional0 maxLength: 25000 The company description.
industrystring or nullOptional0 maxLength: 1000 The company's industry.
idstringOptionalThe id of the company.
hasImagebooleanOptionalWhether the company has an image.
companyContactInfosarray of object or nullOptionalThe company infos assigned to this company.
Show 16 properties
labelstring or nullOptional0 maxLength: 1000 The label of the contact info. Only necessary if type 'custom' is used.
valuestring or nullOptional0 maxLength: 1000 The value of the contact info.
typestringRequired0 maxLength: 25 The type of the contact info. Possible values are: 'phone', 'email', 'address', 'url', 'custom'.
subTypestring or nullOptional0 maxLength: 25 The subtype of the contact info. Required for all types except 'custom'. Possible values are: phone: [ 'central', 'other' ] email: [ 'central', 'invoice', 'other' ] address: [ 'central', 'invoice', 'other' ] url: [ 'primary', 'other' ]
addressLine1string or nullOptional0 maxLength: 1000 The first address line of the contact info.
addressLine2string or nullOptional0 maxLength: 100 The second address line of the contact info.
zipCodestring or nullOptional0 maxLength: 100 The zipcode of the contact info.
citystring or nullOptional0 maxLength: 100 The city of the contact info.
statestring or nullOptional0 maxLength: 100 The state of the contact info.
countrystring or nullOptional0 maxLength: 100 The 2 letter iso code of the country.
isAddressbooleanOptionalFlags whether this contact info is an address. If it's an address, the address fields are required.
idstringOptionalThe Id of the contact info.
createdOnstringOptionalThe date this entity was created.
createdBystringOptionalThe id of the user who created this entity.
updatedOnstringOptionalThe date this entity was last modified.
updatedBystringOptionalThe id of the user who last modified this entity.
createdOnstringOptionalThe date this entity was created.
createdBystringOptionalThe id of the user who created this entity.
updatedOnstringOptionalThe date this entity was last modified.
updatedBystringOptionalThe id of the user who last modified this entity.
resourceVersionintegerOptionalThe version of the entity, updated on every modification, to the ticks in UTC. Not identical to UpdatedOn.
tagsarray of object or nullOptionalThe tags for this company.
Show 3 properties
idstringOptionalnamestring or nullOptionalThe name of the tag.
colorstring or nullOptionalThe color of the tag.
projectsCountintegerOptionalThe number of all projects related to the company.
projectsInProgressCountintegerOptionalThe number of all projects in status 'progress' related to the company.
isExternalbooleanOptionalTrue if this entity is coming from an external workspace (awork Connect).
400 Bad Request
application/json
codestringRequired1 The error code.
descriptionstringRequired1 The description of the error.
linkstringRequired1 The link to the API documentation page.
detailsarray of string or nullOptionalA list of details describing the error.
validationErrorsarray of object or nullOptionalIf a validation error occurred, this contains the validation errors for each property.
Show 2 properties
propertystring or nullOptionalThe name of the property that failed validation.
messagestring or nullOptionalThe reason why this property failed validation.
traceIdstring or nullOptionalThe request trace id for tracking the request.