Skip to main content
Anchor to CustomerMarketingConsentError

CustomerMarketingConsentError

object

Requires read_customers access scope.

An error from 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. 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.

Arguments

•CustomerWhatsAppMarketingConsentUpdateInput!
required

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



Was this section helpful?


Was this section helpful?