List all coupons
GET/products/{product_id}/coupons.json
Retrieve the coupon collection associated with your product.
Searching and filtering
You can use filtering to search for a particular coupon or a group of coupons. The available parameters are:
code- You can explicitly search coupon by the code.search- You can search by coupon code or coupon ID.prefix- You can filter by coupon code prefix.
If using search and filtering, then the
is_enrichedparameter is ignored.
Request
Responses
- 200
- 400
- 401
- 402
Provides a collection of coupons associated with the product. All coupons are listed under the coupons key.
Bad request. The request could not be understood by the server due to malformed syntax or arguments.
Unauthorized access error. The request requires authentication but was not provided or the provided authentication does not satisfy the required permissions.
The request is missing the specified argument.