Price Plans
Update a price plan
Update an existing price plan Price Plans with status as DRAFT alone can be updated . Learn more about Price plans from our Guides
PATCH
/
price_plans
/
{price_plan_id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
price_plan_id
string
requiredMaximum length:
50
Body
application/json
Request to update a price plan
migrationMode
enum<string>
Available options:
IMMEDIATE
, IMMEDIATE_IGNORE_OVERRIDE
, NEXT_CYCLE
, NEXT_CYCLE_IGNORE_OVERRIDE
, NONE
, START_OF_CURRENT_CYCLE
versionsToMigrate
enum<string>
Available options:
LATEST_VERSION
, ALL_VERSION
description
string
Description of price plan
Maximum length:
255
pricePlanDetails
object
pricingRules
object[]
Response
200 - application/json
Price plan entity
id
string
requiredPrice plan id
name
string
requiredName of the price plan
Maximum length:
50
type
enum<string>
requiredType of price plan
Available options:
BILLING
, PURCHASE
status
enum<string>
requiredStatus of Price plan
Available options:
DRAFT
, ACTIVE
, ARCHIVED
pricingSchedule
object[]
requireddescription
string
Description of price plan
Maximum length:
255