Update a discount

Path Params
string
required

Discount Id

Body Params

Discount DTO

string | null

Internal name of the discount

Description
object | null

Description of the discount. Will appear on the invoice

Duration
object
string
enum
Allowed:
Effect
object
required
Targets
object
required

Targets of the discount, e.g. an Id of a planvariant

boolean

Determines if the discount will also reduce the price of the setup fee

boolean

Determines if the discount will appear as separate lineitem on the invoice

string | null
boolean
Responses

401

Unauthorized

422

Unprocessable Entity

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