JavaScript
Plans
Create plan
Creates a new plan in draft status.
POST
JavaScript
Documentation Index
Fetch the complete documentation index at: https://docs.stigg.io/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Server API Key
Body
application/json
Request to create a new plan
The unique identifier for the entity
Required string length:
1 - 255Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$The display name of the package
Maximum string length:
255The product ID to associate the plan with
Required string length:
1 - 255Pattern:
^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$The description of the package
Maximum string length:
255The ID of the parent plan, if applicable
Maximum string length:
255The pricing type of the package
Available options:
FREE, PAID, CUSTOM The unique identifier for the entity in the billing provider
Maximum string length:
255The status of the package
Available options:
DRAFT, PUBLISHED, ARCHIVED Metadata associated with the entity
Default trial configuration for the plan
Response
The newly created plan object.
Response object
Plan configuration object
