Skip to content

Digital Download Created

The digital_download.created event is triggered when a new digital download is created in the system.

Event Properties

PropertyTypeDescription
idstringThe unique identifier of the digital download
namestringThe name of the digital download
descriptionstringThe description of the digital download
currencystringThe currency code for the product’s price (default: “TWD”)
amountnumberThe price amount of the digital download
publishedbooleanIndicates if the digital download is published
slugstringThe URL-friendly identifier for the digital download
cover_photostringThe URL or path to the cover photo of the digital download
created_atstringThe timestamp when the digital download was created
updated_atstringThe timestamp when the digital download was last updated

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"
}
}