--- title: customerEmailMarketingUnsubscribe - Customer API description: Unsubscribes the customer from email marketing. api_version: 2025-01 api_name: customer type: mutation api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/2025-01/mutations/customerEmailMarketingUnsubscribe md: https://shopify.dev/docs/api/customer/2025-01/mutations/customerEmailMarketingUnsubscribe.md --- # customer​Email​Marketing​Unsubscribe mutation Unsubscribes the customer from email marketing. ## Customer​Email​Marketing​Unsubscribe​Payload returns * email​Address [Customer​Email​Address](https://shopify.dev/docs/api/customer/2025-01/objects/CustomerEmailAddress) The customer's email address that's unsubscribed from the email marketing. * user​Errors [\[User​Errors​Customer​Email​Marketing​User​Errors!\]!](https://shopify.dev/docs/api/customer/2025-01/objects/UserErrorsCustomerEmailMarketingUserErrors) non-null The list of errors that occurred from executing the mutation. *** ## Examples * ### customerEmailMarketingUnsubscribe reference ## Mutation Reference ```graphql mutation customerEmailMarketingUnsubscribe { customerEmailMarketingUnsubscribe { emailAddress { # CustomerEmailAddress fields } userErrors { field message } } } ``` ## Input ```json {} ```