The tables below show the standard fields available to set on each OpenCRM module which can be created/edited by the API.

Only the fields you wish to set/update should be supplied. If you supply a field without a value, it will be updated to a blank value in OpenCRM. 

There are some fields which should always be set and these are shown with an asterisk and bold in the list. 

Please note that the name used in the query string parameter differs from that used when retrieving/updating field details. Both names are provided in the tables below. 

The tables only list the standard module fields, if you have added custom fields and need the names for these, see the section on custom fields. 

This page is evolving so if the module you need is not here yet, please contact our support desk.

Leads

CRM Field LabelAPI Field NameAPI Query String NameData Type
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Annual RevenueannualrevenueannualrevenueString
* Assigned tosmowneridassigned_user_idSee Assigned to
Assistant Emailassistant_emailassistant_emailString
CitycitycityString
CompanycompanycompanyString
Consent Given toconsent_given_toconsent_given_toString
Cost Centrecost_centrecost_centreString
CountrycountrycountryString
CountystatestateString
Data Collecteddata_collecteddata_collectedString
Data Processing Consent Givendata_processing_consent_givendata_processing_consent_given"0" or "1"
Date Consent Givendate_consent_givendate_consent_givenDate (yyyy-mm-dd)
Date Of BirthdobdobDate (yyyy-mm-dd)
DescriptiondescriptiondescriptionString
Do Not Emaildo_not_emaildo_not_email"0" or "1"
Do Not Faxfpsfps"0" or "1"
Do Not Live Chatdonotlivechatdonotlivechat"0" or "1"
Do Not Phonetpstps"0" or "1"
EmailemailemailString
Email Address Bouncedemail_bouncedemail_bouncedString
Email Bounce Historyemail_bounce_historyemail_bounce_historyString
Email PlanemailplanemailplanInteger - ID of email plan to trigger
FaxfaxfaxString
First ActionfirstactionfirstactionString
First EmailfirstreplyfirstreplyString
First NamefirstnamefirstnameString
GDPR Consent to Processingconsent_to_processingconsent_to_processing"0" or "1"
GreetinggreetinggreetingString
Home PhonehomephonehomephoneString
Include In Syncincludeinsyncincludeinsync"0" or "1"
IndustryindustryindustryString
Job TitledesignationdesignationString
* Last NamelastnamelastnameString
Lead SourceleadsourceleadsourceString
Lead StatusleadstatusleadstatusString
Lead TypeleadtypeleadtypeString
Live Chat ProfilelivechatprofilelivechatprofileString (URL)
MobilemobilemobileString
No Of EmployeesnoofemployeesnoofemployeesString
Passwordpasswordportal_passwordString
PhonephonephoneString
Portal Access Lockedportal_islockedportal_islocked"0" or "1"
Portal Components (default is all)allowed_componentsallowed_componentsString
Portal UserportalportalString
Postal CodecodecodeString
Preferred Contact MethodprefcontactmethodprefcontactmethodString
RatingratingratingString
Reassigned Datereassigned_datereassigned_dateString
Remove from Vicidialvicidial_removevicidial_removeString
Right to be forgottenrighttobeforgottenrighttobeforgotten"0" or "1"
Right to be forgotten daterighttobeforgotten_daterighttobeforgotten_dateDate (yyyy-mm-dd)
Right to be forgotten userrighttobeforgotten_userrighttobeforgotten_userString (Username)
SecuritypermissionpermissionInteger (0 to 13) - See Security 
StreetlanelaneString
Street 2lane2lane2String
SubscriptionssubscriptionsubscriptionString
Tagsleaddetails_tagsleaddetails_tagsString
Usernameloginportal_loginString
WebsitewebsitewebsiteString (URL)
Instagraminstagramsocialnetworking_instagramString
Facebookleaddetails_facebooksocialnetworking_facebookString
Google Plusleaddetails_googleplussocialnetworking_googleplusString
Linked Inleaddetails_linkedinsocialnetworking_linkedinString
Pinterestleaddetails_pinterestsocialnetworking_pinterestString
Twitterleaddetails_twittersocialnetworking_twitterString
YouTubeleaddetails_youtubesocialnetworking_youtubeString



Contacts

CRM Field LabelAPI Field NameAPI Query String NameData Type
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Address Inheritaddressinheritaddressinherit"0" or "1"
* Assigned Tosmowneridassigned_user_idSee Assigned to
AssistantassistantassistantString
Assistant Emailassistant_emailassistant_emailString
Assistant PhoneassistantphoneassistantphoneString
BirthdatebirthdaybirthdayDate (yyyy-mm-dd)
Can eSigncanesigncanesign"0" or "1"
Company Nameaccountidcontactdetails.accountidInteger (ID of company record)
Company Typecompany_typecompany_typeString
Consent Given toconsent_given_toconsent_given_toString
Contact TypecontacttypecontacttypeString
Data Collecteddata_collecteddata_collectedString
Data Processing Consent Givendata_processing_consent_givendata_processing_consent_givenDate (yyyy-mm-dd)
Date Consent Givendate_consent_givendate_consent_givenDate (yyyy-mm-dd)
DepartmentdepartmentdepartmentString
DescriptiondescriptiondescriptionString
Do Not Emaildo_not_emaildo_not_email"0" or "1"
Do Not Faxfpsfps"0" or "1"
Do Not Live Chatdonotlivechatdonotlivechat"0" or "1"
Do Not Phonetpstps"0" or "1"
Email (Business)emailemailString
Email (Private)email2email2String
Email PlanemailplanemailplanInteger - ID of action plan to trigger
FaxfaxfaxString
First NamefirstnamefirstnameString
Folderfoldercontact_folderString
GDPR Consent to Processingconsent_to_processingconsent_to_processing"0" or "1"
GreetinggreetinggreetingString
Home PhonehomephonehomephoneString
Job TitletitletitleString
* Last NamelastnamelastnameString
Lead SourceleadsourceleadsourceString
Live Chat ProfilelivechatprofilelivechatprofileString
Mailing CitymailingcitymailingcityString
Mailing CountrymailingcountrymailingcountryString
Mailing CountymailingstatemailingstateString
Mailing PostcodemailingzipmailingzipString
Mailing StreetmailingstreetmailingstreetString
Mailing Street 2mailingstreet2mailingstreet2String
MobilemobilemobileString
Office PhonephonephoneString
Other CityothercityothercityString
Other CountryothercountryothercountryString
Other CountyotherstateotherstateString
Other PhoneotherphoneotherphoneString
Other PostcodeotherzipotherzipString
Other StreetotherstreetotherstreetString
Other Street 2otherstreet2otherstreet2String
Passwordpasswordportal_passwordString
Portal Access Lockedportal_islockedportal_islocked"0" or "1"
Portal Components (default is all)allowed_componentsallowed_componentsString
Portal UserportalportalString
Preferred Contact MethodprefcontactmethodprefcontactmethodString
Reassigned Datereassigned_datereassigned_dateDate (yyyy-mm-dd)
Remove from Vicidialvicidial_removevicidial_removeString
Reports Toreportstocontact_idInteger - ID of contact record
Right to be forgottenrighttobeforgottenrighttobeforgotten"0" or "1"
Right to be forgotten daterighttobeforgotten_daterighttobeforgotten_dateDate (yyyy-mm-dd)
Right to be forgotten userrighttobeforgotten_userrighttobeforgotten_userDate (yyyy-mm-dd)
Sage Referencesage_refsage_refString
SecuritypermissionpermissionInteger (0 to 13) - See Security 
SubscriptionssubscriptionsubscriptionString (Comma separated list)
Support End Datesupport_end_datesupport_end_dateDate (yyyy-mm-dd)
Support Start Datesupport_start_datesupport_start_dateDate (yyyy-mm-dd)
Sync To OutlookincludeinsyncincludeinsyncString
Tagscontactdetails_tagscontactdetails_tagsString (Comma separated list)
Usernameloginportal_loginString
Facebookcontactdetails_facebooksocialnetworking_facebookString
Google Pluscontactdetails_googleplussocialnetworking_googleplusString
Linked Incontactdetails_linkedinsocialnetworking_linkedinString
Pinterestcontactdetails_pinterestsocialnetworking_pinterestString
Twittercontactdetails_twittersocialnetworking_twitterString
YouTubecontactdetails_youtubesocialnetworking_youtubeString
Instagraminstagramsocialnetworking_instagramString



Companies

