curl --request POST \
--url https://backend.codedamn.com/api/public/get-enrolled-products \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"fermionUserId": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"products": [
{
"fermionDigitalProductId": "<string>",
"type": "DownloadableProduct",
"status": "Active",
"name": "<string>",
"slug": "<string>",
"link": "<string>",
"thumbnailUrl": "<string>"
}
]
}
}
}
]
Get details of all enrolled digital products for a given user
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 15 requests in a window of 1m.
curl --request POST \
--url https://backend.codedamn.com/api/public/get-enrolled-products \
--header 'Content-Type: application/json' \
--header 'FERMION-API-KEY: <api-key>' \
--data '{
"data": [
{
"data": {
"fermionUserId": "<string>"
}
}
]
}'
[
{
"output": {
"status": "ok",
"data": {
"products": [
{
"fermionDigitalProductId": "<string>",
"type": "DownloadableProduct",
"status": "Active",
"name": "<string>",
"slug": "<string>",
"link": "<string>",
"thumbnailUrl": "<string>"
}
]
}
}
}
]
API Request Body
The body is of type object
.
API Response Body
The response is of type object[]
.