Skip to main content
object

Requires read_customers access scope.

A phone number.

•String!
non-null

A customer's phone number.

•CustomerSmsMarketingConsent!
non-null

The SMS marketing consent information for the customer's phone number. Update with the customerSmsMarketingConsentUpdate mutation.

Anchor to whatsAppMarketingConsentwhatsAppMarketingConsent
•CustomerWhatsAppMarketingConsent!
non-null

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

Deprecated fields

Anchor to marketingCollectedFrommarketingCollectedFrom
•CustomerConsentCollectedFrom
Deprecated
•CustomerMarketingOptInLevel
Deprecated
•CustomerSmsMarketingState!
non-nullDeprecated
•DateTime
Deprecated
•Location
Deprecated

Was this section helpful?

•mutation

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.

Arguments

•CustomerWhatsAppMarketingConsentUpdateInput!
required

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



Was this section helpful?