<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt" -->

---
title: metafieldInteger collection condition removed in API...
description: Shopify's GraphQL Admin API removes the metafieldInteger collection source condition in API version 2027-01, replaced by metafieldInt. The value field changes...
canonical: https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: metafieldInteger collection condition removed in API version 2027-01 | daily.dev
og:description: Shopify's GraphQL Admin API removes the metafieldInteger collection source condition in API version 2027-01, replaced by metafieldInt. The value field changes...
og:url: https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt
og:image: https://api.daily.dev/og/posts/aXwL4WLBT.png
og:image:alt: metafieldInteger collection condition removed in API version 2027-01
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# metafieldInteger collection condition removed in API version 2027-01

**[Shopify Developer changelog](https://daily.dev/sources/shopifychangelog)** · 2 min read · 0 upvotes · 0 comments

## Summary

Shopify's GraphQL Admin API removes the metafieldInteger collection source condition in API version 2027-01, replaced by metafieldInt. The value field changes type from Int to String to align with the Storefront API's Metafield.value field. Developers must update mutations and queries to use metafieldInt with string values before upgrading, since metafieldInteger continues to work only through API version 2026-10 and both the old type and resolution behavior disappear in 2027-01.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://shopify.dev/changelog/metafieldinteger-collection-condition-removed-in-api-version-2027-01>

## Questions this post answers

### How do I migrate from metafieldInteger to metafieldInt in Shopify's GraphQL Admin API?

Replace metafieldInteger with metafieldInt in both collection condition mutations and read queries, and change the value field from an Int literal to a String literal. For example, value: 2000 becomes value: "2000". The relation enum members (EQUALS, GREATER_THAN, LESS_THAN) stay the same. This must be done before upgrading to Shopify API version 2027-01, since metafieldInteger only works through version 2026-10.

_Teams tracking Shopify Admin API breaking changes like this can follow upgrade requirements on daily.dev._

### What happens if I don't update metafieldInteger before upgrading to Shopify API version 2027-01?

Mutations that send metafieldInteger will fail validation, and queries that select it will return errors once on API version 2027-01. The type is fully removed in that version, with no fallback resolution. Developers can test the new metafieldInt behavior while still on version 2026-10 before committing to the upgrade.

_daily.dev helps engineers stay ahead of deprecations like this before they break a production upgrade._

## Similar posts on daily.dev

- [Invalid metafield queries now return errors in the GraphQL Admin API](https://daily.dev/posts/invalid-metafield-queries-now-return-errors-in-the-graphql-admin-api-sohgl4b9o) · Shopify Developer changelog · 0 upvotes · 0 comments
- [New translatable boolean field for Metafield GraphQL Object](https://daily.dev/posts/new-translatable-boolean-field-for-metafield-graphql-object-99l7epsn2) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Reduced metafield value sizes](https://daily.dev/posts/reduced-metafield-value-sizes-i7i45lclr) · Shopify Developer changelog · 1 upvotes · 1 comments
- [Advanced Metafield & Metaobject Querying](https://daily.dev/posts/advanced-metafield-metaobject-querying-quwsdmcne) · Shopify Developer changelog · 0 upvotes · 0 comments
- [Making changeFromQuantity field required \(with explicit opt-out\)](https://daily.dev/posts/making-changefromquantity-field-required-with-explicit-opt-out--19lubo0mv) · Shopify Developer changelog · 0 upvotes · 0 comments

---

Tags: [#graphql](https://daily.dev/tags/graphql), [#shopify](https://daily.dev/tags/shopify)

[View this post on daily.dev](https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"metafieldInteger collection condition removed in API version 2027-01","url":"https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt"},"datePublished":"2026-10-01T16:02:57.196Z","dateModified":"2026-10-01T16:04:40.546Z","description":"Shopify's GraphQL Admin API removes the metafieldInteger collection source condition in API version 2027-01, replaced by metafieldInt. The value field changes...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a5b9f0de82c011d79696b4f6b99b7364?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Shopify Developer changelog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Shopify Developer changelog","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/aefcb5d2c1ca4b45b5d2256b9e2a9cc3","url":"https://daily.dev/sources/shopifychangelog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"graphql,shopify","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Shopify Developer changelog","item":"https://daily.dev/sources/shopifychangelog"},{"@type":"ListItem","position":3,"name":"metafieldInteger collection condition removed in API version 2027-01"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/metafieldinteger-collection-condition-removed-in-api-version-2027-01-axwl4wlbt#faq","mainEntity":[{"@type":"Question","name":"How do I migrate from metafieldInteger to metafieldInt in Shopify's GraphQL Admin API?","acceptedAnswer":{"@type":"Answer","text":"Replace metafieldInteger with metafieldInt in both collection condition mutations and read queries, and change the value field from an Int literal to a String literal. For example, value: 2000 becomes value: \"2000\". The relation enum members (EQUALS, GREATER_THAN, LESS_THAN) stay the same. This must be done before upgrading to Shopify API version 2027-01, since metafieldInteger only works through version 2026-10. Teams tracking Shopify Admin API breaking changes like this can follow upgrade requirements on daily.dev."}},{"@type":"Question","name":"What happens if I don't update metafieldInteger before upgrading to Shopify API version 2027-01?","acceptedAnswer":{"@type":"Answer","text":"Mutations that send metafieldInteger will fail validation, and queries that select it will return errors once on API version 2027-01. The type is fully removed in that version, with no fallback resolution. Developers can test the new metafieldInt behavior while still on version 2026-10 before committing to the upgrade. daily.dev helps engineers stay ahead of deprecations like this before they break a production upgrade."}}]}
```

