/product/handle.js returns only 100 variants after creating 2000 variants with the new API

Hello!

I used the developer preview for the new 2000-variant limit.

I created 800 variants with the new API and everything is working properly.

However, when using the ajax API to get information about the product, directly on the Shopify Store (using /product/HANDLE.js), I get only 100 variants

I didn’t ser any pagination system for that one.

Is that normal and should I expect an update for this?

If it’s normal, is a change planned?

Thank you!

1 Like

Hi Mat!

I’ve connected with the dev team on this and will let you know if this is expected behaviour or not. Thanks for flagging!

1 Like

Thank you!

I’ll wait for your reply then

Mat

Hi Mat,

An update on this: Our team are aware of this limitation with the AJAX API and we’re currently exploring the best options for handling increased variants in this context. I will post here when I have more to share.

Appreciate your patience here :slightly_smiling_face:

1 Like

Hi

Thanks Liam for your help!

Here are a few points that are important:

  • We can probably get all those variants with storefront API, but we need to be a sales channel (We are not)
  • Calling this endpoint (the one mentioned in this post) is the easiest and fastest way to get accurate prices for variants that are already converted

That’s why I think it’s important to find a solution

I’ll wait for your reply!

Mat

1 Like

Hey Liam, how are you?

Do we have any news here?

Thank you!

1 Like