Skip to main content
Anchor to customerWhatsAppMarketingConsentUpdate

customerWhatsAppMarketingConsentUpdate

mutation

Requires write_customers access scope. Also: The user must have permission to create and edit customers.

Updates a customer's WhatsApp marketing consent information. Shopify identifies the customer's WhatsApp account by their phone number.

You can subscribe or unsubscribe the customer from WhatsApp marketing and specify the opt-in level. You can also include when and where the consent was collected.

•CustomerWhatsAppMarketingConsentUpdateInput!
required

Specifies the input fields to update a customer's WhatsApp marketing consent information.


Was this section helpful?

Anchor to CustomerWhatsAppMarketingConsentUpdatePayload returnsCustomerWhatsAppMarketingConsentUpdatePayload returns

•CustomerPhoneNumber

The customer phone number with the updated WhatsApp marketing consent information.

•[CustomerMarketingConsentError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?