Skip to main content
POST
Preview a tenure publication

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.

Response

Success

tenure_program_preview
object
required
status
enum<integer>
required
Available options:
200
meta
object
required