Creates a new plan with its full pricing template — name, currency, contract configuration, and the items (standalone priced products and/or bundles) that subscriptions will inherit. Optional fields cover plan-level discount, spend thresholds, price escalation, entitlements, tags, and invoice/email behavior.
Documentation Index
Fetch the complete documentation index at: https://alguna.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Pass your API key as a Bearer token.
2026-04-01 A unique string used to ensure the request is processed exactly once. If you retry a request with the same idempotency key within 24 hours, the original response is returned without re-executing the operation.
255"ik_a1b2c3d4e5f6"
ISO 4217 currency code
"USD"
Plan name
"Enterprise Plan"
Markdown additional terms appended to the contract
Auto-activate subscriptions created from this plan
false
Whether the plan auto-renews
true
Contract duration in months
12
Contract period type
fixed, monthly_rolling "fixed"
Plan description
"Full-featured enterprise plan"
Plan-level discount applied across the price set
Entitlement configs to provision with the plan
Invoice/email behavior overrides for the plan
Items that make up the plan's pricing template. Each item is either a standalone product (product_id + price) or a bundle (bundle_id + name + items).
Maximum spend per period
Minimum spend per period
Invoice payment terms
"net_30"
Price escalation config
Renewal duration in months
12
Renewal period type
fixed, monthly_rolling Tag IDs to associate with the plan
["tag_abc123"]
Trial period in days
14
Success
Timestamp when the plan was created
"2026-04-01T10:00:00Z"
The currency in which the plan is billed
"USD"
Unique identifier for the plan
"pln_01H1VECT"
The name of the plan
"Enterprise Plan"
Timestamp when the plan was last updated
"2026-04-01T12:30:00Z"
A brief description of the plan
"Full-featured enterprise plan"