v4
OpenAPI 3.0.02026-07-31811,0021.1 MBCoupons
Retrieves the promotion rules and details associated with a specific coupon code.
This endpoint returns the promotion information linked to the provided coupon code, including type, value, requirements, and validity period.
How to use
Provide the desired coupon code in the URL. The response will contain the promotion details if available.
- The type field indicates the type of discount (e.g., value, percentage, shipping).
- The requirements field describes the conditions for using the coupon.
- The value field contains the discount value.
- The beginDate and endDate fields indicate the promotion's validity period.
- The isActive and isCumulative fields indicate if the promotion is active and if it can be combined with others.
get/v1/pvt/Coupons/{couponCode}/rules
Path parameters
couponCodestring required
The coupon code to retrieve promotion rules for.
Response
Promotion details associated with the coupon.