Create discount

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length ≥ 1

Name of discount. Will be used as order line text.

string

Optional description of discount

int32
≥ 0

Fixed amount discount deducted from order line amounts including VAT, either amount or percentage should be provided

string

Currency for the discount plan in ISO 4217 three letter alpha code

int32
1 to 100

Percentage discount applied to each applicable order line, either amount or percentage should be provided

string
required
length ≥ 1

Per account unique handle for the discount

metadata
object

Custom metadata.

apply_to
array of strings
required
length between 1 and 2147483647

Which order lines the discount is applicable to: all, setup_fee, plan, additional_cost, add_on, ondemand and metered_billing_product

apply_to*
int32
≥ 1

Apply discount to a fixed number of invoices

string
enum

Time unit use for fixed valid period either days or months

Allowed:
int32
≥ 1

Fixed period length e.g. 12 months or 14 days

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