How to use access token for api calls

New Member
2 0 0

Hi I am creating a public app using shopify api's .

I got access token after installing my app to a store.

So Now I need to get list of products from store using access code.

please help me how to make call using access code.


it's asking for API keys and password, but what I know that I can get api key and password only for private app , not for public.

Please help me to make api call 

Shopify Staff
Shopify Staff
137 0 27

Hey Sekhar,

Step 4 of the OAuth tutorial will sort you out :

New Member
2 0 0

I am not able to get access token for some of the sites,
1.I created account under refer partner
2.By using api key & secrete key I am trying to install my app under Shopify with laravel api.
3.I am able installing app successful, after it's redirecting to my site with code, by using this code I am getting access token.
4.I am able to access token for my test site, but client site I am not able to access acesstoken by using admin oauth

with below code:

$response = (new Client)->request('POST', '', [
    'form_params' => [
        'client_id' => $clientID,
        'client_secret' => $clientSecret,
        'code' => $request->get('code')

So for this we need to do anything for this to access live sites?