CRM Field LabelAPI Field NameAPI Query String NameData Type
Account Type (Credit Control)paymenttypepaymenttypeString
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Address Inheritaddress_inheritaddress_inherit"0" or "1"
Annual Revenueannualrevenueannual_revenueString
* Assigned Tosmowneridassigned_user_idSee Assigned to
Balance Dayscredit_limit_dayscredit_limit_daysInteger
Billing Addressstreetbill_streetString
Billing Address 2bill_street_2bill_street_2String
Billing Citycitybill_cityString
Billing Countrycountrybill_countryString
Billing Countystatebill_stateString
Billing EmailbillemailbillemailString
Billing Postcodecodebill_codeString
* Company NameaccountnameaccountnameString
Company NumbercompanynumbercompanynumberString
Consent Given toconsent_given_toconsent_given_toString
Credit Check BycreditcheckbycreditcheckbyString (Username)
Credit Check OncreditcheckoncreditcheckonDate (yyyy-mm-dd)
Credit Fundstockfundstockfund"0" or "1"
Credit Limitcredit_limitcredit_limitDecimal
Credit Statuscredit_statuscredit_statusString
Current SpendcurrentspendcurrentspendDecimal
Data Collecteddata_collecteddata_collectedString
Data Processing Consent Givendata_processing_consent_givendata_processing_consent_given"0" or "1"
Date Consent Givendate_consent_givendate_consent_givenDate (yyyy-mm-dd)
Default Currencydef_currencydef_currencySee Currency
DescriptiondescriptiondescriptionString
Do Not Emaildo_not_emaildo_not_email"0" or "1"
Do Not Faxfpsfps"0" or "1"
Do Not Phonetpstps"0" or "1"
Due Balancedue_balancedue_balanceDecimal
Emailemail1email1String
Email PlanemailplanemailplanInteger - ID of email plan to trigger
EmployeesemployeesemployeesString
FaxfaxfaxString
GDPR Consent to Processingconsent_to_processingconsent_to_processing"0" or "1"
Include in Syncincludeinsyncincludeinsync"0" or "1"
IndustryindustryindustryString
LanguagelanguagelanguageString
Legal FormatownershipownershipString
Major Accountmajoraccountmajoraccount"0" or "1"
Member Ofparentidaccount_idInteger - CRMID of parent company
Opportunity YTDyear_to_dateyear_to_dateDecimal
Other Emailemail2email2String
Other PhoneotherphoneotherphoneString
Outstanding amount 0-30 daysosamount_0to30daysosamount_0to30daysString
Outstanding amount 120+ daysosamount_120plusdaysosamount_120plusdaysString
Outstanding amount 30-60 daysosamount_30to60daysosamount_30to60daysString
Outstanding amount 60-90 daysosamount_60to90daysosamount_60to90daysString
Outstanding amount 90-120 daysosamount_90to120daysosamount_90to120daysString
Overdue Balanceoverdue_balanceoverdue_balanceString
PhonephonephoneString
Phone No to Sendvicidial_account_phonenumvicidial_account_phonenumString
Portal Terms AcceptedportaltermsacceptportaltermsacceptString
PricebookpricebookpricebookInteger - ID of default pricebook for this company
Proprietor/Senior PartnerproprietorproprietorString
RatingratingratingString
Registered Addressstreetreg_streetString
Registered Citycityreg_cityString
Registered Countrycountryreg_countryString
Registered Countystatereg_stateString
Registered Postcodecodereg_codeString
Registered Street 2reg_street_2reg_street_2String
Right to be forgottenrighttobeforgottenrighttobeforgotten"0" or "1"
Right to be forgotten daterighttobeforgotten_daterighttobeforgotten_dateDate (yyyy-mm-dd)
Right to be forgotten userrighttobeforgotten_userrighttobeforgotten_userString (username)
Sage Referencesage_refsage_refString
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Shipping Addressstreetship_streetString
Shipping Address 2ship_street_2ship_street_2String
Shipping Citycityship_cityString
Shipping Countrycountryship_countryString
Shipping Countystateship_stateString
Shipping EmailshipemailshipemailString
Shipping Postcodecodeship_codeString
SubscriptionssubscriptionsubscriptionString (Comma separated list)
Tagsaccount_tagsaccount_tagsString (Comma separated list)
Total Balanceoutstanding_balanceoutstanding_balanceDecimal
Typeaccount_typeaccounttypeString
VAT Exemptvatexemptvatexempt"0" or "1"
VAT NumbervatnumbervatnumberString
WebsitewebsitewebsiteString
Facebookaccount_facebooksocialnetworking_facebookString
Google Plusaccount_googleplussocialnetworking_googleplusString
Linked Inaccount_linkedinsocialnetworking_linkedinString
Pinterestaccount_pinterestsocialnetworking_pinterestString
Twitteraccount_twittersocialnetworking_twitterString
YouTubeaccount_youtubesocialnetworking_youtubeString
Instagraminstagramsocialnetworking_instagramString



Projects

CRM Field LabelAPI Field NameAPI Query String NameData Type
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Activeactiveactive"0" or "1"
Assigned Tosmowneridassigned_user_idSee Assigned to
BudgetbudgetbudgetDecimal
Chargeable Timetime_taken_mtime_taken_mInteger - number of minutes
Company Nameaccountidaccount_idInteger - CRM ID of linked Company
Contact Namecontactidcontact_idInteger - CRM ID of linked Contact
Costs (Exc VAT)cost_netcost_netDecimal
Costs (Inc VAT)cost_grosscost_grossDecimal
DescriptiondescriptiondescriptionString
EmailemailemailString
Email PlanemailplanemailplanInteger - ID of email plan to trigger
End DateenddateenddateDate (yyyy-mm-dd)
NamenamenameString
Non Chargeable Timenc_time_mnc_time_mInteger - number of minutes
PriorityprojpriorityprojpriorityString
Privateprivateprivate"0" or "1"
Project NumberprojectnumprojectnumString
Project Timetime_mtime_mString
Project TypeprojecttypeprojecttypeString
Reassigned Datereassigned_datereassigned_dateDate (yyyy-mm-dd)
Related Toparent_idparent_idInteger - CRM ID of related record
Sales Ordersalesorder_idsalesorder_idInteger - CRM ID of linked Sales Order
Scheduled Timesched_time_msched_time_mInteger - number of minutes
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Show Documents On Portalshowdocsonportalshowdocsonportal"0" or "1"
Show On Portalshowonportalshowonportal"0" or "1"
Start DatestartdatestartdateDate (yyyy-mm-dd)
StatusprojectstatusprojectstatusString
Tagsprojects_tagsprojects_tagsString, comma separated
Target End DatetargetendtargetendDate (yyyy-mm-dd)
VAT Rate %vat_ratevat_rateString



Helpdesk

CRM Field LabelAPI Field NameAPI Query String NameData Type
3rd Partyextra_parent_idextra_parent_idInteger - CRMID of additional parent record
Action Planactionplan_idactionplan_idInteger - ID of Action plan to run
Additional Recipientsemail_toemail_toString - comma separated list of email addresses
Assetsingle_asset_idsingle_asset_idInteger - CRMID of Asset to link
Assigned Tosmowneridassigned_user_idSee Assigned to
CategorycategoryticketcategoriesString
Close DateclosedonclosedonDate ("yyyy-mm-dd")
Closed ByclosedbyclosedbyString (username)
Contact Namecontactidcontact_idInteger - CRMID of Contact to link
ContractcontractidcontractidInteger - CRMID of Contract to link
Costs (Exc VAT)cost_netcost_netDecimal
Costs (Inc VAT)cost_grosscost_grossDecimal
DescriptiondescriptiondescriptionString
Email PlanemailplanemailplanInteger - ID of Email plan to run
Opened ByopenedbyopenedbyString
PrioritypriorityticketprioritiesString
Product Nameproduct_idproduct_idInteger - CRMID of Product to link
ProjectprojectidprojectidInteger - CRMID of Project to link
Queuesupport_queuesupport_queueString
Reassigned Datereassigned_datereassigned_dateDate ("yyyy-mm-dd")
Related Toparent_idparent_idInteger - CRMID of parent record (Contact or Company) to link
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Sent to Support Emailsent_to_support_emailsent_to_support_emailString
SeverityseverityticketseveritiesString
Show On Portalshowonportalshowonportal"0" ir "1"
SolutionsolutionsolutionString
StatusstatusticketstatusString
Tagstroubletickets_tagstroubletickets_tagsString (comma separated list)
Technical Solutiontech_solutiontech_solutionString
Titletitleticket_titleString



