Update Discount

This action allows you to retrieve a single discount based on the Fusebill generated ID

Path Parameters

PropertyTypeDescriptionRequired
idIntegerThe Stax gill generated ID of the discount.Yes
nameStringThe name assigned to the discountNo
discountTypeEnum: {Percentage,
Amount,
AmountPerUnit,
FlatPricePerUnit}
The enumerable type of the discount.Yes
codeStringThe unique identifier of the discount.Yes
remainingUsagesUntilStartIntegerThe amount of usages the discount has remaining before it starts.No
remainingUsagesIntegerThe amount of usages the discount has remaining before it expires.No
amountIntegerThe total amount of coupons.No
statusEnum: {Active, Retired}The current status of the discount indicating whether its in use or not.No
frequencyOverridesObjectAn object that contains specific frequency overrides (see below)No
Body Params
int32
required

The Stax gill generated ID of the discount.

string

The name assigned to the discount.

string
enum
required

The enumerable type of the discount.

Allowed:
string
required

The unique identifier of the discount.

int32

The amount of usages the discount has remaining before it starts.

int32

The amount of usages the discount has remaining before it expires.

int32

The total amount of coupons.

string
enum

The current status of the discount indicating whether its in use or not.

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json