Global API
...
Request
Customer
Update
1min
the following is an example of update customer the quickbooks customer id (id) is required to update the customer (see customer docid\ beuvwrpdrh8smtnbynenj for the available fields) note you can only update one record at a time request // create a map to store all the data of a customer map\<string, object> customermap = new map\<string, object>(); customermap put('displayname','weiskopf consulting'); 	customermap put('id','1201'); 	customermap put('synctoken','0'); // initializing the requestjson data to be passed map\<string, object> requestjsonmap = new map\<string, object>(); requestjsonmap put('customers', new list\<object>{customermap}); string reqjson = json serialize(requestjsonmap); map\<string, object> reqobj = new map\<string, object>(); reqobj put('version', '1 0'); reqobj put('action', 'updatecustomer'); reqobj put('requestjson', reqjson); //required, if quickbooks multi org is enabled in breadwinner reqobj put('qborgid', '4620816365285051610'); // placing a request to breadwinner global api map\<string, object> respmap = breadwinner qbo breadwinnerqbapi call(reqobj); system debug(respmap); response { action=updatecustomer, responsejson={ "statuscode" 200, "customers" \[ { "taxable" false, "synctoken" "1", "sparse" false, "sfrecordid" "a085j000002chciaa0", "printoncheckname" "weiskopf consulting", "preferreddeliverymethod" "print", "metadata" { "lastupdatedtime" "2021 10 31t23 44 02 07 00", "createtime" "2021 07 17t17 29 04 07 00" }, "job" false, "id" "1201", "fullyqualifiedname" "weiskopf consulting", "displayname" "weiskopf consulting", "currencyref" { "value" "usd", "name" "united states dollar" }, "billwithparent" false, "balancewithjobs" "325 00", "balance" "325 00", "active" "true" } ] }, timestamp=1635749043782, validrequest=true, version=1 0 }