Discounts
Create and manage discount rules.
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 discount |
GET | / | List discounts |
GET | / | Get discount |
PUT | / | Update discount |
Last updated: