GET
/
quickbooks-desktop
/
deleted-transactions
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'My API Key',
});

const deletedTransactions = await conductor.qbd.deletedTransactions.list({
  transactionTypes: ['invoice'],
  conductorEndUserId: 'end_usr_1234567abcdefg',
});

console.log(deletedTransactions.data);
{
  "objectType": "list",
  "url": "/v1/quickbooks-desktop/deleted-transactions",
  "data": [
    {
      "transactionType": "invoice",
      "id": "123ABC-1234567890",
      "objectType": "qbd_deleted_transaction",
      "createdAt": "2021-10-01T12:34:56-05:00",
      "deletedAt": "2021-10-02T09:15:30-05:00",
      "refNumber": "INV-1234"
    }
  ]
}

Authorizations

Authorization
string
header
required

Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}").

Headers

Conductor-End-User-Id
string
required

The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}").

Example:

"end_usr_1234567abcdefg"

Query Parameters

transactionTypes
enum<string>[]
required

Filter for deleted transactions by their transaction type(s).

Example:
["invoice"]
deletedAfter
string

Filter for deleted transactions deleted on or after this date and time, within the last 90 days (QuickBooks limit), in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the time is assumed to be 00:00:00 of that day.

Example:

"2021-01-01T12:34:56"

deletedBefore
string

Filter for deleted transactions deleted on or before this date and time, within the last 90 days (QuickBooks limit), in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the time is assumed to be 23:59:59 of that day.

Example:

"2021-02-01T12:34:56"

Response

200 - application/json

Returns a list of deleted transactions.

The response is of type object.