LemonSqueezySubscriptionObject
Defined in: src/billing/lemonsqueezy.ts:78
A Lemon Squeezy subscription resource (JSON:API data).
Properties
Section titled “Properties”| Property | Type | Defined in |
|---|---|---|
attributes |
object |
src/billing/lemonsqueezy.ts:81 |
attributes.cancelled? |
boolean |
src/billing/lemonsqueezy.ts:90 |
attributes.created_at? |
string | null |
src/billing/lemonsqueezy.ts:88 |
attributes.customer_id |
string | number |
src/billing/lemonsqueezy.ts:82 |
attributes.ends_at? |
string | null |
src/billing/lemonsqueezy.ts:87 |
attributes.first_subscription_item? |
| { id: string | number; quantity?: number | null; } | null |
src/billing/lemonsqueezy.ts:91 |
attributes.renews_at? |
string | null |
src/billing/lemonsqueezy.ts:86 |
attributes.status |
string |
src/billing/lemonsqueezy.ts:84 |
attributes.trial_ends_at? |
string | null |
src/billing/lemonsqueezy.ts:85 |
attributes.updated_at? |
string | null |
src/billing/lemonsqueezy.ts:89 |
attributes.variant_id |
string | number |
src/billing/lemonsqueezy.ts:83 |
id |
string | number |
src/billing/lemonsqueezy.ts:80 |
type |
"subscriptions" |
src/billing/lemonsqueezy.ts:79 |