---
title: metafieldNamespaceUpdate - Shop Partners API
description: Update a MetafieldNamespace by changing its key, name, description, capabilities, or access.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldNamespaceUpdate
  md: https://shopify.dev/docs/api/shop-partners/latest/mutations/metafieldNamespaceUpdate.md
---

# metafield​Namespace​Update

mutation

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

## Arguments

* namespace

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

  required

***

## Metafield​Namespace​Update​Payload returns

* updated​Namespace

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

* 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.

***

## Examples

* ### metafieldNamespaceUpdate reference