Types
ProductSettingsInput
Input for product settings
input
ProductSettingsInputFields
downgradeAtEndOfBillingPeriod
String
Indicates if the subscription should be downgraded at the end of the billing period
downgradePlanId
String
ID of the plan to downgrade to at the end of the billing period. Only relevant when subscriptionEndSetup is DOWNGRADE_TO_FREE — ignored otherwise.
prorateAtEndOfBillingPeriod
Boolean
Indicates if the subscription should be prorated at the end of the billing period
subscriptionCancellationTime
required
Time when the subscription will be cancelled
subscriptionEndSetup
required
Setup for the end of the subscription
subscriptionStartPlanId
String
ID of the plan to start the subscription with. Only relevant when subscriptionStartSetup is PLAN_SELECTION — ignored otherwise.
subscriptionStartSetup
required
Setup for the start of the subscription