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.

If there are more than 100 items in the Promotion then we are getting exceeded max number error

If there are more than 100 items in the Promotion then we are getting exceeded max number error

MayurDhumal
Shopify Partner
7 0 1
Hi Team,

in Shopify Promotion API If there are more than 100 items in the Promotion then we are getting {"errors":{"entitled_variant_ids":["exceeded max number"]}} Error in API. 
can you please help me to understand if there have any defined limitations for >=100 products? In Promotion API
Admin REST API

 

Reply 1 (1)

Gabriel_Messier
Shopify Partner
4 0 0

I'm having the same "Exceed max number" error from a GraphQL API mutation (

discountCodeBasicUpdate). I'm trying to add more than 100 variants to the eligible products of a discount code. If you know how to bypass/remove this limitation, which is, as of now, breaking a core component in my shop, please let me know. I tried contacting the support directly and was unable to get any answers.