Optional
requestFactory: BasicApiRequestFactoryOptional
responseProcessor: 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
Optional
properties: 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.
Optional
propertiesWithHistory: 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.
Optional
associations: 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.
Optional
archived: booleanWhether to return only results that have been archived.
Optional
idProperty: 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
Optional
properties: 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.
Optional
propertiesWithHistory: 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.
Optional
associations: 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.
Optional
archived: booleanWhether to return only results that have been archived.
Optional
idProperty: 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
Optional
limit: numberThe maximum number of results to display per page.
Optional
after: 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.
Optional
properties: 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.
Optional
propertiesWithHistory: 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.
Optional
associations: 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.
Optional
archived: 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
Optional
limit: numberThe maximum number of results to display per page.
Optional
after: 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.
Optional
properties: 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.
Optional
propertiesWithHistory: 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.
Optional
associations: 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.
Optional
archived: 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
Optional
idProperty: 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
Optional
idProperty: 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