Hello, we have a Headless store. The emails have to be double opt-in. After the checkout the customer receives the Email as expected but the link in the email points to the Shopify Online Store.
I tried to call the link in the email (that the customer would click if they click the confirm button) with fetch but this doesn’t work.
I found this which should work (didn’t implement it yet) https://shopify.dev/docs/api/admin-graphql/2023-10/mutations/customerEmailMarketingConsentUpdate but is there a simpler method?
There is a similar question https://community.shopify.com/c/hydrogen-headless-and-storefront/redirect-marketing-email-confirmation-page/m-p/1669256#M2264