---
title: MetafieldSetInput - Shop Users API
description: Inputs to the metafieldsSet Mutation that define a single field.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-users/latest/input-objects/MetafieldSetInput
  md: https://shopify.dev/docs/api/shop-users/latest/input-objects/MetafieldSetInput.md
---

# Metafield​Set​Input

input\_object

Inputs to the metafieldsSet Mutation that define a single field.

## Fields

* identifier

  [Custom​Data​Key​Pair​Input!](https://shopify.dev/docs/api/shop-users/latest/input-objects/CustomDataKeyPairInput)

  required

  Key and namespace pair that together form the path to the definition. Key is required, Namespace defaults to the Client's implicit, reserved namespace if not provided.

* value

  [String!](https://shopify.dev/docs/api/shop-users/latest/scalars/String)

  non-null

  The data stored in the metafield. Always stored as a string, regardless of the metafield's type.

***

## Mutations using this input

* [metafields​Set.metafields](https://shopify.dev/docs/api/shop-users/latest/mutations/metafieldsSet#arguments-metafields)

  ARGUMENT

***

## Map

### Mutations using this input

* [metafields​Set.metafields](https://shopify.dev/docs/api/shop-users/latest/mutations/metafieldsSet#arguments-metafields)