I'm trying to connect to Quickbooks Online's API from inside a SQL stored procedure, and was wondering if it's possible to do something like this right here but also pass in OAuth2.0 credentials (things like , Refresh Token, Access Token, redirect URI, client secret).
Ex. with QBO's API. I know the URL link is https://sandbox-quickbooks.api.intuit.com/v3/company//account/1?minorversion=14
But this request will always fail with error 401 - authorization. How could I pass the OAuth credentials in so that does not happen?
Thanks, and please let me know if this is better suited for elsewhere.