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)

policenauts
Shopify Partner
206 10 66

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

itanbp
Visitor
3 0 0

@policenauts Thanks! Exactly what I was looking for.