PUT
/
plans
/
{planId}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

planId
string
required

Body

application/json
basedFromPlanId
string
billingData
object

The billing data of the plan. The billing data contains the billing interval, the plan duration the payment terms and auto renewal, and the billing method.

description
string
Minimum length: 1
name
string

The name of the plan

Minimum length: 1
products
object[]

The products of the plan

purchaseOrder
string

The purchase order number

Maximum length: 20
status
enum<string>

The status of the plan. plan statuses are active, inactive

Available options:
Active,
Inactive,
Error
trial
object

Response

200 - application/json
plan
object
required