Premium
Gets discount code details.
Changed onget/api/discount/{code}
Request
- Base URLhttps://sky.coflnet.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
code, string required
Query parameters
isSubscription, boolean
provider, string
Response
OK
Validated Discount required
code, string nullable
id, string nullable
amount, number double required
periodAmounts, object nullable
amountType, string nullable
name, string nullable
isValid, boolean required
isLimitedToProducts, boolean required
isSubscriptionOnly, boolean required
duration, string nullable
durationInMonths, integer required
Changes
- info
added the new optional
queryrequest parameterisSubscription - info
added the new optional
queryrequest parameterprovider - info
added the optional property
periodAmountsto the response with the status (media type: text/plain)
2 more changes in this revision
- info