Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Creating a product with API limited to 50 variants?

Creating a product with API limited to 50 variants?

Jason_Grazado
New Member
6 0 0

I have been creating products using:

/admin/api/2022-04/products.json

for some time now. It works great.

However, I am trying to create a product that has 72 variants (less than the 100 limit) but the API only creates the first 50 variants, and ignores the rest.

Is there a parameter I need to pass to have it create all 72 variants? I've tried using the variants.json URL without luck.

Reply 1 (1)

Jason_Grazado
New Member
6 0 0

this may not be an actual shopify limitation... just realized my query may only be returning 50 rows...