PostCoupon
| Field | Type | Required | Description |
|---|---|---|---|
code |
string |
yes | Code of the coupon |
name |
string |
Name of the coupon | |
limits |
object |
||
status |
string |
one of: active, redeemed, inactive |
|
couponSet |
object |
||
promotion |
`null | object` |
Example
Section titled “Example”{ "code": "SUMMER2020", "name": "Coupon for Summer 2020", "limits": { "overall": 500, "maxPerCustomer": 1 }, "status": "active", "couponSet": null, "promotion": { "code": "promo", "name": "Promo with Coupon" }}
