DELETE
/
discounts
/
{id}

Headers

Authorization
string
required

Your API credentials. Eg. Basic {credentials}.

Sequence-Version
enum<string>

Use this header to select an API version

Available options:
2024-07-30

Path Parameters

id
string
required

Discount ID

Response

200 - application/json
id
string
required

Discount ID

sequenceAccountId
string
required

The Sequence Account to which this Discount belongs

billingScheduleId
string
required

Billing Schedule ID

phaseId
string

Phase ID

priceIds
string[]
required

Price IDs this discount applies to. If not populated, the discount applies to all prices on the billing schedule

separateLineItem
boolean
required

Indicates whether the discount should appear as a separate line item in the invoice

amount
number
required

Amount to be reduced

discountCalculationType
enum<string>
required

Indicates whether the discount amount is percentage or nominal

Available options:
PERCENTAGE,
NOMINAL
message
string
required

Message to appear on the Invoice

validFrom
string

First Day Discount is Valid

validTo
string

Last Day Discount is Valid

createdAt
string
required

Created at

updatedAt
string
required

Updated At