Create / Update Company

Creating and updating a company from the API can be done by posting your company object to Supportbench.

The only difference between company creations and updates is including a company id within the company object.

When creating or updating a company, the below fields are available to you.

NameRequiredLimitDefaultAvailabilitySummary
id_prefixno5 characters"CP"NewThe prefix of the company. You can assign new company prefix's within the API administration section.
id_sourceno25 characters-NewThe source id of the company. You can assign custom ID's from existing systems or assign your own id.
idno - when creating
yes - when updating
30 characters-UpdateThe full company id including the prefix.
nameyes500 characters-New / UpdateThe company name.
addressno250 characters-New / UpdateThe mailing address of the company.
cityno100 characters-New / UpdateThe mailing city of the company.
zipno25 characters-New / UpdateThe mailing zip / postal code of the company.
stateno50 characters-New / UpdateThe mailing state or province of the company.
countryno5 characters-New / UpdateThe 2 character ISO country code of the company. i.e. US, CA. Country code can be found here: https://countrycode.org/
support_level_idnoInteger-New / UpdateThe support level id of the company.
activenoBoolean-New / UpdateIs the company active or not.
fieldsnoSee field object-New / UpdateA field array of custom fields to insert or update. Please see the field object below.

Fields Object

NameRequiredLimitDefaultSummary
idyesInteger-The field id of the field you wish to update. The field id must map to a valid field in the company.
valueyesDropdown list - Integer
Checkbox - Boolean
Text box - Unlimited
-The value of the custom field. The value is dependent on the field type.
Language
Authorization