App reviews, troubleshooting, and recommendations
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!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025