The productCreate and productUpdate mutations now use dynamic complexity costing to more accurately reflect the actual computational cost of operations.
What's changing
With the release of Dynamic Complexity, the productCreate and productUpdate mutations will now have a base cost of 10-points, and additional points will be calcuated based on the complexity of the input.
- Base cost: 10 points
- Per product metafield: 0.4 points
- Per product media: 1.9 points
The total complexity is calculated as:
10 +
(product_metafields × 0.4) +
(product_media × 1.9)
Migration guidance
For most apps, no changes are required.
For apps working with high-complexity products exceeding the 1000-point single query limit:
- Consider using bulk mutations for very large operations.
- Split complex operations into separate calls: use the productCreate and productUpdate mutations for core product data, then use metafieldsSet and fileCreate for additional data.