Create plan version
Publish a new current version of the plan from its current version, changing prices per interval, included credits or balance, per-currency amounts and the rollover cap. New buyers get it; every subscriber stays on its version until moved. To try changes without selling them to everyone, create an experiment instead.
Autorizaciones
Encabezados
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.
Parámetros de ruta
Cuerpo
Currencies the current version does not sell, with the exchange rate (local units per USD) used for the amounts not listed, credit purchases, add-ons and overage.
Credits plans that roll over unused credits: the most plan credits a subscription can hold. Null removes the cap.
1 <= x <= 2147483647Balance plans that roll over unused balance: the most plan balance a subscription can hold, in USD cents. Other currencies convert it with the plan's exchange rate unless the dashboard sets a custom amount for that currency. Null removes the cap.
1 <= x <= 2147483647Respuesta
Success
Public plan version ID.
The plan's versions are numbered 1, 2, 3; an experiment's own versions read with its code, such as price-test 2.
The plan's version number. Null for a version that only belongs to an experiment; an experiment version made current takes the next number.
-9007199254740991 <= x <= 9007199254740991The experiment this version belongs to, if any.
Whether new buyers get this version.
The version this one was created from.
Active, trialing, past due and paused subscriptions on it.
-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991-9007199254740991 <= x <= 9007199254740991"plan_version"