I would like to push shophify data into a 3rd party service. So I need to write custom API scripts in Shophify end. The API is of version 2 API, I need to generate the access and refresh tokens to invoke the API calls to push data to a 3rd party service.
Can anyone from the shophify team check if this is possible within shophify or not ? If you have web-hooks to create an API call, it is possible to use access and refresh token generated upon that and pass the json data into body.
Please someone let me know If this is possible within shophify or not?
Assuming you are talking about the Shopify e-com platform, this (other than some server-side Liquid) is primarily a client-side platform. So any handling of API credentials, access tokens, etc. will likely be very visible to the client web browser.
I would recommend creating a private app, installing that private app (https://help.shopify.com/en/manual/apps/private-apps) in your Shopify shop, and having a middleware service you manage then handle things communicating with your third-party API endpoints. That way you hide things from the Shopify client's end.
You can listen for webhooks that Shopify sends to your middleware service (https://shopify.dev/docs/admin-api/rest/reference/events/webhook), allow Shopify to pass through to your middleware service during the e-com client web browser session (https://shopify.dev/tutorials/display-data-on-an-online-store-with-an-application-proxy-app-extensio...), poll Shopify for information based on your third party API endpoint requirements, etc.
Hope this helps introduce the general concepts at least!
These two areas are totally different.
So, a Shopify private app will allow you to push/pull data with Shopify. As for those other platforms you mention (e.g. - Salesforce, Zoho, etc.) they presumably each have their own API methodology and logic. You'd need to review what they available and how it works.
If you are looking for a more straightforward integration that's relatively common then perhaps there is an existing Shopify app available for it. If not then you will need to seek out a third-party development company, look to hire in-house development talent, etc.
If you are looking at connecting between platforms there are a few services that already let you connect them and transfer data.
If you only need basic data then something like this may be sufficient.
Otherwise if you have more complex data transfer requirements we customise our Shopify integrations for clients and map and connect data to different platforms.