We are currently facing the following error while using the pricelistfixedpricesadd mutation: “The input array size of x is greater than the maximum allowed of 250.”
In our current implementation, we run one mutation per product. However, for products with more than 250 variants, this approach encounters the mentioned limitation.
What we’ve explored so far:
- Bulk Operations: While we are aware of bulk operations, the limit of running only one query at a time makes it less feasible for our use case as we’ll have to need to use them in more than one place.
- Splitting Input Further: We considered splitting the input into smaller chunks to fit the limit, but this would sometimes require multiple calls per product, which raises concerns about hitting throttling limits.
Queries:
- Is there any other recommended approach to handle this scenario effectively?
- Are there any plans to increase the input array size limit in the foreseeable future?
- Are there any plans to increase the bulk operation limit from one operation at a time in the foreseeable future?
- Are there alternative mutations available to update price lists for large variant counts, providing the same functionality as pricelistfixedpricesadd?