Online courses
What you need in the ERP
Section titled “What you need in the ERP”- Courses module with published courses;
- client portal linked to the site;
- for payments: test processor or free courses
Prompt
Section titled “Prompt”After the base prompt and Client account, plus Design without the AI look.
Build courses on /api/site/v1/account. The public catalog may use entries or course endpoints from OpenAPI.
1. Course list: title, image, price, progress when logged in.2. Course page: curriculum, free preview lessons, enroll button.3. Enroll or checkout through the account; session in httpOnly cookie, not localStorage.4. Lesson: text/HTML from the ERP, attachments, quiz. Video only if present in the API; in trials use text/images.5. Progress: save on an interval, not every second.6. Quiz: submit per API; show result after response.7. Certificates: download from /account/certificates when available.
All authenticated calls go through the site proxy with X-Account-Session. Never put the site key in the browser.Recurring subscriptions stay in Subscriptions and courses.