Skip to main content
PATCH
Update subscription plans

Body

application/json
__v
number
Example:

0

amount
number
Example:

50

applyAutomatically
boolean
Example:

false

code
string
Example:

"50% DISCOUNT"

created
string
Example:

"2022-08-10T23:02:01.737Z"

description
string
Example:

"50 percent discount on subscriptions"

expires
unknown
isActive
boolean
Example:

true

starts
string
Example:

"2022-08-10T00:00:00.000Z"

type
string
Example:

"percentage"

usableOn
string
Example:

"subscription"

usageCount
number
Example:

0

Response

200 - undefined