Skip to main content
Anchor to CustomerEmailMarketingConsentUpdateUserError

CustomerEmailMarketingConsentUpdateUserError

object

An error that occurs during the execution of CustomerEmailMarketingConsentUpdate.

•CustomerEmailMarketingConsentUpdateUserErrorCode

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 email marketing consent information. The customer must have an email address to update their consent. Records the marketing state (such as subscribed, pending, unsubscribed), opt-in level, and when and where the customer gave or withdrew consent.

Only three values are accepted as input: SUBSCRIBED, UNSUBSCRIBED, and PENDING. NOT_SUBSCRIBED, REDACTED, and INVALID cannot be set via this mutation; they are read-only or internally-set states.

Arguments

•CustomerEmailMarketingConsentUpdateInput!
required

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



Was this section helpful?


Was this section helpful?