---
title: API Overview 
slug: quickbooks/api-overview
description: Learn how to use the global class "BreadwinnerQBAPI" to make efficient requests to QuickBooks via Breadwinner. This document highlights the class's static global method, "call," which enables you to effortlessly initiate API requests. By passing request d
docTags: 
createdAt: 2021-10-29T05:32:06.000Z
---

### Global Class

BreadwinnerQBAPI is a global class that can be used to make requests to QuickBooks via Breadwinner. As it is a part of the managed package, you must prepend the namespace "breadwinner\_qbo".

### Methods

The method `call (Map<String, Object> request)` is a static global method within the `BreadwinnerQBAPI` class, which can be used to make an API request.

:::CodeblockTabs
Format

```apex
breadwinner_qbo.BreadwinnerQBAPI.call(Map<String, Object> request);
```
:::

Breadwinner accepts the request data in the form of `Map<String, Object>`, and even returns the response data as a `Map<String, Object>`, thus making the requests and responses dynamic.

For more information, please refer to the Example Requests and Responses section.

Note: This is a synchronous method, it will make HTTP callouts. So, to access BreadwinnerQBAPI.Call() method asynchronously, please annotate the method you are calling from with the Future(callout=true), or use Queueable Apex.&#x20;

:::CodeblockTabs
Example

```apex
@Future(callout=true)
public static void createQBCustomer{
       breadwinner_qbo.BreadwinnerQBAPI.call(Map<String, Object> request);
}
```
:::

### Data in List Format

All data is sent and received via a list format, including single record responses. This applies to both the request and the response.

