Plan promo-codes
DevelopingGET
/plans/{id}/promo-codesList available promo-codes for a specified plan.
Request
Path Params
id
string
required
Request samples
Responses
Successfuly listed available promo-codes.(200)
Successfuly listed available promo-codes.
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
code
string
required
percentage
integer
required
minimum_billing_cycle
integer
required
Example
[
{
"code": "fall2401",
"percentage": 5,
"minimum_billing_cycle": 1
},
{
"code": "fall2403",
"percentage": 10,
"minimum_billing_cycle": 3
},
{
"code": "fall2406",
"percentage": 15,
"minimum_billing_cycle": 6
},
{
"code": "fall2412",
"percentage": 20,
"minimum_billing_cycle": 12
},
{
"code": "fall2424",
"percentage": 25,
"minimum_billing_cycle": 24
}
]
Last modified: 3 days ago