How to get the ID from the user using my app.

How to get the ID from the user using my app.

anonymous10
Shopify Partner
1 0 0

I am creating an App for the User of shopify. I now need to use their shop ID in order for my funciontiality to work. My question is where do I get such ID? Can I use the session.id?

Reply 1 (1)

BrainStation23
Shopify Partner
379 57 55

hi @anonymous10 ,

Shopify maintains a session table which is invoked at the oauth exchange stage in your app. The session table has e unique id that you  can use for your purpose 

Brain Station 23 PLC (Mail: js.team@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps