Skip to main content
POST
Update a plan

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
planId
string
required

The planId that ident the subscription plan

subMerchantId
string
required

The subMerchantId associated with the plan.

name
string
required

Plan's name.

Example:

"Black friday test plan"

description
string
required

Plan's description.

Example:

"Black friday test plan description"

schedules
object[]
required

Array containing plan's schedules.

title
string

Plan's title.

Example:

""

subTitle
string

Plan's sub title.

Example:

""

hostedSession
object

Object to edit configuration of created hosted session.

Response

Plan successfully created.

Last modified on July 14, 2026