---
title: MetafieldsSetPayload - Shop Users API
description: Return type for the `metafieldsSet` mutation.
api_version: unstable latest
source_url:
  html: https://shopify.dev/docs/api/shop-users/latest/payloads/MetafieldsSetPayload
  md: https://shopify.dev/docs/api/shop-users/latest/payloads/MetafieldsSetPayload.md
---

# Metafields​Set​Payload

payload

Return type for the `metafieldsSet` mutation.

## Fields

* metafields

  [\[Metafield!\]](https://shopify.dev/docs/api/shop-users/latest/objects/Metafield)

* user​Errors

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

  non-null

  List of errors that occured while executing the mutation.

***

## Mutations with this payload

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

  mutation

  Set or Update a Metafield on a resource.

  * metafields

    [\[Metafield​Set​Input!\]!](https://shopify.dev/docs/api/shop-users/latest/input-objects/MetafieldSetInput)

    required

    ### Arguments

  ***

***

## Map

### Mutations with this payload

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