Skip to main content
Anchor to CustomerEmailMarketingConsentUpdatePayload

CustomerEmailMarketingConsentUpdatePayload

payload

Return type for customerEmailMarketingConsentUpdate mutation.

•Customer

The updated customer.

•[CustomerEmailMarketingConsentUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•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.


Was this section helpful?