Skip to content

Shopify removes the metafieldInteger collection condition in API version 2027-01 ​

Provider
Shopify
Endpoint
POST /admin/api/{version}/graphql.json
Effective
2027-01-01
Severity
high
Change
field-rename
Status
unverified (secondary reports only; SHAPI does not open fix PRs for it)

What changed ​

As of Admin API version 2027-01, the metafieldInteger collection source condition inputs and types are removed and replaced by metafieldInt, whose value is a String instead of an Int.

What to do ​

Before moving to 2027-01, replace metafieldInteger with metafieldInt in collection condition inputs and reads (CollectionSourceInclusionConditionMetafieldInt), and send the value as a String.

Sources ​

Check your code ​

bash
npx shapi-cli scan .

shapi scan lists the call sites this change affects; shapi fix repairs them test-first when the advisory has an automatic fix. All advisories · Markdown · OSV · JSON