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. The customer's WhatsApp account is identified by their phone number.

You can set whether the customer subscribes or unsubscribes to WhatsApp marketing and specify the opt-in level. Optionally include when the consent was collected and which location collected it.

•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?