Delete Coupon From Purchase

This function is used to delete a coupon from a Purchase before it is finalized.

Query Params
int32
required

This is the Id value of the Purchase you want to delete the Coupon from.

string
required

This is the Coupon code that you want to remove from the specified Purchase.

boolean
required

This determines if the Discount applied by the Coupon should also be deleted. If True, the Discount is removed along with the Coupon. If False, the Coupon is removed but the Discount it applied remains in effect.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

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