Search code examples
quickbooksquickbooks-online

How can I deep link into QuickBooks Online with results from API calls that don't include the txnId


QuickBooks Online (QBO) uses a URL format like qbo.intuit.com/app/timeactivity?txnId=123 to point to, in this example, a TimeActivity.

However, in the API, resources are referenced by entityId (returned as just Id when querying via the TimeActivity API), which is different from txnId.

In my time tracking web app, I have a feature that exports time to QBO as TimeActivities. I'd like to provide users with direct links from the time entered in my app to the corresponding TimeActivity in QBO—is there any way to do so?


Solution

  • The answer to this is that it's not currently possible because there's multiple base URLs (I think they call them "realms") in use for QuickBooks Online (qbo.intuit.com is only one of them). Because you do not receive this information as part of linking to QBO via OAuth, there's unfortunately no way to construct proper links.