Ad

How To Skip 'Asking Permission Step' In Shopify API Integration With PHP

- 1 answer

I am new at API integration.

I am trying to fetch product list from my shopify store.

It's working fine. But the problem is when I run my script it ask me for username and password of store. When I enters it, it shows list.

I want to skip this step as I am going to run this script on server.

How to achieve this. I searched their forum but no luck.

Please Help.

Ad

Answer

You need to follow below steps:-

  1. From your Shopify admin, click Settings, then click Online Store

  2. In the Storefront password section, uncheck the Password protect your storefront option

  3. click on save.

Now access store data through app without any password verification step. Thanks.

For more details:- https://docs.shopify.com/manual/intro-to-shopify/initial-setup

Ad
source: stackoverflow.com
Ad