Skip to main content
PATCH
(DEPRECATED) Update a price plan
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
header
required

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

Path Parameters

price_plan_id
string
required
Maximum string length: 50
Example:

"pp.1zYnCiM9Bpg.lv25y"

Body

application/json

Payload to update price plan

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 string length: 255
pricePlanDetails
object
pricingRules
object[]

Response

Response for Create and Get price plan requests

Price plan entity

id
string
required

Price plan id

name
string
required

Name of the price plan

Maximum string 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 string length: 255