POST /api/v4.0/integrations/coupons/predefined
Changed onCreate a coupon based on predefined redemption rules.
Request
- Base URLhttps://api.gameball.co
- AuthAPI key in header apikey and API key in header secretkey
Request body
object required
customerId, string required
email, string
mobile, string
ruleId, integer required
Response
Coupon generated successfully
object required
code, string
startDate, string date-time
expiryDate, string date-time
url, string
pin, string
Changes
- info
the endpoint scheme security
apiKey AND secretKeywas added to the API - info
the endpoint scheme security
apiKeywas removed from the API - info
the endpoint scheme security
secretKeywas removed from the API
- info