Create a coupon based on predefined redemption rules.

post/api/v4.0/integrations/coupons/predefined

Request

  • Base URL: https://api.gameball.co
  • URL: https://api.gameball.co/api/v4.0/integrations/coupons/predefined
  • Auth: API key in header apikey and API key in header secretkey

Request body

customerIdstring required
emailstring
mobilestring
ruleIdinteger required

Response

Coupon generated successfully

codestring
startDatestring date-time
expiryDatestring date-time
urlstring
pinstring

Changes

    • info

      the endpoint scheme security apiKey AND secretKey was added to the API

    • info

      the endpoint scheme security apiKey was removed from the API

    • info

      the endpoint scheme security secretKey was removed from the API

    • info

      removed the non-success response with the status