It is definitely a bit confusing! Let me know if you have any issues, but hopefully you can get it working the way you need.
Topic summary
A Shopify Flow automation for abandoned checkouts fails at the final step with a 400 error indicating “Customer does not accept marketing for customer id.”
Root Cause:
The error occurs because the customer hasn’t opted into marketing emails. Shopify only sends marketing emails to customers who have explicitly consented.
Solutions Identified:
-
For Abandoned Checkout emails: Users can modify settings in the email editor within the marketing automation workflow (click “Send marketing email” action → “View email” → edit the “To:” line) to adjust recipient requirements.
-
For Abandoned Cart emails: These are treated differently from Abandoned Checkout (cart abandonment occurs before reaching checkout). Marketing consent is required and cannot be bypassed due to privacy/legal reasons.
-
Template/Design Issues: One user discovered their error stemmed from the email template not being saved properly or containing errors (such as referencing inactive products). Opening the email template in edit mode, fixing any errors, and saving resolved the issue.
Key Distinction: Abandoned Cart and Abandoned Checkout are separate scenarios with different consent requirements.