Plans
Manage Memberstack plans.
memberstack plans <subcommand> [options]plans list
List all plans.
memberstack plans list [options]Options
| Option | Description |
|---|---|
--status <status> | Filter by status: ALL, ACTIVE, INACTIVE |
--order-by <field> | Order by field: PRIORITY, CREATED_AT |
plans get
Get a plan by ID.
memberstack plans get <id>Arguments
| Argument | Description |
|---|---|
id | Plan ID |
plans create
Create a new plan.
memberstack plans create [options]Options
| Option | Description |
|---|---|
--name <name> | Plan name |
--description <description> | Plan description |
--icon <icon> | Plan icon |
--is-paid | Mark plan as paid |
--team-accounts-enabled | Enable team accounts |
--team-account-invite-signup-link <url> | Team account invite signup link |
--team-account-upgrade-link <url> | Team account upgrade link |
Example
memberstack plans create --name "Pro" --description "Professional tier" --is-paidplans update
Update a plan.
memberstack plans update <id> [options]Arguments
| Argument | Description |
|---|---|
id | Plan ID |
Options
| Option | Description |
|---|---|
--name <name> | Plan name |
--description <description> | Plan description |
--icon <icon> | Plan icon |
--status <status> | Plan status: ACTIVE, INACTIVE |
--limit-members | Enable member limit |
--no-limit-members | Disable member limit |
--member-limit <number> | Maximum number of members |
--team-account-upgrade-link <url> | Team account upgrade link |
--team-account-invite-signup-link <url> | Team account invite signup link |
--restrict-to-admin | Restrict plan to admin |
--no-restrict-to-admin | Remove admin restriction |
--redirect <key=url> | Set redirect URL (repeatable). Keys: afterSignup, afterLogin, afterLogout, afterPurchase, afterCancel, afterReplace, verificationRequired |
--permission-id <id> | Permission ID (repeatable; replaces all permissions) |
--allowed-domain <email> | Allowed email domain (repeatable; replaces all domains) |
Example
memberstack plans update pln_abc123 --status ACTIVE --restrict-to-adminplans delete
Delete a plan.
memberstack plans delete <id>Arguments
| Argument | Description |
|---|---|
id | Plan ID |
plans order
Reorder plans by priority.
memberstack plans order --plan <planId:priority> [--plan <planId:priority> ...]Options
| Option | Description |
|---|---|
--plan <planId:priority> | Plan ID and priority (repeatable), for example --plan pln_abc:1 |
Example
memberstack plans order --plan pln_basic:1 --plan pln_pro:2 --plan pln_enterprise:3FAQ
How is this guide?
Last updated on