Coupons
Creates a coupon.
post/coupons/coupon
Request body
Example request
{
"name": "summer26",
"discountPercentage": 1,
"active": true,
"maxRedemptionsPerCustomer": 2,
"expiredBy": "2025-04-02T06:54:51.670Z",
"startsAt": "2025-02-02T06:54:51.670Z",
"supportedOfferExternalIds": [
"bundle1",
"rollingoffer3"
]
}Response
Coupon created successfully.
Example response
{
"name": "summer26",
"active": true,
"discountPercentage": 1,
"maxRedemptionsPerCustomer": 2,
"expiredBy": "2025-04-02T06:54:51.670Z",
"startsAt": "2025-02-02T06:54:51.670Z",
"supportedOfferExternalIds": [
"bundle1",
"rollingoffer3"
],
"allowedPlayers": [
"player123",
"player456",
"player789"
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.