Products

CRM Field LabelAPI Field NameAPI Query String NameData Type
Batch Numberbatch_numberbatch_numberString
Binlocation_binlocation_binString
Bundle Productbundle_productbundle_productString
Buy Pricebuy_pricebuy_priceDecimal
Commission Bandcommission_bandcommission_bandString
Commission Rate (%)commissionratecommissionrateInteger
Contract Term (months)contract_termcontract_termInteger
Date IndateindateinDate (yyyy-mm-dd)
Default Currencydef_currencydef_currencySee Currency
Descriptionproduct_descriptionproduct_descriptionString
Despatch DatedespatchdatedespatchdateDate (yyyy-mm-dd)
End UsercustomeridcustomeridInteger - CRM ID of linked Contact
Handlersmowneridassigned_user_idSee Assigned to
InstallerinstalleridinstalleridInteger - CRM ID of linked Company
ManufacturermanufacturermanufacturerString
Mini Descriptionmini_descriptionmini_descriptionString
Model Revisionmodel_revisionmodel_revisionString
Nominal AccountglacctglacctString
Parent Productparentprodidproduct_idInteger - CRM ID of parent Product
Price Check Dateprice_check_dateprice_check_dateDate (yyyy-mm-dd)
Product Activediscontinueddiscontinued"0' or "1"
Product CategoryproductcategoryproductcategoryString
Product CodeproductcodeproductcodeString
Product NameproductnameproductnameString
Product SheetproductsheetproductsheetString
Product Statusproduct_statusproduct_statusString
Purchase Nominal Codepurch_nom_codepurch_nom_codeString
Purchase Nominal Descriptionpurch_nom_descpurch_nom_descString
Qty. in DemandqtyindemandqtyindemandInteger
Qty. in StockqtyinstockqtyinstockInteger
Qty/Unitqty_per_unitqty_per_unitInteger
Reassigned Datereassigned_datereassigned_dateDate (yyyy-mm-dd)
Reorder LevelreorderlevelreorderlevelString
Sales End Datesales_end_datesales_end_dateDate (yyyy-mm-dd)
Sales Nominal Codenominal_codenominal_codeString
Sales Start Datesales_start_datesales_start_dateDate (yyyy-mm-dd)
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Sell Priceunit_priceunit_priceDecimal
Serial Noserialnoserial_noString
Shelflocation_shelflocation_shelfString
SizesizesizeString
Sub Product TypesubproducttypesubproducttypeString
Supplier Namevendor_idvendor_idInteger - CRM ID of Supplier Company
Supplier Part Novendor_part_novendor_part_noString
Supply Typeprod_supplytypeprod_supplytypeString
Support Expiry Dateexpiry_dateexpiry_dateDate (yyyy-mm-dd)
Support Start Datestart_datestart_dateDate (yyyy-mm-dd)
Tagsproducts_tagsproducts_tagsString - comma separated list
Tax ClasstaxclasstaxclassString - use standard OpenCRM tax class values only. 
Usage UnitusageunitusageunitInteger
Warehouselocation_warehouselocation_warehouseString
WebsitewebsitewebsiteString
Weight (Kg)weight_stockweight_stockInteger



Assets

CRM Field LabelAPI Field NameAPI Query String NameData Type
Asset Nameasset_nameasset_nameString
Asset Typeasset_typeasset_typeString
Assigned Tosmowneridassigned_user_idSee Assigned to
Companyaccountidaccount_idInteger - CRM ID of Linked Company
DescriptiondescriptiondescriptionString
IP Addressip_addressip_addressString
Locationasset_locationasset_locationString
MAC Addressmac_addressmac_addressString
Manufacturerasset_manufacturerasset_manufacturerString
ModelmodelmodelString
Nearest Phonenearest_phonenearest_phoneString
Network Namenetwork_namenetwork_nameString
Onsite Checkonsite_checkonsite_checkString
Parent Productproduct_idproduct_idInteger - CRM ID of Parent Product
Serial Numberserial_numberserial_numberString
Statusasset_statusasset_statusString
Stock Itemsingle_stock_idsingle_stock_idInteger - CRM ID of Linked Stock ID
VersionversionversionString
Warranty Expireswarranty_expireswarranty_expiresDate (yyyy-mm-dd)
Warranty Typewarranty_typewarranty_typeString



Contracts

