---
title: CustomerMarketingConsentInput - Customer API
description: >-
  The input fields for setting marketing consent on a customer's marketing
  channel. Channel-specific consent

  mutations like
  [`customerWhatsAppMarketingConsentUpdate`](https://shopify.dev/docs/api/customer/latest/mutations/customerWhatsAppMarketingConsentUpdate)
  use this input.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/customer/latest/input-objects/CustomerMarketingConsentInput
  md: >-
    https://shopify.dev/docs/api/customer/latest/input-objects/CustomerMarketingConsentInput.md
api_name: customer
api_type: graphql
type: input-object
---

# Customer​Marketing​Consent​Input

input\_object

The input fields for setting marketing consent on a customer's marketing channel. Channel-specific consent mutations like [`customerWhatsAppMarketingConsentUpdate`](https://shopify.dev/docs/api/customer/latest/mutations/customerWhatsAppMarketingConsentUpdate) use this input.

## Fields

* state

  [Marketing​Consent​State!](https://shopify.dev/docs/api/customer/latest/enums/MarketingConsentState)

  non-null

  The [marketing consent state](https://shopify.dev/docs/api/customer/latest/enums/MarketingConsentState) to set for the customer on this channel.

***

## Input objects using this input

* [Customer​Whats​App​Marketing​Consent​Update​Input.whatsAppMarketingConsent](https://shopify.dev/docs/api/customer/latest/input-objects/CustomerWhatsAppMarketingConsentUpdateInput#fields-whatsAppMarketingConsent)

  INPUT OBJECT

  The input fields to update the current customer's WhatsApp marketing consent information.

***

## Map

### Input objects using this input

* [Customer​Whats​App​Marketing​Consent​Update​Input.whatsAppMarketingConsent](https://shopify.dev/docs/api/customer/latest/input-objects/CustomerWhatsAppMarketingConsentUpdateInput#fields-whatsAppMarketingConsent)
