API Reference (Developers)
Collect Email
Collect customer email addresses and marketing consent
POST
Collect a customer email and sync it to your Shopify store as a customer record. Collected emails are added to a “Genlook Widget Leads” customer segment.
Treat this as a fire-and-forget call. Don’t block user flow on errors.
Request
Customer’s email address.
Whether the customer consented to marketing emails. Defaults to
false.Whether the consent checkbox was shown. Useful for compliance tracking.
Response
Whether the email was collected.
Status message.

