Skip to main content
Anchor to CustomerMarketingConsentError

CustomerMarketingConsentError

object

Requires read_customers access scope.

An error that occurs during the execution of a customer marketing consent mutation, such as customerWhatsAppMarketingConsentUpdate.

•CustomerMarketingConsentErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


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?


Was this section helpful?