DELETE
/
quickbooks-desktop
/
checks
/
{id}
JavaScript
import Conductor from 'conductor-node';

const conductor = new Conductor({
  apiKey: 'sk_conductor_...',
});

const check = await conductor.qbd.checks.delete('123ABC-1234567890', {
  conductorEndUserId: 'end_usr_1234567abcdefg',
});

console.log(check.id);
{
  "id": "123ABC-1234567890",
  "objectType": "qbd_check",
  "refNumber": "CHECK-1234",
  "deleted": true
}

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"

Path Parameters

id
string
required

The QuickBooks-assigned unique identifier of the check to delete.

Example:

"123ABC-1234567890"

Response

200 - application/json

Returns a confirmation of the deletion with the ID of the deleted check.

id
string
required

The QuickBooks-assigned unique identifier of the deleted check.

Example:

"123ABC-1234567890"

objectType
string
required

The type of object. This value is always "qbd_check".

Allowed value: "qbd_check"
Example:

"qbd_check"

refNumber
string | null
required

The case-sensitive user-defined reference number of the deleted check.

Example:

"CHECK-1234"

deleted
boolean
required

Indicates whether the check was deleted.

Example:

true