Coupons
Create and manage coupons shoppers can redeem.
Fields
idstringUnique identifier of the resource.namestringstatusenumdraft · active · scheduled · inactivetypeenumpercentage · fixedAmount · freeShipping · buyXGetYdescriptionstringtargetenumorder · item · shippingamountnumberallocationenumonce · eachSee all 24 fields
maxQuantityintegerapplyAfterTaxesbooleanisAutomaticbooleanvalidFromstringvalidTostringusageLimitintegerusageCountintegercustomerUsageLimitintegercombineWithOtherDiscountsbooleanbuyXGetYobjectrulesarray<object>codesarray<object>createdOnstringTimestamp when the resource was created, in ISO 8601.updatedOnstringTimestamp when the resource was last modified, in ISO 8601.storeIdstringsellerIdstringOperations
| Method | Endpoint | Operation |
|---|---|---|
POST | / | Create coupon |
GET | / | List coupons |
GET | / | Get coupon |
PUT | / | Update coupon |
POST | / | Create coupon code |
POST | / | Create coupon codes in a batch |
POST | / | Import coupon codes |
Last updated: