Add Purchase Discount

This call is used to create and add a purchase discount to an existing draft purchase

Body Params
int32
required

ID of the draft purchase.

string
enum
required

Indicates how amount is interpreted for calculating the discount.

Allowed:
double
required

The percentage for the discount if discountType is "Percentage", the fixed amount if the it is "Amount", or the fixed amount per unit of quantity if it is "AmountPerUnit"

Responses

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