PATCH
/
price_plans
/
{price_plan_id}

Deprecated: This API is deprecated and will be removed in a future release. Please use the Update a price plan V2 API instead for updated functionality.

Authorizations

Authorization
string
headerrequired

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

Path Parameters

price_plan_id
string
required
Maximum 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
required

Price plan id

name
string
required

Name of the price plan

Maximum length: 50
type
enum<string>
required

Type of price plan

Available options:
BILLING,
PURCHASE
status
enum<string>
required

Status of Price plan

Available options:
DRAFT,
ACTIVE,
ARCHIVED
pricingSchedule
object[]
required
description
string

Description of price plan

Maximum length: 255