Types > SubscriptionPlan
Storefront APITypesSubscriptionPlan
SubscriptionPlan

Description

Fields

align_day_of_month: OptionalInt

Specifies how annual and monthly subscriptions should be aligned


align_day_of_week: OptionalInt

Specifies how weekly subscriptions should be aligned


align_hour: OptionalInt

Specifies how annual, monthly and daily subscriptions should be aligned


align_month: OptionalInt

Specifies how annual subscriptions should be aligned


billing_interval_count: Int!

Billing interval count

Example: 12


discountable: Boolean!

Whether it's possible to apply a discount to a product (given that subscription is used)

Example: false


fulfillment_interval_count: Int!

Fulfillment interval count

Example: 1


interval: SubscriptionPlanInterval!

Interval for subscription plan

Example: "monthly"


limit: Int!

A maxiumum amount of billing cycles

Example: 0


price1: Int!

First purchase price value

Example: 1500


price1_percentage: Float!

First purchase price percentage value

Example: 50


price1_type: SubscriptionPlanPriceType!

First purchase price type

Example: price


price2: Int!

Non-first purchases price value

Example: 1500


price2_percentage: Float!

Non-first purchases price percentage value

Example: 50


price2_type: SubscriptionPlanPriceType!

Non-first purchases price type

Example: price


Used By

Types

StorefrontProduct, StorefrontSubscription

Preview (typescript)

Loading module