Companies
Query Companies for a Marketo organization.
Table Specific Information
Note: This table is only available for Marketo subscriptions which do not have a native CRM sync enabled. If sync is enabled, an error will be returned when attempting to query the table stating that the API is disabled.
Select
A filter must be specified when retrieving companies. Valid filters are any searchable columns
which include Id, ExternalCompanyId, ExternalSalesPersonId, or Company.
SELECT * FROM Companies WHERE ExternalCompanyId='CData'
Insert
To create a new Company record, specify the information about the Company to be entered into the database.
The following example demonstrates how to insert a new Opportunity:
INSERT INTO Companies (ExternalCompanyId, Company, Industry, Website) VALUES ('CData', 'CData Software Inc.', 'Tech', 'cdata.com')
Update
Any field that is not read-only can be updated.
UPDATE Companies SET MainPhone='919-928-5214', AnnualRevenue='1000.00' WHERE ExternalCompanyId='CData'
Delete
Delete is used to remove companies from Marketo. To perform a delete, either the Id field or the
ExternalCompanyId field is required.
DELETE FROM Companies WHERE ExternalCompanyId=='CData'
Columns
| Name | Type | ReadOnly | Filterable | Description |
| Id [KEY] | String | True | True |
The unique, Marketo-assigned identifier of the company. |
| ExternalCompanyId | String | False | True |
The external Id of the company. |
| AnnualRevenue | Double | False |
The annual revenue of the company. |
|
| BillingCity | String | False |
The billing ciy of the company. |
|
| BillingCountry | String | False |
The billing country of the company. |
|
| BillingState | String | False |
The billing state of the company. |
|
| BillingStreet | String | False |
The billing street of the company. |
|
| Company | String | False | True |
The name of the company. |
| CompanyNotes | String | False |
Notes about the company. |
|
| ExternalSalesPersonId | String | False | True |
The external sales person Id associated with the company. |
| Industry | String | False |
The industry of the company. |
|
| MainPhone | String | False |
The main phone number of the company. |
|
| NumberOfEmployees | Integer | False |
The number of employees at the company. |
|
| SICCode | String | False |
The SIC Code of the company. |
|
| Site | String | False |
The site of the company. |
|
| Website | String | False |
The web site of the company. |
|
| CreatedAt | Datetime | True |
The date and time the company was created. |
|
| UpdatedAt | Datetime | True |
The date and time the company was last updated. |