---
title: CollectionSourceInclusionConditionUpdateMetafieldIntInput - GraphQL Admin
description: The input fields for updating a condition based on integer metafield values.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionUpdateMetafieldIntInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionUpdateMetafieldIntInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Collection​Source​Inclusion​Condition​Update​Metafield​Int​Input

input\_object

The input fields for updating a condition based on integer metafield values.

## Fields

* definition​Id

  [ID](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  The ID of the metafield definition.

* relation

  [Collection​Source​Inclusion​Condition​Metafield​Int​Relation](https://shopify.dev/docs/api/admin-graphql/latest/enums/CollectionSourceInclusionConditionMetafieldIntRelation)

  The relationship between the metafield value and the condition value.

* value

  [String](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  The integer value to match against, as a string.

***

## Input objects using this input

* [Collection​Source​Inclusion​Condition​Update​Input.metafieldInt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionUpdateInput#fields-metafieldInt)

  INPUT OBJECT

  The input fields for updating a condition that determines which products are included in a collection. Exactly one condition type must be provided.

***

## Map

### Input objects using this input

* [Collection​Source​Inclusion​Condition​Update​Input.metafieldInt](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CollectionSourceInclusionConditionUpdateInput#fields-metafieldInt)