CRM Field LabelAPI Field NameAPI Query String NameData Type
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Assigned Tosmowneridassigned_user_idSee Assigned to
Chargeable Timetime_taken_mtime_taken_mInteger (time in minutes)
CompanyaccountidaccountidInteger - CRMID of linked company
Completed Timecomp_time_mcomp_time_mInteger (time in minutes)
Contact Namecontactidcontact_idInteger - CRMID of linked contact
Contract NumbercontractnumcontractnumString
Contract Timetime_mtime_mInteger (time in minutes)
Contract TypecontracttypecontracttypeString
DescriptiondescriptiondescriptionString
Email PlanemailplanemailplanInteger - ID of action plan to trigger
End DateenddateenddateDate (yyyy-mm-dd)
NamenamenameString
Non Chargeable Timenc_time_mnc_time_mInteger (time in minutes)
Overrun Timeover_time_mover_time_mInteger (time in minutes)
Reassigned Datereassigned_datereassigned_dateDate (yyyy-mm-dd)
Related Toparent_idparent_idInteger - CRMID of linked record
SLA Response time (hrs)sla_responsehrssla_responsehrsInteger (time in hours)
Sales Ordersalesorder_idsalesorder_idInteger - CRMID of linked sales order
Scheduled Timesched_time_msched_time_mInteger (time in minutes)
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Show On Portalshowonportalshowonportal"0" or "1"
Start DatestartdatestartdateDate (yyyy-mm-dd)
StatuscontractstatuscontractstatusString
Tagscontracts_tagscontracts_tagsString (Comma separated list)
Time Lefttime_left_mtime_left_mInteger (time in minutes)



Opportunities

CRM Field LabelAPI Field NameQuery String Field NameData Type
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Active PeriodactivedaysactivedaysInteger - Number of days
AmountamountamountDecimal
Assigned Tosmowneridassigned_user_idSee Assigned to
CampaigncampaignidcampaignidInteger - CRMID of Campaign to link
Commission Approvedcommission_approvedcommission_approved"0" or "1"
Commission Approved Datecommission_approved_datecommission_approved_dateDate (yyyy-mm-dd)
Company Nameaccountidaccount_idInteger - CRMID of Company to link
Contactcontactidcontact_idInteger - CRMID of Contact to link
Cost Centrecost_centrecost_centreString
Currencydef_currencydef_currencySee Currency
DescriptiondescriptiondescriptionString (long text)
EmailemailemailString
Email PlanemailplanemailplanInteger - ID of email plan to trigger
Eventsingle_event_idsingle_event_idInteger - CRMID of Event to link
Expected Close DateclosingdateclosingdateDate (yyyy-mm-dd)
Gain or Lossgain_lossgain_lossDecimal
Lead SourceleadsourceleadsourceString
Next StepnextstepnextstepString
Opportunity NamepotentialnamepotentialnameString
Previous Amountprevious_amountprevious_amountDecimal
Probability (%)probabilityprobabilityInteger
Project NameprojectidprojectidInteger - CRMID of Project to link
Reassigned Datereassigned_datereassigned_dateDate (yyyy-mm-dd)
Related Toparent_idparent_idInteger - CRMID of related record to link
Sales CommissionsalescommissionsalescommissionDecimal
Sales Stagesales_stagesales_stageString
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Start Datestart_datestart_dateDate (yyyy-mm-dd)
Tagspotential_tagspotential_tagsString - comma separated list
Typepotentialtypeopportunity_typeString
Vat Rate %vat_ratevat_rateInteger
Weighted AmountweightedamountweightedamountDecimal



Activities

CRM Field LabelAPI Field NameQuery String Field NameData Type
Assetsingle_asset_idsingle_asset_idInteger - CRM ID of Asset to link
Assigned Tosmowneridassigned_user_idSee Assigned to
CategorycategorycategoryString
Charge TimechargetimechargetimeString
Company NameaccountidaccountidInteger - CRM ID of Company to link
Contact Namecontact_idcntactivityrel.contactidInteger - CRM ID of Contact to link
Conversation URLlivechat_convo_urllivechat_convo_urlString
Costs (Exc VAT)cost_netcost_netDecimal
Costs (Inc VAT)cost_grosscost_grossDecimal
DescriptiondescriptiondescriptionString
Due Datedue_datedue_dateDate (yyyy-mm-dd)
Durationduration_hoursduration_hoursInteger - number of hours
FAQ Ratingcf_faqratingcf_faqratingInteger
PriorityprioritytaskpriorityString
Related Tocrmidparent_idInteger - CRM ID of related record to link
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Send Notification To Action Ownersendnotificationsendnotification"0" or "1"
Send Notification To Linked Contactsendnotificationcontsendnotificationcont"0" or "1"
Send Reminder To Action Ownerreminder_timereminder_time"0" or "1"
Send Reminder To Linked Contactreminder_time_contreminder_time_cont"0" or "1"
Show On Portalshowonportalshowonportal"0" or "1"
Start Date & Timedate_startdate_startDate (yyyy-mm-dd)
StatusstatustaskstatusString
SubjectsubjectsubjectString
Task ListtasklisttasklistString
VAT Rate %vat_ratevat_rateInteger



Quotes

