customerEmailMarketingConsentUpdate - admin-graphql - MUTATION
Version: 2024-01
Description:
Update a customer's email marketing information information.
Access Scopes
`write_customers` access scope.
Arguments
-
input:
CustomerEmailMarketingConsentUpdateInput! -
Specifies the input fields to update a customer's email marketing consent information.
Returns
-
customer:
Customer
The updated customer.
-
userErrors:
CustomerEmailMarketingConsentUpdateUserError!
The list of errors that occurred from executing the mutation.
Examples