PricingPlan
Defined in: v1/schemas.ts:837
A summary pricing plan object as returned in paginated list responses.
Does not include frequency or trial configuration — use PricingPlanDetail
for the full object returned by /pricing_plans/:id.
The price field is returned as an integer representing the smallest
currency unit (e.g. cents), so 4999 represents $49.99.
Extends
Section titled “Extends”output<typeofPricingPlanSchema>
Properties
Section titled “Properties”course_id?
Section titled “course_id?”
optionalcourse_id?:number
Defined in: v1/schemas.ts:826
Inherited from
Section titled “Inherited from”z.infer.course_id
created_at?
Section titled “created_at?”
optionalcreated_at?:string
Defined in: v1/schemas.ts:821
Inherited from
Section titled “Inherited from”z.infer.created_at
currency
Section titled “currency”currency:
string
Defined in: v1/schemas.ts:825
Inherited from
Section titled “Inherited from”z.infer.currency
id:
number
Defined in: v1/schemas.ts:820
Inherited from
Section titled “Inherited from”z.infer.id
optionalname?:string
Defined in: v1/schemas.ts:823
Inherited from
Section titled “Inherited from”z.infer.name
price:
number
Defined in: v1/schemas.ts:824
Inherited from
Section titled “Inherited from”z.infer.price
updated_at?
Section titled “updated_at?”
optionalupdated_at?:string
Defined in: v1/schemas.ts:822
Inherited from
Section titled “Inherited from”z.infer.updated_at