Plugin Subscription Plans

Get all plugin subscription plans

GET
http://localhost:3000/api/plugin-plans

Parameters

pluginIdstringquery

Filter by plugin ID

typestringfreetrialbasicpremiumenterprisecustomquery

Filter by plan type

billingPeriodstringdailyweeklymonthlyquarterlyyearlyone-timequery

Billing period

isActivebooleanquery

Filter by active status

isPopularbooleanquery

Filter by popular status

isRecommendedbooleanquery

Filter by recommended status

minPricenumberquery

Minimum price filter

maxPricenumberquery

Maximum price filter

currencystringquery

Currency filter

hasTrialbooleanquery

Has trial filter

Response

Plugin subscription plans retrieved successfully

Response fields application/json
Show child attributes
deletedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
createdAtstring<date-time>

The creation timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
updatedAtstring<date-time>

The last update timestamp of the entity.

Example
2018-11-21T06:20:32.232Z
idstring
isActivebooleantrue

Whether the plan is active and available for purchase

isArchivedbooleanfalse
archivedAtstring<date-time>
Example
2018-11-21T06:20:32.232Z
namestringrequired

Plan name

descriptionstring

Plan description

typestringfreetrialbasicpremiumenterprisecustomrequired

Subscription type/plan level

pricenumberrequired

Plan price

currencystringrequired

Currency code (e.g., USD, EUR)

billingPeriodstringdailyweeklymonthlyquarterlyyearlyone-timerequired

Billing period

featuresArray<string>required

Plan features list

limitationsobject

Plan limitations and quotas

isPopularboolean

Whether this plan is marked as popular

isRecommendedboolean

Whether this plan is recommended

trialDaysnumber

Trial period duration in days

setupFeenumber

Setup fee for the plan

discountPercentagenumber

Discount percentage for the plan

metadatastring

Plan metadata (JSON string)

sortOrdernumber

Sort order for displaying plans

pluginIdstringrequired

Plugin ID

createdByIdstring

User who created this plan

subscriptionsArray<string>

Subscriptions using this plan

Copyright © 2023-Present Ever Co. LTD.Docs by Sourcey