Course
Get localized course price
Get price of a single course depending on the country of user requesting it
Rate limit: Maximum 60 requests in a window of 1m.
POST
/
public
/
get-course-price
curl --request POST \
--url https://backend.codedamn.com/api/public/get-course-price \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"data": {
"fermionCourseId": "<string>",
"fermionSchoolId": "<string>",
"discountCouponCode": "<string>",
"userCountryHint": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"prices": [
{
"planType": "PartialPaymentPlan",
"realFullPriceOfProductInLowestCurrencyUnitIrrespectiveOfTaxAndExclusiveOfDiscount": 123,
"totalDiscountComponentValueInLowestCurrencyUnit": 123,
"emiIntervalInDays": 90,
"allInstallmentOptions": [
{
"eachInstallmentPaymentAmountInLowestCurrencyUnitExclusiveOfTaxAndDiscount": 123,
"eachInstallmentPaymentAmountInLowestCurrencyUnitInclusiveOfDiscountButExclusiveOfTax": 123,
"installmentCount": 2,
"installmentPaymentScheduleInformation": [
{
"payByDate": "2023-11-07T05:31:56Z"
}
]
}
],
"currencySymbol": "<string>",
"currencyType": "Aud",
"inrGstSpecificData": {
"isAmountExclusiveOfGst": true,
"additionalGstAmountInrPaise": 123
},
"couponData": {
"status": "ok",
"discountCodeUsed": "<string>",
"couponTypeSpecificData": {
"type": "percent-off",
"discountPercentOffApplied": 123
},
"description": "<string>"
}
}
]
}
}
}
]
Body
application/json
API Request Body
The body is of type object
.
Response
200 - application/json
API Response Body
The response is of type object[]
.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-course-price \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"data": {
"fermionCourseId": "<string>",
"fermionSchoolId": "<string>",
"discountCouponCode": "<string>",
"userCountryHint": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"prices": [
{
"planType": "PartialPaymentPlan",
"realFullPriceOfProductInLowestCurrencyUnitIrrespectiveOfTaxAndExclusiveOfDiscount": 123,
"totalDiscountComponentValueInLowestCurrencyUnit": 123,
"emiIntervalInDays": 90,
"allInstallmentOptions": [
{
"eachInstallmentPaymentAmountInLowestCurrencyUnitExclusiveOfTaxAndDiscount": 123,
"eachInstallmentPaymentAmountInLowestCurrencyUnitInclusiveOfDiscountButExclusiveOfTax": 123,
"installmentCount": 2,
"installmentPaymentScheduleInformation": [
{
"payByDate": "2023-11-07T05:31:56Z"
}
]
}
],
"currencySymbol": "<string>",
"currencyType": "Aud",
"inrGstSpecificData": {
"isAmountExclusiveOfGst": true,
"additionalGstAmountInrPaise": 123
},
"couponData": {
"status": "ok",
"discountCodeUsed": "<string>",
"couponTypeSpecificData": {
"type": "percent-off",
"discountPercentOffApplied": 123
},
"description": "<string>"
}
}
]
}
}
}
]
Assistant
Responses are generated using AI and may contain mistakes.