-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ajax API with new 2000-variant limit #1209
Comments
hi @MathieuJDS, This question is more suitable in the Shopify Community forum. The Ajax api doesn't return more than 100 variants on purpose due to the payload size. Would you tell about your use case and why you need to get more than 100 variants using the AJAX api? Thank you, |
I had posted on the forum but have yet to receive a response. Now, I did receive one. I am using this endpoint to get information about the variants, such as the actual prices of a product (for example, when there is Shopify Market, it allows me to get the prices of the currently selected currency) and many similar situations. They returned 100 variants, which made sense when the limit was 100. But now that it will increase, isn't it logical to improve it with a pagination system? Thanks, Mat |
Hello, any news here? Thank you! |
Hello I am still waiting for a solution there if you have anything Thanks, Mat |
We're labeling this issue as stale because there hasn't been any activity on it for 60 days. While the issue will stay open and we hope to resolve it, this helps us prioritize community requests. You can add a comment to remove the label if it's still relevant, and we can re-evaluate it. |
Description
Hello,
I don't know where to add this issue exactly so I'm doing it here.
I am using the AJAX API to get product information directly from a store (to get variants).
I used the dev preview store to get the new 2000-variant limit.
I created a product with 820 variants.
When using the ajax API: /product/.js
I get only the first 100 variants (and no pagination system)
I don't know if it's me and I didn't find something, or if it wasn't updated
Expected behavior
We should get all the variants of the product or at least a pagination system
Actual behavior
Only 100 variants are sent
Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: