Plugin for getting Shopify store images.

Highlighted
Tourist
4 0 1

Hi, I'm new here and I'm a little bit confused now.

 

Our company wants to create a plugin for our product, which will allow our users, which has shopify store too, to import their products images in our app.

 

Where should I start ? :)

 

I need a public app ?

Or can achieve via GraphQL API or Rest API these informations ? I need every users private key for get their store's data ? Or can I use Oauth ?

0 Likes
Shopify Expert
665 170 199

Hi, @levaif ,

This is Evita from On The Map.

 

Will this app be available for your clients only or do you want to build an app for all users and users will be able to get the app via the Shopify app store.

 

Best, Evita

On The Map Marketing | Developing custom Shopify Sites & Apps is our thing

- Install our latest app Accessibly - Makes your store accessible for everyone, helps to avoid fines
- Inc 5000 | Shopify Parners | 20+ stores launched | 300+ active clients
- Need help with your Shopify store? Reach out to us!
0 Likes
Shopify Expert
665 170 199

This API you will need to use to get product images - https://help.shopify.com/en/api/reference/products/product-image

On The Map Marketing | Developing custom Shopify Sites & Apps is our thing

- Install our latest app Accessibly - Makes your store accessible for everyone, helps to avoid fines
- Inc 5000 | Shopify Parners | 20+ stores launched | 300+ active clients
- Need help with your Shopify store? Reach out to us!
0 Likes
Tourist
4 0 1

It will be available only for our clients.

0 Likes
Tourist
4 0 1

I tried this solution: 

 

fetch("https://my_shop.myshopify.com/admin/api/2019-10/products/my_product_id/images.json", {
mode: 'no-cors',
method: 'GET',
headers: {
"X-Shopify-Access-Token": "my_private_app_password",
"Content-type": "application/json"
}
});

 

but I got status code 401.

0 Likes