---
title: Read
slug: quickbooks/L4EK-read
docTags: 
createdAt: 2024-01-23T12:04:06.464Z
---

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.&#x20;

:::CodeblockTabs
Request

```apex
//  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

```json
{
  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
      }
    ]
  }
}
```
:::

