Widget API Reference
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. The customer is tagged
genlook-user and joins the “Virtual Try-On Users by Genlook” customer segment.
Treat this as a fire-and-forget call. Don’t block user flow on errors.
Request
string
required
Customer’s email address.
boolean
Whether the customer consented to marketing emails. Defaults to
false.boolean
Whether the consent checkbox was shown. Useful for compliance tracking.
Response
boolean
required
Whether the email was collected.
string
required
Status message.

