How to implement integration between my ERP system and Shopify

Hi, i am trying to create a shopify app to create integration between my ERP system backend and client shopify store. We want that client after installing our app could log in to ERP and either click button “Download catalog” or configured automatic download by schedule. This action must copy all product/collection and etc information to shopify store. I have found that shopify has REST and GraphQL API, but it requires API Token. How can i get permanent API token to use it in my backend?

Hi @mykolap ,

You can destructuring the access token from the session at afterAuth, and save it to the database to use to call Shopify API.

const { shop, accessToken } = session;

If using Remix template, you can add logic for saving token at afterAuth hook

If using React Node Template, you can get session object from express res object like this

Please give us a like and mark the solution if my answer is helpful.

Have a nice day sir!

Hi Mykolap,

We already have a few customers integrated their ERP to Shopify via an app syncX: Stock Sync. You can check it out.

Thanks,

Jor

I’ve been working on a similar setup and found that syncing project and financial data works better when your ERP supports real-time API integration. I used Acumatica Cloud ERP Project Accounting | AcuPower since it connects well with Shopify and handles order, invoice, and project sync without needing too much custom work. It cut down a lot of manual entry for me and helped keep everything updated on both sides.