Global API
...
Request
Item
Read
1min
to read an item, please pass the quickbooks item id (reference id) the quickbooks item id is required to read the item the following is an example of read item request // create a map to store all the data of an item map\<string, object> itemmap = new map\<string, object>(); itemmap put('id','6'); // initializing the request data to be passed map\<string, object> reqobj = new map\<string, object>(); reqobj put('version', '1 0'); reqobj put('action', 'readitem'); reqobj put('options',itemmap); //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=readitem, responsejson={ "statuscode" 200, "status" "ok", timestamp=1706006085359, validrequest=true, version=1 0, "item" \[ { "unitprice" 0, "type" "service", "trackqtyonhand" false, "taxable" false, "synctoken" "0", "sparse" false, "salestaxincluded" false, "purchasetaxincluded" false, "purchasecost" 0, "name" "consultancy", "metadata" { "lastupdatedtime" "2023 01 08t10 37 09 08 00", "createtime" "2023 01 08t10 37 09 08 00" }, "incomeaccountref" { "value" "3", "name" "services" }, "id" "6", "fullyqualifiedname" "consultancy", "domain" "qbo", "active" true } ] } }