Add price to plan
Add a base price or a selectable market price variant. Variants inherit their base price outside the markets they override. Configure introductory and promotional benefits through Offers.
Authorizations
Headers
Unique key used to safely retry this write for 24 hours without applying it twice.
1 - 200API version used by this reference. Send this header to select this contract explicitly.
Path Parameters
Body
- Option 1
- Option 2
A base price. Market prices are optional overrides; currency pricing remains the fallback elsewhere.
weekly, monthly, quarterly, semiannual, yearly, one_time 0 <= x <= 90071992547409910 <= x <= 730Set to false so the price's free trial starts without a payment method. Requires trialDays on the price.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 90071992547409911Response
Success
Public plan price ID.
weekly, monthly, quarterly, semiannual, yearly, one_time Price in the currency's minor unit (for example, cents for USD).
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991Whether the price's free trial needs a payment method to start. When false, a new subscription starts trialing right away without checkout; without a payment method added by the trial end, the customer moves to the plan group's default plan, or the subscription is canceled when there is none. Null when the price has no trial.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991Automatic introductory offer for this price.
Public base price ID for a market price variant, or null for a base price.
Application metadata. Variant display names may use metadata.name.
Country-market overrides. Variants inherit their base price for every market not listed.
"plan_price"