FROM CACHE - en_header

Fetch all Products of all categories with storefront api for ios app

Solved
dpareek
New Member
3 0 0

Hi there, 

i am developing a shopify store's Custom iOS Application and now i am stuck on the process product searching so there i need the list of all product to search from it or if there is any other help so please help me for that.

Accepted Solution (1)

Accepted Solutions
oscprofessional
Shopify Partner
12176 1887 2424

This is an accepted solution.

query {
products(first: 50) {
edges {
node {
id
title
publishedAt
}
}
}
}
Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing

View solution in original post

Replies 4 (4)
oscprofessional
Shopify Partner
12176 1887 2424

Hello  

You can retrive all product using this API:
{site_url}/admin/api/#{api_version}/products.json

 

Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing
dpareek
New Member
3 0 0

What is the Graphql Query for storefront

Nesters
Shopify Partner
19 1 17

Hey,

 

For the Storefront API you will need to paginate over the results and the strategy depends on the graphQL client you are using to make the process easier.

 

Are you by any chance using JS buy SDK?

 

 

Contact me: mail@nesters.me
Technical solutions / integration / headless ecommerce.
Latest post: Benefits of JAMstack ecommerce
oscprofessional
Shopify Partner
12176 1887 2424

This is an accepted solution.

query {
products(first: 50) {
edges {
node {
id
title
publishedAt
}
}
}
}
Please Like and Accept Solution. Free website audit to grow your business Chat on WhatsApp | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87 | Hire us | Expert Site Speed Optimization | Performance Site Audit | Shopify Private App | Custom Theme Development & Modifications any Shopify Theme | Shopify SEO | Digital Marketing