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

Changed on

Create a coupon based on predefined redemption rules.

Request

  • Base URL
    https://api.gameball.co
  • Auth
    API 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 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