Course Created
The course.created
event is triggered when a new course is created in the system.
Event Properties
Property | Type | Description |
---|---|---|
id | string | The unique identifier of the course |
name | string | The name of the course |
description | string | The description of the course |
state | string | The current state of the course |
type | string | The type of the course (always “Course”) |
created_at | string | The timestamp when the course was created |
updated_at | string | The timestamp when the course was last updated |
slug | string | The URL-friendly slug of the course |
plans | array | An array of plans associated with the course |
Plan Properties
Each plan in the plans
array has the following properties:
Property | Type | Description |
---|---|---|
id | string | The unique identifier of the plan |
name | string | The name of the plan |
description | string | A description of the plan |
currency | string | The currency code for the plan’s price |
amount | integer | The price amount in the smallest currency unit |
created_at | string | The timestamp when the plan was created |
updated_at | string | The timestamp when the plan was last updated |