Skip to main content
PATCH
Change the company's Subscription Pro settings

Authorizations

Authorization
string
header
required

Bearer token authentication

Body

application/json
lock_version
integer
required

The lock_version the settings were read at.

Required range: x >= 0
features
object

Features to turn on or off. A feature left out keeps its setting.

reminder_lead_days
integer
Required range: 1 <= x <= 14
annual_notice_days
integer
Required range: 15 <= x <= 90
retention_offer_cooldown_days
integer
Required range: 30 <= x <= 730
blackout_rules
object[]

The whole blackout calendar; it replaces the saved list, and an empty list clears it. A key left out keeps the saved list. The save is refused (422) when a rule's move_to_day is blocked by any rule, including a disabled one; when a move_to_day above 28 has a blocked day from 28 to the day before it, because a short month cuts the move back to its last day; or when a rule repeats a day.

Maximum array length: 20

Response

Success

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