Plugin Subscription Plans

Update plugin subscription plan

PUT
http://localhost:3000/api/plugin-plans/{id}

Body

application/json
idstringrequired

Unique identifier for the plugin

Example
123e4567-e89b-12d3-a456-426614174000
pricenumber

Plan price

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

namestring

Plan name

descriptionstring

Plan description

typestringfreetrialbasicpremiumenterprisecustom

Plan type

currencystringAFNAFAALLALKDZDADPAOAAOKAONAORARAARSARMARPARLAMDAWGAUDATSAZNAZMBSDBHDBDTBBDBYNBYBBYRBEFBECBELBZDBMDBTNBOBBOLBOVBOPBAMBADBANBWPBRCBRZBREBRRBRNBRBBRLGBPBNDBGLBGNBGOBGMBUKBIFXPFKHRCADCVEKYDXAFCLECLPCLFCNXCNYCOPCOUKMFCDFCRCHRDHRKCUCCUPCYPCZKCSKDKKDJFDOPNLGXCDDDMECSECVEGPGQEERNEEKETBEURXEUFKPFJDFIMFRFXFOXFUGMDGEKGELDEMGHSGHCGIPGRDGTQGWPGNFGNSGYDHTGHNLHKDHUFISKISJINRIDRIRRIQDIEPILSILPILRITLJMDJPYJODKZTKESKWDKGSLAKLVLLVRLBPLSLLRDLYDLTLLTTLULLUCLUFMOPMKDMKNMGAMGFMWKMYRMVRMVPMLFMTLMTPMROMURMXVMXNMXPMDCMDLMCFMNTMADMAFMZEMZNMZMMMKNADNPRANGTWDNZDNIONICNGNKPWNOKOMRPKRPABPGKPYGPEIPENPESPHPPLNPLZPTEGWEQARXRERHDRONROLRUBRURRWFSVCWSTSARRSDCSDSCRSLLSGDSKKSITSBDSOSZARZALKRHKRWKROSSPSURESPESAESBLKRSHPSDDSDGSDPSRDSRGSZLSEKCHFSYPSTDTJRTJSTZSTHBTPETOPTTDTNDTRYTRLTMTTMMUSDUSNUSSUGXUGSUAHUAKAEDUYUUYPUYIUZSVUVVEFVEBVNDVNNCHECHWXOFYDDYERYUNYUDYUMYURZRNZRZZMWZMKZWDZWRZWL

Plan currency

billingPeriodstringdailyweeklymonthlyquarterlyyearlyone-time

Billing period

featuresArray<string>

Plan features

limitationsobject

Plan limitations

isActiveboolean

Is plan active

metadataobject

Plan metadata

sortOrdernumber

Sort order

Parameters

idstring<uuid>requiredpath

Plugin subscription plan ID

Response

Plugin subscription plan updated successfully

Response fields application/json
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