Membership Plan Created
The membership_plan.created
event is triggered when a new membership plan is created in the system.
Event Properties
Property | Type | Description |
---|---|---|
id | string | The unique identifier of the membership plan |
name | string | The name of the membership plan |
description | string | The description of the membership plan |
currency | string | The currency code for the plan’s price (default: “TWD”) |
amount | number | The price amount of the plan |
interval | string | The billing interval (month, year) |
interval_count | integer | The number of intervals between billings |
active | boolean | Indicates if the plan is active |
created_at | string | The timestamp when the plan was created |
updated_at | string | The timestamp when the plan was last updated |
ended_at | string | The timestamp when the plan ends (if applicable) |
plan_type | string | The type of plan (recurring, fixed_date, or specific_length) |
quantity | integer | The quantity of items included in the plan |
sold_items_count | integer | The number of items sold for this plan |
slug | string | The URL-friendly identifier for the plan |
max_interval_count | integer | The maximum number of intervals allowed |
visible | boolean | Indicates if the plan is visible to users |