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

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

const deletedListObjects = await conductor.qbd.deletedListObjects.list({
  objectTypes: ['customer'],
  conductorEndUserId: 'end_usr_1234567abcdefg',
});

console.log(deletedListObjects.data);
{
  "objectType": "list",
  "url": "/v1/quickbooks-desktop/deleted-list-objects",
  "data": [
    {
      "listType": "customer",
      "id": "80000001-1234567890",
      "objectType": "qbd_deleted_list_object",
      "createdAt": "2021-10-01T12:34:56-05:00",
      "deletedAt": "2021-10-02T09:15:30-05:00"
    }
  ]
}

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

objectTypes
enum<string>[]
required

Filter for deleted list-objects by their list-object type(s).

Example:
["customer"]
deletedAfter
string

Filter for deleted list-objects 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 list-objects 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 list-objects.

The response is of type object.