Skip to main content
POST
Publish a tenure program version

Authorizations

Authorization
string
header
required

Bearer token authentication

Path Parameters

id
integer
required

The tenure program's id.

Body

application/json
tiers
object[]
required

The ladder, ascending by from.

Required array length: 1 - 10 elements
scope
enum<string>
required

Which subscriptions the program covers once published.

Available options:
all,
plans,
products
scope_ids
integer[]
required

Empty for all, otherwise the company's plan or product ids.

Maximum array length: 500
apply_to_volume
boolean
required

Whether the tier discounts reduce volume as well as price.

previewed
object
required

The counts the preview returned for this same ladder and scope. The publish counts again and is refused with 409 (preview_stale) when they differ.

Response

Created

tenure_program
object
required
status
enum<integer>
required
Available options:
200,
201
meta
object
required