Add subscription discount

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Subscription handle

Body Params

Discounts to attach to subscription. A maximum of 100 discounts is allowed.

string
required
length ≥ 1

Per subscription unique handle for the subscription discount.

string
required
length ≥ 1

Discount for subscription discount

string

Optional name overriding discount name

string

Optional description overriding discount description

int32
≥ 1

Optional overriding fixed amount from discount, either amount or percentage should be provided

int32
1 to 100

Optional percentage overriding percentage from discount, either amount or percentage should be provided

apply_to
array of strings
length between 1 and 2147483647

Optional overriding discount settings

apply_to
int32
≥ 1

Optional overriding discount settings

string
enum

Optional overriding discount settings

Allowed:
int32
≥ 1

Optional overriding discount settings

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json