Get user bundle progress. Use this to get their progress and completion data.
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-user-bundle-progress \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "bundleIdentifier": { "type": "digital-product-id", "digitalProductId": "<string>" }, "userIdentifier": { "type": "email", "email": "[email protected]" } } } ] } '
[ { "output": { "status": "ok", "data": { "bundleData": { "title": "<string>", "completionPercentageOutOf100": 123, "enrolledAt": "2023-11-07T05:31:56Z", "items": [ { "expectedCourseCompletionTimeInDays": 123, "completionPercentageOutOf100": 123, "fermionDigitalProductId": "<string>", "type": "FermionCourse" } ] } } } } ]
API Request Body
Show child attributes
digital-product-id
Digital product ID of course bundle
email
User email
API Response Body
ok
Course bundle data
Bundle title
Bundle completion percentage out of 100
List of items included in the bundle
Expected course completion time in days
Course completion percentage out of 100
Fermion digital product ID of the item
Type of the item in bundle
FermionCourse