fs-payment-controller

createCouponCode

post/core/api/v1/fsPayment/coupon/create

Request

  • Base URL: https://api.freshlearn.com
  • URL: https://api.freshlearn.com/core/api/v1/fsPayment/coupon/create
  • Auth: none declared

Headers

Authorizationstring
domainstring
api-keystring

Request body

activeboolean
couponCodestring
currencystring
descriptionstring
discountAmountnumber
discountPercentageinteger
duration'once' | 'repeating' | 'forever'
durationInMonthsinteger
hasPlanSpecificDiscountsboolean
idinteger
namestring
planTypesstring[]

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.