Creates and returns a new connection for the authenticated application. Returns an onboarding URL for the user to complete the QuickBooks setup process.
Use your app's API_KEY as the username, and leave the password blank
Optional name for the connection - if you leave this blank, the company name returned by QuickBooks will be used once the first request is processed
The URL to redirect the user to after they complete (or cancel) the QuickBooks setup process. This URL should be able to handle the query parameters:
?state=connected if they completed the process,?state=cancelled if they cancelled it or?state=expired if they visit the onboarding link after it has expired"https://myapp.com/quickbooks-setup-callback"
Connection created successfully