Add a user enrollment into any digital product on your website
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/enroll-user-into-digital-product \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "fermionDigitalProductId": "<string>", "userId": "<string>" } } ] } '
[ { "output": { "status": "ok", "data": {} } } ]
API Request Body
Show child attributes
Digital product ID of the product you want to enroll the user in. Digital product IDs are visible inside your fermion dashboard.
Pass the user ID you use internally for this user, same as the ID you used while creating the user.
API Response Body
ok