---
title: MetafieldDefinitionUpdatePayload - Shop Partners API
description: Return type for the `metafieldDefinitionUpdate` mutation.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/payloads/MetafieldDefinitionUpdatePayload
  md: https://shopify.dev/docs/api/shop-partners/latest/payloads/MetafieldDefinitionUpdatePayload.md
---

# Metafield​Definition​Update​Payload

payload

Return type for the `metafieldDefinitionUpdate` mutation.

## Fields

* updated​Definition

  [Metafield​Definition](https://shopify.dev/docs/api/shop-partners/latest/objects/MetafieldDefinition)

* user​Errors

  [\[User​Error!\]!](https://shopify.dev/docs/api/shop-partners/latest/objects/UserError)

  non-null

  List of errors that occured while executing the mutation.

***

## Mutations with this payload

* [metafield​Definition​Update](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldDefinitionUpdate)

  mutation

  Update a MetafieldDefinition by changing its key, name, description, capabilities, or access.

  * definition

    [Metafield​Definition​Update​Input!](https://shopify.dev/docs/api/shop-partners/latest/input-objects/MetafieldDefinitionUpdateInput)

    required

    ### Arguments

  ***

***

## Map

### Mutations with this payload

* [metafield​Definition​Update](https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldDefinitionUpdate)