--- title: MetafieldAccessUpdateInput - GraphQL Admin description: >- The input fields for the access settings for the metafields under the definition. api_version: 2024-10 api_name: admin type: input_object api_type: graphql source_url: html: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessUpdateInput md: >- https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessUpdateInput.txt --- # Metafield​Access​Update​Input input\_object The input fields for the access settings for the metafields under the definition. ## Fields * admin [Metafield​Admin​Access​Input!](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/MetafieldAdminAccessInput) non-null The admin access setting to use for the metafields under this definition. * customer​Account [Metafield​Customer​Account​Access​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/MetafieldCustomerAccountAccessInput) The Customer Account API access setting to use for the metafields under this definition. * storefront [Metafield​Storefront​Access​Input](https://shopify.dev/docs/api/admin-graphql/2024-10/enums/MetafieldStorefrontAccessInput) The storefront access setting to use for the metafields under this definition. * grants [\[Metafield​Access​Grant​Operation​Input!\]](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldAccessGrantOperationInput) Deprecated *** ## Input objects using this input * [Metafield​Definition​Update​Input.​access](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldDefinitionUpdateInput#field-access) INPUT OBJECT The input fields required to update a metafield definition. *** ## Map ### Input objects using this input * [Metafield​Definition​Update​Input.access](https://shopify.dev/docs/api/admin-graphql/2024-10/input-objects/MetafieldDefinitionUpdateInput#field-access)