---
title: CustomerEmailMarketingConsentUpdateInput - GraphQL Admin
description: The input fields for the email consent information to update for a given customer ID.
api_version: 2026-07
source_url:
  html: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/customeremailmarketingconsentupdateinput
  md: https://shopify.dev/docs/api/admin-graphql/latest/input-objects/customeremailmarketingconsentupdateinput.md
---

# Customer​Email​Marketing​Consent​Update​Input

input\_object

The input fields for the email consent information to update for a given customer ID.

## Fields

* customer​Id

  [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID)

  non-null

  The ID of the customer for which to update the email marketing consent information. The customer must have a unique email address associated to the record. If not, add the email address using the `customerUpdate` mutation first.

* email​Marketing​Consent

  [Customer​Email​Marketing​Consent​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CustomerEmailMarketingConsentInput)

  required

  The marketing consent information when the customer consented to receiving marketing material by email.

***

## Mutations using this input

* [customer​Email​Marketing​Consent​Update.input](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerEmailMarketingConsentUpdate#arguments-input)

  ARGUMENT

***

## Map

### Mutations using this input

* [customer​Email​Marketing​Consent​Update.input](https://shopify.dev/docs/api/admin-graphql/latest/mutations/customerEmailMarketingConsentUpdate#arguments-input)