company

Update

PUT method to update a company

Parameters

Name Description
account_id required Your account unique identifier to access API.
company_id required Id of the company to be updated.
name Name of the company
about_us About of the company
annual_revenue Annual revenue of the company
close_date Close date of the company
url The webpage url of the company phone
street Street of the company
city City of the company
country Country of the company in ISO-2
zip_code Zip code of the company
description Description of the company
fax Number of fax of company
email Email of the company
industry Industry type of the company
is_public This company is a public company?
number_of_employees Number of employees of the company
phone_number Phone number without country code of the company
phone_countrycode Phone country code of the company
time_zone Time zone of the company
year_founded Year founded of the company
facebook_page Facebook page of the company
google_plus_page Google plus page of the company
linkedin_page Linkedin page of the company
twitter_page Twitter page of the company
[custom field] You can create a custom field to use in every company. Only add the parameter in the json with the name of custom field (no label)

Request

Route
PUT 
/v2/account/:account_id/company/:company_id
Headers
Accept: application/json 
Authorization: Token token={account.secret}
Content-Type: application/json
Body
{
  "name": "Google",
  "url": "https://www.google.es",
  "email": "info@google.com"
}

Response

Status
200
Body
{
  "id": "550aac3da096734ce5000001",
  "name": "Google",
  "url": "https://www.google.es",
  "email": "info@google.com"
}