Skip to main content
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.

Headers

X-Flexype-Authorization
string
A secret key used to verify that the webhook request originated from FlexyPe. Ensure this token is validated to prevent unauthorized access.
X-Webhook-Version
string
The version of the webhook payload. Here, the value will be 2026-05.
X-Event-Id
string
The unique identifier for the event that triggered this webhook.

Body

event_time
string
The ISO 8601 timestamp when the event occurred.
event_type
string
The type of event. For this webhook, it is COLLECTION_VIEWED.
event_id
string
A unique identifier for the event.
store
object
Information about the store where the event occurred.
payload
object
The event-specific data.