app

ViewSet for viewing and editing Plans.

post/app/plans/

Request body

plan_namestring required

Name of the plan

plan_duration'monthly' | 'quarterly' | 'yearly' required

Duration of the plan

status'active' | 'archived' | 'experimental'
parent_plan_idstring uuid
target_customer_idstring

The id provided when creating the customer, we suggest matching with your internal customer id in your backend

Response

plan_namestring required

Name of the plan

plan_duration'monthly' | 'quarterly' | 'yearly' required

Duration of the plan

status'active' | 'archived' | 'experimental' required
plan_idstring required
num_versionsinteger required

The number of versions that this plan has.

active_subscriptionsinteger required

The number of active subscriptions that this plan has across all versions.

Changes