CRM Field LabelAPI Field NameAPI Query String NameData Type
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Assigned Tosmowneridassigned_user_idSee Assigned to
Billing Addressbill_streetbill_streetString
Billing Address 2bill_street_2bill_street_2String
Billing Citybill_citybill_cityString
Billing Codebill_codebill_codeString
Billing Countrybill_countrybill_countryString
Billing Countybill_statebill_stateString
Billing EmailbillemailbillemailString
CampaigncampaignidcampaignidInteger - CRMID of Campaign to link
CarriercarriercarrierString
Commission Approvedcommission_approvedcommission_approved"0" ir "1"
Commission Approved Datecommission_approved_datecommission_approved_dateDate ("yyyy-mm-dd")
Company Nameaccountidaccount_idInteger - ID of action plan to trigger
Contact Namecontactidcontact_idInteger - CRMID of Contact to link
Cost Centrecost_centrecost_centreString
Default Currencydef_currencydef_currencySee Currency
DescriptiondescriptiondescriptionString
Email PlanemailplanemailplanInteger - ID of Email plan to trigger
Esign Terms Templateesign_terms_templateesign_terms_templateInteger - ID of Email template
Inventory Managerinventorymanagerassigned_user_id1See Assigned to
LanguagelanguagelanguageString
Opportunity Namequotes.potentialidpotential_idInteger - CRMID of Opportunity to link
PDF Templatepdf_templatepdf_templateInteger - ID of PDF template
PricebookpricebookpricebookInteger - CRMID of Pricebook
Products Per PageproductsperpageproductsperpageInteger
Project NameprojectidprojectidInteger - CRMID of Project to link
Purchase OrderpurchaseorderpurchaseorderInteger - CRMID of Purchase Order to link
Quote StagequotestagequotestageString
Quote TypequotetypequotetypeString
Require confirm terms on esignrequire_terms_esignrequire_terms_esign"0" or "1"
Sales CommissionsalescommissionsalescommissionString
SecuritypermissionpermissionInteger (0 to 13) - See Security 
ShippingshippingshippingString
Shipping Addressship_streetship_streetString
Shipping Address 2ship_street_2ship_street_2String
Shipping Cityship_cityship_cityString
Shipping Codeship_codeship_codeString
Shipping Countryship_countryship_countryString
Shipping Countyship_stateship_stateString
Shipping EmailshipemailshipemailString
Show On Portalshowonportalshowonportal"0" or "1"
SubjectsubjectsubjectString
Tagsquotes_tagsquotes_tagsString - comma separated list
Terms & Conditionsterms_conditionsterms_conditionsString
Terms Acceptedterms_acceptedterms_accepted"0" or "1"
VAT Rate %vat_ratevat_rateDecimal
Valid TillvalidtillvalidtillDate ("yyyy-mm-dd")
eSign Dateesign_audit_signdateesign_audit_signdateDate ("yyyy-mm-dd")
eSigned Byesign_audit_signbyesign_audit_signbyString
eSigned From IPesign_audit_signipesign_audit_signipString



Sales Orders

CRM Field LabelAPI Field NameAPI Query String NameData Type
Terms Acceptedterms_acceptedterms_accepted"0" or "1"
Accounts Companysage_installsage_installString
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Assigned Tosmowneridassigned_user_idSee Assigned to
Billing Addressbill_streetbill_streetString
Billing Address 2bill_street_2bill_street_2String
Billing Citybill_citybill_cityString
Billing Codebill_codebill_codeString
Billing Countrybill_countrybill_countryString
Billing Countybill_statebill_stateString
Billing EmailbillemailbillemailString
CampaigncampaignidcampaignidInteger - CRMID of Campaign to link
Closed Datedate_completedate_completeDate ("yyyy-mm-dd")
Commission Approvedcommission_approvedcommission_approvedString
Commission Approved Datecommission_approved_datecommission_approved_dateDate ("yyyy-mm-dd")
Company Nameaccountidaccount_idInteger - CRMID of Company to link
Contact Namecontactidcontact_idInteger - CRMID of Contact to link
Cost Centrecost_centrecost_centreString
Default Currencydef_currencydef_currencySee Currency
DescriptiondescriptiondescriptionString
Due DateduedateduedateDate ("yyyy-mm-dd")
Email PlanemailplanemailplanString
Esign Terms Templateesign_terms_templateesign_terms_templateInteger - ID of Email Template
Fulfil ByfulfilbyfulfilbyDate ("yyyy-mm-dd")
Invoice Templaterecurring_invoice_templaterecurring_invoice_templateInteger - ID of PDF Template
Is SO Stock FundedisstockfundedisstockfundedString
Is a Jobso_jobso_job"0" or "1"
Job Accepted Dateso_job_acceptedso_job_acceptedDate ("yyyy-mm-dd")
Job Completion Dateso_job_completedso_job_completedDate ("yyyy-mm-dd")
Job Dateso_job_timeso_job_timeDate ("yyyy-mm-dd")
Job Timetime_starttime_startString
LanguagelanguagelanguageString
Lease Acceptance DateleaseacceptancedateleaseacceptancedateDate ("yyyy-mm-dd")
Leased ByleasedbyleasedbyString
Opportunity Namepotentialidpotential_idInteger - CRMID of Opportunity to link
Order Weight (Kg)so_weightsalesorderString
PDF Templatepdf_templatepdf_templateInteger - ID of PDF Template
PartnerpartneridpartneridInteger - CRMID of Company to link
Payment DatepaymentdatepaymentdateDate ("yyyy-mm-dd")
Payment TypepaymenttypesopaymenttypeString
Price GuidepricebookpricebookInteger - CRMID of Pricebook
Products Per PageproductsperpageproductsperpageInteger
Project NameprojectidprojectidInteger - CRMID of Project to link
Purchase OrderpurchaseorderpurchaseorderInteger - CRMID of PO to link
Quote Namequoteidquote_idInteger - CRMID of Quote to link
Require confirm terms on esignrequire_terms_esignrequire_terms_esign"0" or "1"
Requires Finance Authorisationrequire_finance_authrequire_finance_auth"0" or "1"
Sales CommissionsalescommissionsalescommissionDecimal
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Sent to AccountssendtosagesendtosageString
Sent to Accounts onsenttosageonsenttosageonDate ("yyyy-mm-dd")
Shipping Addressship_streetship_streetString
Shipping Address 2ship_street_2ship_street_2String
Shipping Cityship_cityship_cityString
Shipping Codeship_codeship_codeString
Shipping Countryship_countryship_countryString
Shipping Countyship_stateship_stateString
Shipping EmailshipemailshipemailString
Show On Portalshowonportalshowonportal"0" or "1"
StatussostatussostatusString
SubjectsubjectsubjectString
Tagssalesorder_tagssalesorder_tagsString - comma separated list
Terms & Conditionsterms_conditionsterms_conditionsString
Top Up Company Stock Fundtopupstockfundtopupstockfund"0" or "1"
VAT Rate %vat_ratevat_rateInteger
eSign Dateesign_audit_signdateesign_audit_signdateDate ("yyyy-mm-dd")
eSigned Byesign_audit_signbyesign_audit_signbyString
eSigned From IPesign_audit_signipesign_audit_signipString




