Update Purchase Discount

This call is used to update a purchase discount on a draft purchase

Body Params
int32
required

ID of the purchase discount on 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