Update plan (legacy)

Legacy endpoint to update a plan via POST.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

Plan unique identifier

Query Params
int32
required

The unique identifier of the site associated with your account.

Body Params
string
Defaults to PUT

Defining the method for update

string

The plan display name

string

Internal reference name for the plan (not visible to public)

boolean

Use this key to define if plan is available "online and offline" or "offline" only

boolean

Use this key to define if plan is refundable or not

string

Plan description

entitlements
array of strings

The entitlements of articles which are available on the selected plan

entitlements
int32

The plan trial period in days

int32
int32
string
enum
Allowed:
date

The free plan expiry date

ip_addresses
array of strings

Plan IP addresses to allow plans for specific IPs

ip_addresses
domains
array of strings

Plan domains to allow plan for specific domains

domains
string
file

Plan Image

string
countries
array of strings

Countries which plan will be available in

countries
int32

Group owner plan ID if plan is a child from other plan

int32

The plan amount before discount

int32

The percentage of the discount on the original amount

boolean

Use this key to define if we allowed to send invoices for this plan or not

boolean

Is donation specifies if plan is for donation or not

string

The current/old external plan ID associated with a migrated plan.

int32

Days before sending a reminder for any upcoming subscription sign-up or renewal invoices related to the configured plan

Headers
string
required
Defaults to Bearer eyJ***
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json