Skip to main content
object

Requires read_customers access scope.

A phone number.

•String!
non-null

A customer's phone number.

Anchor to whatsAppMarketingConsentwhatsAppMarketingConsent
•CustomerWhatsAppMarketingConsent!
non-null

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

Show fields

Deprecated fields

Anchor to marketingCollectedFrommarketingCollectedFrom
•CustomerConsentCollectedFrom
Deprecated
Show enum values
•CustomerMarketingOptInLevel
Deprecated
Show enum values
•CustomerSmsMarketingState!
non-nullDeprecated
Show enum values
•DateTime
Deprecated
•Location
Deprecated
Show fields

Was this section helpful?

•mutation

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.

Show payload

Arguments

•CustomerWhatsAppMarketingConsentUpdateInput!
required

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

Show input fields


Was this section helpful?