Skip to Content

Plans API

Total endpoints: 16

Source: routes/plans/billing.js

GET/api/get-billingAuth Required

Get get billing

GET/api/get-subscriptions-historyAuth Required

List subscription history for the authenticated vendor

GET/api/get-theme-purchasesAuth Required

List theme purchases (store-wise) for the authenticated vendor

POST/api/run-sweeperAuth Required

Manual trigger (for testing/admin use)

Source: routes/plans/features.js

GET/api/getFeaturesAuth Required

Get getFeatures

POST/api/deleteAuth Required

Create or update delete

POST/api/addAuth Required

Create or update add

POST/api/editAuth Required

Create or update edit

POST/api/saveAuth Required

Create or update save

GET/api/get-selectionAuth Required

Get get selection

POST/api/reorderAuth Required

Create or update reorder

Source: routes/plans/index.js

GET/api/get-plans

Fetch all plans with their features (including inherited)

GET/api/testing-bridge

Get testing bridge

DELETE/api/deletePlanAuth Required

Delete deletePlan

POST/api/addPlanAuth Required

Create or update addPlan

PUT/api/editPlan/:idAuth Required

Update editPlan