简体   繁体   中英

QBO REST API - Allow user to pick their company

The Intuit API Browser does something I would like to do in my application. It authenticates you and then provides a dropdown box that allows you tin interact with one or more tenants that your account may have access to.

How can I duplicate this behavior in my app?

I would expect that I could call:

https://quickbooks.api.intuit.com/v3/company/

To get back a list of all companies I have access to.

Searching the doco doesn't show anything like this.

Thoughts?

It is not possible to get a list of companies for a particular user. The OAuth flow will only grant tokens for 1 company (realm).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM