# 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

- Provider notice (2026-10-01): https://shopify.dev/changelog/metafieldinteger-collection-condition-removed-in-api-version-2027-01

## Machine-readable

- Advisory: https://github.com/SriVarshini09/shapi-advisories/blob/main/advisories/shopify-collection-metafield-integer-condition-removed.json
- OSV: https://shapi.dev/osv/shopify-collection-metafield-integer-condition-removed.json
