In order these APIs, it will be better if you use its child module, to call respective APIs. The child module is available here - Quickbooks Module
Install NPM dependencies:
npm install
Launch app:
node app.js
All configuration for this app is located in config.json
. Locate and open this file.
We will need to update 3 items:
clientId
clientSecret
redirectUri
All of these values must match exactly with what is listed in your app settings on developer.intuit.com. If you haven't already created an app, you may do so there. Please read on for important notes about client credentials, scopes, and redirect urls.
Once you have created an app on Intuit's Developer Portal, you can find your credentials (Client ID and Client Secret) under the "Keys" section. These are the values you'll have to copy into config.json
.
You'll have to set a Redirect URI in both config.json
and the Developer Portal ("Keys" section).
Note: Using localhost
and http
will only work when developing, using the sandbox credentials. Once you use production credentials, you'll need to host your app over https
.
http://localhost:3000/connect-quickbook
http://localhost:3000/renew-token
http://localhost:3000/call-api