Skip to main content
POST
Create Subscription Plan

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
name
string
required
price
required
Required range: x >= 0
module_ids
integer[]
image
file | null

Response

Successful Response

Schema for reading SubscriptionPlan.

name
string
required
price
string
required
Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
id
integer
required
date_added
string<date-time>
required
date_updated
string<date-time>
required
image_url
string<uri> | null
Required string length: 1 - 2083