Skip to main content
POST
list all plan versions

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Body of the request

Query parameters for filtering and listing plan versions

onlyPublished
boolean

Whether to include published plan versions

Example:

true

onlyEnterprisePlan
boolean

Whether to include enterprise plan versions

Example:

false

onlyLatest
boolean

Whether to include the latest plan version

Example:

true

planVersionIds
string[]

Filter by plan version IDs

Example:
billingInterval
enum<string>

The billing interval to filter the plan versions

Available options:
month,
year,
week,
day,
minute,
onetime
Example:

"month"

currency
enum<string>

The currency to filter the plan versions

Available options:
USD,
EUR
Example:

"USD"

Response

The result of the list plan versions

planVersions
object[]
required