OptionalrequestFactory: BasicApiRequestFactoryOptionalresponseProcessor: BasicApiResponseProcessorOptional_options: PromiseConfigurationOptionsDelete a company by ID. Deleted companies can be restored within 90 days of deletion. Learn more about restoring records. Archive a company
Optional_options: PromiseConfigurationOptionsCreate a single company. Include a properties object to define property values for the company, along with an associations array to define associations with other CRM records.
Create a company
Optional_options: PromiseConfigurationOptionsCreate a single company. Include a properties object to define property values for the company, along with an associations array to define associations with other CRM records.
Create a company
Optional_options: PromiseConfigurationOptionsRetrieve a company by its ID (companyId) or by a unique property (idProperty). You can specify what is returned using the properties query parameter.
Retrieve a company
The ID of the company
Optionalproperties: string[]A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
OptionalpropertiesWithHistory: string[]A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.
Optionalassociations: string[]A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
Optionalarchived: booleanWhether to return only results that have been archived.
OptionalidProperty: stringThe name of a property whose values are unique for this object
Optional_options: PromiseConfigurationOptionsRetrieve a company by its ID (companyId) or by a unique property (idProperty). You can specify what is returned using the properties query parameter.
Retrieve a company
The ID of the company
Optionalproperties: string[]A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
OptionalpropertiesWithHistory: string[]A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored.
Optionalassociations: string[]A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
Optionalarchived: booleanWhether to return only results that have been archived.
OptionalidProperty: stringThe name of a property whose values are unique for this object
Optional_options: PromiseConfigurationOptionsRetrieve all companies, using query parameters to control the information that gets returned. Retrieve companies
Optionallimit: numberThe maximum number of results to display per page.
Optionalafter: stringThe paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
Optionalproperties: string[]A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
OptionalpropertiesWithHistory: string[]A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.
Optionalassociations: string[]A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
Optionalarchived: booleanWhether to return only results that have been archived.
Optional_options: PromiseConfigurationOptionsRetrieve all companies, using query parameters to control the information that gets returned. Retrieve companies
Optionallimit: numberThe maximum number of results to display per page.
Optionalafter: stringThe paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
Optionalproperties: string[]A comma separated list of the properties to be returned in the response. If any of the specified properties are not present on the requested object(s), they will be ignored.
OptionalpropertiesWithHistory: string[]A comma separated list of the properties to be returned along with their history of previous values. If any of the specified properties are not present on the requested object(s), they will be ignored. Usage of this parameter will reduce the maximum number of objects that can be read by a single request.
Optionalassociations: string[]A comma separated list of object types to retrieve associated IDs for. If any of the specified associations do not exist, they will be ignored.
Optionalarchived: booleanWhether to return only results that have been archived.
Optional_options: PromiseConfigurationOptionsMerge two company records. Learn more about merging records. Merge two companies
Optional_options: PromiseConfigurationOptionsMerge two company records. Learn more about merging records. Merge two companies
Optional_options: PromiseConfigurationOptionsUpdate a company by ID (companyId) or unique property value (idProperty). Provided property values will be overwritten. Read-only and non-existent properties will result in an error. Properties values can be cleared by passing an empty string.
Update a company
OptionalidProperty: stringThe name of a property whose values are unique for this object
Optional_options: PromiseConfigurationOptionsUpdate a company by ID (companyId) or unique property value (idProperty). Provided property values will be overwritten. Read-only and non-existent properties will result in an error. Properties values can be cleared by passing an empty string.
Update a company
OptionalidProperty: stringThe name of a property whose values are unique for this object
Optional_options: PromiseConfigurationOptions
Delete a company by ID. Deleted companies can be restored within 90 days of deletion. Learn more about restoring records. Archive a company