Digital Download Created
The digital_download.created
event is triggered when a new digital download is created in the system.
Event Properties
Property | Type | Description |
---|---|---|
id | string | The unique identifier of the digital download |
name | string | The name of the digital download |
description | string | The description of the digital download |
currency | string | The currency code for the product’s price (default: “TWD”) |
amount | number | The price amount of the digital download |
published | boolean | Indicates if the digital download is published |
slug | string | The URL-friendly identifier for the digital download |
cover_photo | string | The URL or path to the cover photo of the digital download |
created_at | string | The timestamp when the digital download was created (ISO 8601 format, e.g. “2023-12-04T18:45:44+08:00” or “2023-12-04T10:45:44Z”) |
updated_at | string | The timestamp when the digital download was last updated (ISO 8601 format) |
Example Payload
{ "type": "digital_download.created", "data": { "id": "550e8400-e29b-41d4-a716-446655440000", "name": "Advanced Programming Techniques E-book", "description": "A comprehensive guide to advanced programming concepts and best practices.", "currency": "TWD", "amount": 1500.0, "published": false, "slug": "advanced-programming-techniques-ebook", "cover_photo": "https://example.com/covers/advanced-programming-ebook.jpg", "created_at": "2023-05-15T14:30:00Z", "updated_at": "2023-05-15T14:30:00Z" }}