Update Coupon
Authentication
Path parameters
Request
The discount to apply to an order, as either an amount or a percentage. This field’s usage is determined by the coupon type. For example, a type of + percentage_discount would determine a percentage here.
If the coupon is enabled, this field’s value is true; otherwise, false.
This is a list of shipping-method names. A shipping method must be enabled on the store to use it with a coupon. To check which shipping methods are enabled, please use the List Shipping Methods endpoint.
Response
The discount to apply to an order, as either an amount or a percentage. This field’s usage is determined by the coupon type. For example, a type of + percentage_discount would determine a percentage here.
The coupon’s ID. This is a read-only field; do not set or modify its value in a POST or PUT request.
If the coupon is enabled, this field’s value is true; otherwise, false.
Number of times this coupon has been used. This is a read-only field; do not set or modify its value in a POST or PUT request.
This is a list of shipping-method names. A shipping method must be enabled on the store to use it with a coupon. To check which shipping methods are enabled, please use the List Shipping Methods endpoint.