Skip to main content
PATCH
Change how long each renewal of a subscription lasts

Authorizations

Authorization
string
header
required

An API key from the Storiza dashboard (API & Integrations), sent as Authorization: Bearer stz_….

Path Parameters

id
string<uuid>
required

Body

application/json
durationDays
integer
required

Response

Billing period changed successfully

success
enum<boolean>
required
Available options:
true
message
enum<string>
required
Available options:
Billing period changed successfully
data
Subscription · object
required

Schema for Subscription model

Example: