coupon-code-controller

update

put/core/api/v1/coupon-code/{id}

Request

  • Base URL: https://api.freshlearn.com
  • URL: https://api.freshlearn.com/core/api/v1/coupon-code/{id}
  • Auth: none declared

Path parameters

idinteger required

id

Headers

Authorizationstring
domainstring
api-keystring

Request body

bulkCouponCountinteger
bulkCouponPrefixstring
bulkCouponsGeneratedboolean
codestring
collectionIdsinteger[]
communityGroupIdsinteger[]
communityIdsinteger[]
courseIdsinteger[]
descriptionstring
digitalDownloadIdsinteger[]
discountnumber
discountType'PERCENTAGE' | 'FIXED'
expiryDateinteger
idinteger
masterclassIdsinteger[]
mode'SINGLE' | 'BULK'
productBundleIdsinteger[]
status'DRAFT' | 'PUBLISH' | 'CANCELLED' | 'ACTIVE'
usageLimitinteger

Response

OK

Changes

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