Documentation

LogIn
  • Home
  • API
  • Update Company Info/Details

This API is used to update company information in the CRM .

Method: Get/Post

Base URL : https://hubbucs.com/site/api/hubb/edit_company_info
Mandatory Parameters Sample Description
key 374593457034859 The company account API key, you can get from company settings > API settings
email [email protected] email for user to authenticate
password 123456 Password for user to authenticate
contact_id 789 ID for the existing company .
action edit_details Action name to access info in DB .


Optional Parameters for Update Sample Description
edit_Pic Logo Picture Send as a file
facebook_link https://facebook.com Facebook Link
twitter_link https://twitter.com Twitter Link
linkedin_link https://linkedin.com LinkedIn Link
name Jon Company Name
dba Rock Company Business Name
employee_range 1 to 10 Range employee inside the company
owner_id 4 Owner ID
who_can_see 4,5,6 IDs for who given Permission
collaborators_readonly ['1','4','5'] collaborators Only Array
collaborators ['1','4','5'] collaborators FullAccess Array
emailsCount 3 Number of how many emails sent by the user to update/insert
email_contactRecord1
email_contactRecord2
email_contactRecord3
2
1
3
Contact Records Sent to update/insert
email_contact_usage1
email_contact_usage2
email_contact_usage3
2
1
3
Usage Type Sent to update/insert
email_record_data1
email_record_data2
email_record_data3
[email protected]
[email protected]
[email protected]
Emails Sent to update/insert
phonesCount 2 Number of how many phones No sent by the user to update/insert
phone_contactRecord1
phone_contactRecord2
phone_contactRecord3
2
1
3
Contact Phone Records Sent to update/insert
phone_contact_usage1
phone_contact_usage2
phone_contact_usage3
2
1
3
Usage Type Sent to update/insert
phone_contact_type1
phone_contact_type2
phone_contact_type3
1
2
3
Phone Type Sent to update/insert
phone_record_data1
phone_record_data2
phone_record_data3
2234516283
9967845212
4563214563
Phones Sent to update/insert
address_Count 2 Number of how many Addresses Entered by the user to update/insert
address_contactRecord1
address_contactRecord2
2
1
Contact Adresses Records Sent to update/insert
contact_usage1
contact_usage2
2
1
Usage Type Sent to update/insert
address1
address2
3303 New York st
5207 North Miami st
Addresses Sent to update/insert
city1
city2
New York
Sunrise
Cities Sent to update/insert
city1
city2
New York
Sunrise
Cities Sent to update/insert
state_TXT1
state_TXT2 Florida
Texas
State Names Sent to update/insert
state_id1
state_id2 23
24
State id (even not exist ) Sent to update/insert
country_id1
country_id2 55
182
Country ID Sent to update/insert
zipcode1
zipcode2 55683
45789
Zipcodes Sent to update/insert
website_Count 3 Number of how many Websites sent by the user to update/insert
website_contactRecord1
website_contactRecord2
2
1
Website Records Sent to update/insert
website_contact_usage1
website_contact_usage2
2
1
Usage Type Sent to update/insert
website_record_data1
website_record_data2
https://test1.com
https://test2.com
Websites Sent to update/insert
tax_id 22 Tax ID
remarks Test remarks Contact remarks
description Test description Company description
sector_id 22 sector_id

Example:


				

Example :

https://hubbucs.com/site/api/hubb/edit_company_info?key=12134651Gsuid7349&email=XXXXX&password=XXXXX&company_id=XXXX&action=edit_details&[optional1=XXX&optinal2=XXXX...etc ]

Response :

  1. {
  2. "message":"success",
  3. }
  4. ------OR------
  5. {
  6. "error_message":"error message"
  7. }