Documentation Index Fetch the complete documentation index at: https://docs.flexype.io/llms.txt
Use this file to discover all available pages before exploring further.
The Collection Viewed Webhook is triggered when a customer views a specific collection page in your store. This data helps in understanding customer interests and can be used for personalized marketing and retargeting based on the collections they browse.
A secret key used to verify that the webhook request originated from FlexyPe. Ensure this token is validated to prevent unauthorized access.
The version of the webhook payload. Here, the value will be 2026-05.
The unique identifier of the webhook configured for your store.
The unique identifier for the event that triggered this webhook.
Body
The ISO 8601 timestamp when the event occurred.
The type of event. For this webhook, it is COLLECTION_VIEWED.
A unique identifier for the event.
Information about the store where the event occurred. Unique identifier for the store.
The Shopify domain of the store.
The primary domain of the store.
The event-specific data. Customer information. The customer’s email address.
The customer’s full name.
The customer’s first name.
The customer’s last name.
The customer’s phone number.
The phone number including the dial code.
Details of the collection viewed. Show Collection View Properties
Shopify collection handle.
URL of the collection image.
The ISO 8601 timestamp of the view.
{
"event_time" : "2026-05-07T10:00:00Z" ,
"event_type" : "COLLECTION_VIEWED" ,
"event_id" : "evt_987123654" ,
"store" : {
"id" : "store_01" ,
"name" : "My Awesome Store" ,
"shopify_domain" : "my-store.myshopify.com" ,
"main_domain" : "my-store.com"
},
"payload" : {
"user" : {
"email" : "jane.doe@example.com" ,
"full_name" : "Jane Doe" ,
"first_name" : "Jane" ,
"last_name" : "Doe" ,
"dial_code" : "91" ,
"phone" : "9876543210" ,
"phone_with_dial_code" : "+919876543210"
},
"collection_viewed" : {
"collection_id" : 112233 ,
"name" : "Summer Collection" ,
"handle" : "summer-collection" ,
"image" : "https://cdn.shopify.com/collections/summer.jpg" ,
"timestamp" : "2026-05-07T10:00:00Z"
}
}
}