How to migrate from the old conductor-node
package to Conductor’s new Node.js SDK and QuickBooks Desktop API v2.
conductor-node
that brings full support for Conductor’s new QuickBooks Desktop API v2. This new version introduces significant improvements in usability, consistency, and functionality.
conductor-node
will continue to work, it will not
receive any further updates. We strongly recommend upgrading to take advantage
of the new features and improvements..retrieve()
and .delete()
1. Missing QuickBooks Desktop types
conductor-node
are not yet available in the new SDK. If the type is listed in the left sidebar of this page, it is supported in the new SDK.Need a missing QBD type? Contact us and we’ll add it ASAP.2. Pagination limited to 150 records per page
1. Restructured constructor parameters
CONDUCTOR_SECRET_KEY
environment variable (or pass it to the constructor as an argument like before):2. Renamed resources
3. Renamed methods
4. Moved end-user ID parameter
conductorEndUserId
parameter in the parameters object.5. Renamed request parameters
6. Renamed response fields
TxnID
and ListID
→ id
TimeCreated
and TimeModified
→ createdAt
and updatedAt
EditSequence
→ revisionNumber
*Ref
fields (e.g., CustomerRef
) → simplified (e.g., customer
)7. Restructured query/list request parameters
8. Restructured query/list responses
9. Consistent array responses
Automatic pagination
Automatic retries with exponential backoff
New retrieve and delete methods
retrieve
method and all transaction objects have a delete
method.Complete field returns
null
rather than being omitted, and empty array fields return []
instead of being excluded. This means you can reliably access any field without checking if it exists first, and array operations will work consistently without special handling for missing fields.