Hassan Shafique
Hassan Shafique

Reputation: 147

how to access shopify Products via API without api-key and password?

i want to develop a chrome extension to see stats for any store which develop in shopify, can i access any store products without API-Key and Password in shopify?

Upvotes: 0

Views: 2703

Answers (3)

Debashis Dash
Debashis Dash

Reputation: 342

There is no way shopify will provide store details (product list) without api authentication.

For your requirement, I would suggest to create a shopify app which will sync all product details to your storage and you can access data from there.

Upvotes: 0

Ernesto Gutierrez
Ernesto Gutierrez

Reputation: 422

You could try using the Shopify StoreFront API.

It allows to get information of your shop from from your own website or custom app. Although it doesn't need a API Password, it needs a Api Key that doesn't need to be a secret.

The documentation says this (the first point is the important):

Using the Storefront API, you can:

  • Fetch data about a single product or a collection of products to display on any website or device.
  • Create unique checkout experiences with full control over the shopping cart.
  • Create new customers or modify existing ones, including address information.
  • Allow customers to select unique product options.

Upvotes: 0

Radhesh Vayeda
Radhesh Vayeda

Reputation: 911

No, you cant access products json without using api-key or permanent token of the store. But still you want to access the product details you atleast needs the handler of the product.

Lets say your store is "abc.myshopify.com" and handler of your product is "xyz", then you can product json of xyz by HTTP GET call in following url

https://www.abc.myshopify.com/products/xyz.json

in general

https://www.[storename]/products/[product-handle].json

Upvotes: 3

Related Questions