Skip to main content
Shopify Dev Archive
Back to Archive

Tooling Updates

Dynamic complexity cost for `metafieldsSet` mutation (opens in a new tab)

Introduces dynamic cost calculation for the metafieldsSet mutation to better manage API usage.

Shopify Dev· Sep 15, 2026· 8/10

From the article

The metafieldsSet mutation now uses dynamic complexity costing. Instead of a flat cost for every call, a request's cost reflects how many distinct resources metafields were changed. Most apps need no changes, as updating a single resource remains cheap. Apps setting many metafields across many different owners may hit their rate limit faster. Apps are encouraged to batch metafield writes by distinct resource. What changed Previously, every metafieldsSet call cost a flat 10 points , regardless…

Read the full article on Shopify Dev (opens in a new tab)

Related items