Skip to main content
object

Requires customer_read_customers access scope.

Defines the phone number of the customer. Apps using the Customer Account API must meet the protected customer data requirements.

•String!
non-null

The customer's phone number.

Anchor to whatsAppMarketingConsentwhatsAppMarketingConsent
•CustomerWhatsAppMarketingConsent!
non-null

The WhatsApp marketing consent information for the customer's phone number. Update it with the customerWhatsAppMarketingConsentUpdate mutation.

•SmsMarketingState!
non-nullDeprecated

Was this section helpful?

•mutation

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.

Arguments

•CustomerWhatsAppMarketingConsentUpdateInput!
required

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



Was this section helpful?