Ad

Can Anyone Tell Me How Shopify Api Works?

- 1 answer

Can anyone tell me how Shopify API works. I'm finding this in google but cant get proper solution so can anyone give me a proper solution for that.

Ad

Answer

Shopify API, you will have to authenticate through shopify api key and secret. And, API endpoint should be the store. Suppose, the store URL is "your-store.myshopify.com" and for product list, you need to call a get request to this "/admin/products.json". Then, the API endpoint will be "https://your-store.myshopify.com/admin/products.json".

So, at the very beginning of API call, you will required to get shop URL and then all the request will be required to call to that URL.

Ad
source: stackoverflow.com
Ad