Read
1min
The following is an example of read Credit Memo. The QuickBooks Credit Memo Id (Id) is required to read the Credit Memo.
Request
Response
|
The following is an example of read Credit Memo. The QuickBooks Credit Memo Id (Id) is required to read the Credit Memo.
// Create a Map to store all the data of a Credit Memo Map<String, Object> creditMemoMap = new Map<String, Object>(); creditMemoMap.put('Id','13'); // Initializing the Request Data to be passed. Map<String, Object> reqObj = new Map<String, Object>(); reqObj.put('version', '1.0'); reqObj.put('action', 'readCreditMemo'); reqObj.put('options',creditMemoMap); //Required, if QuickBooks Multi-Org is enabled in Breadwinner. reqObj.put('qbOrgId', '!aa00TM'); // Placing a request to Breadwinner Global API Map<String, Object> respMap = breadwinner_qbo.BreadwinnerQBAPI.call(reqObj); System.debug(respMap);