Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

How to generate Access Token when developing for a specific store

How to generate Access Token when developing for a specific store

itanbp
Visitor
3 0 0

Hello!

I have a client that hired me to develop a specific feature for his store. This isn't a custom/public app, just code written specifically for this client's needs.

As part of the new feature, I need to call the Admin GraphQL API, for example, the DiscountAutomaticBxgy, from the client's server.

I saw documentation on how to obtain an Access Token when developing a custom/public app, however, I figure there should be a way to access the Admin API, on my client's behalf, without the need to develop all the OAuth flow.

Thanks for your support,

Itan

 

 

 

Replies 2 (2)

Filljoy
Shopify Partner
211 10 68

You want the "Private App" option where you would use the provided api key and secret in the dashboard.  

itanbp
Visitor
3 0 0

@Filljoy Thanks! Exactly what I was looking for.