Updates a Coupon.
Read Only Fields
idnum_usesdate_createdNotes
If the applies_to value is cleared, you can restore it to the coupon by reapplying the applies_to value in a new PUT 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.
Specifies when a coupon expires. Coupons need not have an expiry date – you can also control expiry via + max_uses or max_uses_per_customer. If you do use this date field, the value must be in RFC 2822 format.
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.
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.
Specifies when a coupon expires. Coupons need not have an expiry date – you can also control expiry via + max_uses or max_uses_per_customer. If you do use this date field, the value must be in RFC 2822 format.
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.
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.
The MIME type of the response body.