Purchase Order

CRM Field LabelAPI Field NameAPI Query String NameData Type
Accounts Companysage_installsage_installString
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Amount OutstandingoutstandingoutstandingDecimal
Assigned Tosmowneridassigned_user_idSee Assigned to
Bill Tobill_tobill_toString
Billing Addressbill_streetbill_streetString
Billing Address 2bill_street_2bill_street_2String
Billing Citybill_citybill_cityString
Billing Codebill_codebill_codeString
Billing Countrybill_countrybill_countryString
Billing Countybill_statebill_stateString
Billing EmailbillemailbillemailString
Book Stock to Sales Orderbookstocktosobookstocktoso"0" or "1"
CarriercarriercarrierString
Company Nameaccount_idaccount_idInteger - CRMID of Company
Contact Namecontactidcontact_idInteger - CRMID of Contact
Cost Centrecost_centrecost_centreString
Default Currencydef_currencydef_currencySee Currency
DescriptiondescriptiondescriptionString
Due DateduedateduedateDate ("yyyy-mm-dd")
Email PlanemailplanemailplanInteger - ID of Email Plan to trigger
Excise DutyexcisedutyexcisedutyDecimal
LanguagelanguagelanguageString
Opportunity Namepotentialidpotential_idInteger - CRMID of Opportunity to link
Products Per PageproductsperpageproductsperpageString
Project NameprojectidprojectidInteger - CRMID of Project to link
Sales CommissionsalescommissionsalescommissionDecimal
Sales Ordersalesorder_idsalesorder_idString
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Sent to Sagesendtosagesendtosage"0" or "1"
Sent to Sage onsenttosageonsenttosageonDate ("yyyy-mm-dd")
Ship Directshipdirectshipdirect"0" or "1"
Ship Toship_toship_toString
Shipping Addressship_streetship_streetString
Shipping Address 2ship_street_2ship_street_2String
Shipping Cityship_cityship_cityString
Shipping Codeship_codeship_codeString
Shipping Countryship_countryship_countryString
Shipping Countyship_stateship_stateString
Shipping EmailshipemailshipemailString
StatuspostatuspostatusString
SubjectsubjectsubjectString
Supplier Namevendoridvendor_idInteger - CRMID of Company to link
Tagspurchaseorder_tagspurchaseorder_tagsString- Comma separated list
Terms & Conditionsterms_conditionsterms_conditionsString
Tracking Numbertracking_notracking_noString
VAT Rate %vat_ratevat_rateInteger




Invoice

