kishore
kishore

Reputation: 127

Add vendors in quickbooks from my salesforce application?

From my salesforce application, I need to connect to quickbook api and create vendors by a batch job.

For this Do I need to add whole Oauth process (add 'Connect to quickbooks' button and there will be a auth page, which when successfull will redirect me to the application).

Or there are other ways in which I can do this.

Can I use connection ticket. If yes, the how ?

Reall stuck here. Any help is appreciated.

Thanks,

Upvotes: 0

Views: 159

Answers (1)

Manas Mukherjee
Manas Mukherjee

Reputation: 5340

You can have a look at IPP's docs. - https://developer.intuit.com/docs/0025_quickbooksapi

The only way to make a call to QBO endpoints is through 3-legged OAuth (using consumerKey, consumerSecret, accessKey and accessSecret). If you have desktop application then you need to have a web component/embedded browser for the first time users. Once you have the end-user tokens, you can store and reuse those for all future API calls.

If you create an app in appcenter, you'll get consumerKey and consumerSecret. https://developer.intuit.com/Application/Create/IA

Using the above two tokens, you can generate accessToken and accessSecret using the OAuthPlayground. https://appcenter.intuit.com/Playground/OAuth/IA

Devkit Download link - https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits You need to plugin the above 4 tokens with java devkit code to make any QBO V3 REST call.

https://developer.intuit.com/docs/0025_quickbooksapi/0055_devkits/0201_ipp_java_devkit_3.0/0001_synchronous_calls/0001_data_service_apis

Re - Can I use connection ticket. If yes, the how ?

No, OAuth is the only process here.

Vendor API doc - https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/030_entity_services_reference/vendor

Hope it will be useful.

Thanks

Upvotes: 1

Related Questions