node-quickbooks
node-quickbooks copied to clipboard
`findItems` and `getItem` methods don't return `PrefVendorRef` value
Can you please help me to get PrefVendorRef
item param from API?
@khmelevskii not sure if you figured this out, but found that if you specify the minorversion when creating the QuickBooks object it gives you the fields.
qbo = new QuickBooks(consumerKey,
consumerSecret,
o.token.access_token,
false,
realmId,
qboSandbox,
false,
55,
^---- You can determine this version to use from the [QB API Explorer](https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/item#query-an-item)
Look at GET /v3/company/123145821595227/item/<itemId>?minorversion=55 <--- This is the current minorversion on the api
'2.0',
o.token.refresh_token);