Plans
Create Plan
Create a new pricing plan. Use when defining a new pricing tier (e.g. Free, Pro, Enterprise). Attach prices and entitlements; customers subscribe to plans.
POST
Create Plan
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/flexprice/flexprice/llms.txt
Use this file to discover all available pages before exploring further.
Request Body
Human-readable name for the plan.Example:
"Pro Plan"Unique identifier for looking up the plan programmatically.Example:
"pro-monthly"Detailed description of what the plan includes.Example:
"Professional tier with advanced features"Order in which this plan should be displayed (lower numbers appear first).Example:
2Arbitrary key-value pairs for storing additional information.Example:
{"tier": "professional", "features": "advanced"}Response
Unique identifier for the plan.Example:
"plan_a1b2c3d4e5f6g7h8i9j0"Human-readable name for the plan.
Unique lookup key.
Description of the plan.
Display order for the plan.
Custom metadata.
Environment ID where the plan exists.
Tenant ID that owns this plan.
Status of the plan.Values:
"published", "draft", "archived"ISO 8601 timestamp when the plan was created.
ISO 8601 timestamp when the plan was last updated.
ID of the user who created the plan.
ID of the user who last updated the plan.
Example Request
cURL
Example Response
Create Plan