Skip to main content
Anchor to customerWhatsAppMarketingConsentUpdate

customerWhatsAppMarketingConsentUpdate

mutation

Requires customer_write_pre_authenticated access scope. Also: The user must be fully authenticated or pre-authenticated.

Updates the current 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.

•CustomerWhatsAppMarketingConsentUpdateInput!
required

Specifies the input fields to update the current 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.

•[UserErrorsCustomerMarketingConsentError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?