CRM FIeld LabelAPI Field NameAPI Query String NameData Type
Accounts Companysage_installsage_installString
Action Planactionplan_idactionplan_idInteger - ID of action plan to trigger
Amount OutstandingoutstandingoutstandingDecimal
Assigned Tosmowneridassigned_user_idSee Assigned to
Billing Addressbill_streetbill_streetString
Billing Address 2bill_street_2bill_street_2String
Billing Citybill_citybill_cityString
Billing Codebill_codebill_codeString
Billing Countrybill_countrybill_countryString
Billing Countybill_statebill_stateString
Billing EmailbillemailbillemailString
CampaigncampaignidcampaignidInteger - CRMID of Campaign
Commission Approvedcommission_approvedcommission_approved"0" or "1"
Commission Approved Datecommission_approved_datecommission_approved_dateDate ("yyyy-mm-dd")
Company Nameaccountidaccount_idInteger - CRMID of Company
Company VAT NumcyvatnumbercyvatnumberString
Contact Namecontactidcontact_idInteger - CRMID of Contact
Cost Centrecost_centrecost_centreString
Customer NocustomernocustomernoString
Default Currencydef_currencydef_currencySee Currency
DescriptiondescriptiondescriptionString
Due DateduedateduedateDate ("yyyy-mm-dd")
Email PlanemailplanemailplanInteger - ID of Email Plan to trigger
Excise DutyexcisedutyexcisedutyDecimal
Invoice #:invoicenuminvoicenumString
Invoice DateinvoicedateinvoicedateDate ("yyyy-mm-dd")
Invoice TypeinvoicetypeinvoicetypeString
Is SO Stock Fundedisstockfundedisstockfunded"0" or "1"
LanguagelanguagelanguageString
Lease Acceptance DateleaseacceptancedateleaseacceptancedateDate ("yyyy-mm-dd")
Leased ByleasedbyleasedbyString
Opportunity Namepotentialidpotential_idInteger - CRMID of Opportunity to link
PDF Templatepdf_templatepdf_templateInteger - ID of PDF Template
Paid DatepaiddatepaiddateDate ("yyyy-mm-dd")
Payment DatepaymentdatepaymentdateDate ("yyyy-mm-dd")
Payment Daypayment_daypayment_dayString
Payment TypepaymenttypesopaymenttypeString
PricebookpricebookpricebookInteger - CRMID of Pricebook
Products Per PageproductsperpageproductsperpageInteger
Project NameprojectidprojectidInteger - CRMID of Project to link
Purchase OrderpurchaseorderpurchaseorderInteger - CRMID of PO to link
Quote Namequoteidquote_idInteger - CRMID of Quote to link
Recursrecur_intervalrecur_interval"0" or "1"
Requires Financial Authorisationrequire_finance_authrequire_finance_auth"0" or "1"
Sales CommissionsalescommissionsalescommissionDecimal
Sales Ordersalesorderidsalesorder_idInteger - CRMID of Sales Order
SecuritypermissionpermissionInteger (0 to 13) - See Security 
Sent to accountssendtosagesendtosage"0" or "1"
Sent to accounts onsenttosageonsenttosageonDate ("yyyy-mm-dd")
Shipping Addressship_streetship_streetString
Shipping Address 2ship_street_2ship_street_2String
Shipping Cityship_cityship_cityString
Shipping Codeship_codeship_codeString
Shipping Countryship_countryship_countryString
Shipping Countyship_stateship_stateString
Shipping EmailshipemailshipemailString
Show On Portalshowonportalshowonportal"0" or "1"
StatusinvoicestatusinvoicestatusString
SubjectsubjectsubjectString
Tagsinvoice_tagsinvoice_tagsString- Comma separated list
Terms & Conditionsterms_conditionsterms_conditionsString
VAT Rate %vat_ratevat_rateInteger



Product Lines

API Field NameDescription
lineidREQUIRED. Set to 0 to add a new product line, otherwise set to the lineid to amend (as returned by the record retrieval method)
productidREQUIRED: Must be a valid, non-deleted OpenCRM product
linenumberControls ordering of the product lines
descriptionIf not set, will default to that of the product
categoryThe line category (for sub-totalling). Must be a valid category as available in the web application
quantityIf not set, will default to 1. Must be a numeric value - up to 1 decimal place is supported. 
listprice1Sell price in the default currency
listprice2Sell price in secondary currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
listprice3Sell price in third currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
listprice4Sell price in fourth currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
listprice5Sell price in fifth currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
buypriceBuy price in default currency
buyprice2Buy price in secondary currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
buyprice3Buy price in third currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
buyprice4Buy price in fourth currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
buyprice5Buy price in fifth currency. If supplementary currency values are not passed in, they will be set to 0 - They will not calculate based on the base currency. 
taxclassTax class to apply to the row. Must be a valid tax class available in the web app. This will determine the tax percentage to apply. If not passed in on new records, will default to product value
prd_cf_1(..10)Custom product grid columns 1..10. Note that multi-currency custom product grid fields are not currently supported. 
discountMust be numeric value or percentage e.g. "10" or "10%"
supplieridID of supplier company,. Must be a valid , non-deleted OpenCRM Company record id.
supplytypeProduct supply type. Must match a valid product supply type. If not passed in on new row, will default to product value
contract_termMust be integer value
commission_bandThe commission band to apply. Will determine commission percentage. If not set on new rows, will default to product value. 
minimummargin, maximumdiscount, Can't be set from API - They will default to the values held on the product record
taxpercent, taxvalue, margin_percent, markup, commission_percent, commmission_amount, Can't be set from API - They will be set/calculated by the system based on the other values passed in
pricebookid, saved_pricing_used, saved_pricing_tier, despatched_quantity, remaining_quantityCan't be set from the API - They will retain their existing values when editing existing rows. 




Custom Fields

Custom fields can be set using the custom field name as shown in custom field settings. E.g. "cf_123".



Assigned To

The assigned to value should be set to a valid user ID, and NOT the username. You can get the user ID by looking at any user record in OpenCRM - the ID is shown in brackets in the consult mode of the user record. 

If you do not assign a user to a record, it may not be visible to users due to team security restrictions. 



Security

ValueDescription
0Default module permission.
1Public: Read, Create/Edit
11Public: Read Only
2Public: Read, Create/Edit, Delete
3Private
4Private ( + Team: Read Only)
5Private ( + Team: Read, Create/Edit)
6Private ( + Team: Read, Create/Edit/Delete)
7Public: Read (+ Admin Edit/Delete)
8Global: Read Only
9Global: Read, Create/Edit
10Global: Read, Create/Edit/Delete
12Global: Read Only ( + Team: Create/Edit)
13Global: Read Only ( + Team: Create/Edit/Delete)


Currency

The currency is set using the 3 character currency code. Please contact for assistance if you need to set a currency which is not listed. 

Please note the currencies in your system may differ - the three most common ones are shown below. 

ValueDescription
GBPBritish pounds (Sterling)
EUREuros
USDUS Dollar



Need More Help?

If you have any questions, just start a Live Chat, "Click" on the Chat Icon in the lower right corner to talk with our support team.