Development discussions around Shopify APIs
I am using this endpoint /admin/api/2021-04/collections/{collection_id}/products.json to return a list of product.
I found not all product from this collection are being returned If I compared to what we see in the admin section of the shopify.
Any idea on what can be the cause or how to investigate?
Solved! Go to the solution
This is an accepted solution.
Are you passing the limit parameter to determine how many responses you want your API call to return? Also checkout out pagination with REST: https://shopify.dev/tutorials/make-paginated-requests-to-rest-admin-api
This is an accepted solution.
Are you passing the limit parameter to determine how many responses you want your API call to return? Also checkout out pagination with REST: https://shopify.dev/tutorials/make-paginated-requests-to-rest-admin-api
Thank you very much! I wasn't aware of the pagination! That worked
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023