---
title: >-
  WhatsApp marketing consent now available in the Admin API and Customer Account
  API - Shopify developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: 'https://shopify.dev/changelog/whatsapp-marketing-consent-now-available'
  md: 'https://shopify.dev/changelog/whatsapp-marketing-consent-now-available.md'
metadata:
  effectiveApiVersion: 2026-07
  affectedApi:
    - displayName: Admin GraphQL API
      handle: admin-graphql
    - displayName: Customer Account API
      handle: customer-account-graphql
    - displayName: Webhook
      handle: webhook
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: true
  createdAt: '2026-06-15T15:19:39-04:00'
  postedAt: '2026-06-17T11:45:00-04:00'
  updatedAt: '2026-06-15T16:38:57-04:00'
  effectiveAt: '2026-06-16T12:00:00-04:00'
---

June 17, 2026

Tags:

* Action Required
* Admin GraphQL API
* Customer Account API
* Webhook
* 2026-07

# WhatsApp marketing consent now available in the Admin API and Customer Account API

WhatsApp marketing consent can now be managed through both the Customer Account and Admin APIs. Use the `customerWhatsAppMarketingConsentUpdate` mutation to update a customer’s WhatsApp marketing consent status for their default phone number. You can read the current WhatsApp marketing consent value from the `CustomerPhoneNumber` object via the `whatsAppMarketingConsent` field.

For more details on managing WhatsApp marketing consent, see the `customerWhatsAppMarketingConsentUpdate` mutation in the [Admin API](https://shopify.dev/docs/api/admin-graphql/unstable/mutations/customerWhatsAppMarketingConsentUpdate) and [Customer Account API](https://shopify.dev/docs/api/customer/unstable/mutations/customerWhatsAppMarketingConsentUpdate) references.
