Update record

Update record in Quickbooks


Update a record in Quickbooks using the record ID.

Note: This task is applicable only to Zoho Creator.


<variable> = intuit.quickbooks.update(<quickbooks_connection>, <quickbooks_module><company_ID><record_ID>, <syncToken><data_map>);


ParameterDescriptionData type


is the variable which will hold the response returned by Quickbooks.



is the name of the Quickbooks connection.



Module in Quickbooks where the record will be updated.

Following are the names of applicable modules.




AccountEmployee Department

refers to the unique ID generated by Quickbooks for each account.

You can find this under Your Company -> Account and Settings -> Billing & Subscription -> Company Id in your Quickbooks account.



ID of the record which needs to be updated.

Learn how to fetch the ID of a record after creating it or fetching it.


Version number of the record. It's meant by Intuit to be a way to avoid two people working on the same record at the same time, and unknowingly overwriting each other's changes.

Learn how to fetch the syncToken after creating or fetching a record.


Input map with key as Quickbooks field's name and the updated value. For ex: {"FamilyName":input.Name} 

To learn about the field names, click here and navigate to required module on that page.


Update records in Quickbooks

The following snippet when executed updates the specified record in the "Customer" module in Quickbooks. 

response = salesforce.sales.update("Quickbooks", "Customer", "1241802285", "6", "3", {"FamilyName" : "Henry Paul"});


"Quickbooks"is the name of the Quickbooks Connection
"Customer"is the module in Quickbooks, where the record will be updated
"1241802285​"is the ID of the record which needs to be updated
"6"ID of the record which will be updated
"3"syncToken of the record which will be updated
"FamilyName"Quickbooks field which will be updated with the value "Henry Paul"
responseis response returned as map by Quickbooks

Sample Response

Following is a sample success response returned by Quickbooks:

   “Customer":"{"   ShipAddr":"{"   Line3":"123 street",
   "Line2":"Building 1",
"Line1":"450 7th StreetnWashington DC",
"CurrencyRef":"{"name":"Indian Rupee",

The following is a sample failure response, returned due to invalid parameter name:

"   Detail":"Property Name:Can not instanti specified is unsupported or invalid",
   "Message":"Request has invalid or unsupported property",

Related Links

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com