Skip to content

Event Payload

Each event includes a payload with the following fields, accessed via event.detail:

FieldTypeDescription
cart_tokenstring | nullUnique token for the customer’s cart.
customer_dataCustomerData | nullDetailed customer info (name, email, orders).
product_dataProductData | nullProduct details (ID, title, price).
input_product_imagestring | nullURL of product image used for generation.
input_user_imagestring | nullURL of the user’s image (e.g., profile).
selected_variantstring | nullSelected product variant, if applicable.
output_try_on_imagestring | nullGenerated try-on result image.
error_messagestring | nullError message if event failed.
provider"email" | "social" | nullCommunication channel.
funnel_idnumber | nullFunnel ID tied to the event.
isEmailSharedbooleanEmail sent successfully.
isWhatsAppSharedbooleanWhatsApp message sent successfully.
isFacebookSharedbooleanFacebook message sent successfully.

See Product Data and Customer Data for the nested structures referenced above.