Global API
...
Request
Vendor
Read
1min
the following is an example of read vendor the quickbooks vendor id (id) is required to read the vendor request // create a map to store all the data of a vendor map\<string, object> vendormap = new map\<string, object>(); vendormap put('id','67'); // initializing the request data to be passed map\<string, object> reqobj = new map\<string, object>(); reqobj put('version', '1 0'); reqobj put('action', 'readvendor'); reqobj put('options',vendormap); //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=readvendor, responsejson={ "vendors" \[ { "synctoken" "1", "sparse" false, "printoncheckname" "lap care match", "metadata" { "lastupdatedtime" "2021 11 01t00 36 54 07 00", "createtime" "2021 11 01t00 31 59 07 00" }, "id" "67", "displayname" "lap care match", "currencyref" { "value" "usd", "name" "united states dollar" }, "balance" "0", "active" "true" } ], "statuscode" 200, "status" "ok" }, timestamp=1635779470801, validrequest=true, version=1 0 }