Returns a list of Coupons. Default sorting is by coupon/discount id, from lowest to highest. You can pass in optional filter parameters. We recommended using ?min_id=x&limit=y to paginate through a large set of data because it offers better performance.
Available types for type and exclude_type filters:
Coupons with type=promotion will not populate usable data for the following fields but instead be set to the following default values:
Optional filter param. /api/v2/coupons?id={value}
Optional filter param /api/v2/coupons?code={value}
Optional filter param /api/v2/coupons?name={value}
Optional filter param /api/v2/coupons?min_id={value}
Optional filter param/api/v2/coupons?max_id={value}
Number of pages /api/v2/coupons?page={number}
Count per page /api/v2/coupons?limit={count}
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.