Get Course Details
Returns the full summary for a specific course, including description, lesson count, and enrolment status. Used on the course detail page before the member chooses to enrol.
Authentication
No authentication required for public course details. Enrolment status fields are populated only for authenticated customers.
Path Parameters
Numeric identifier of the course. Returned as Id in the records from GET /api/public/courses/v2.
Query Parameters
Comma-separated list of field paths to include in the response. When provided, only the
specified fields are returned — useful for reducing payload size. Supports nested paths
using dot notation.
Response
Returns a CourseSummary object. The course metadata is nested inside a Course property.
Whether the authenticated customer is enrolled in this course.
Whether the authenticated customer has completed this course.
Completion percentage (0–100).
Total number of lessons in the course.
The course metadata object.
Unique identifier for the course.
Display title of the course.
Full course description. May contain HTML.
Short summary text for the course.
Array of lesson summaries for the course.
The host/instructor of the course.
Pricing information for the course, if applicable.
Examples
Fetch course summary
GET /api/public/courses/v2/42/summary
TypeScript Integration
import endpoints from '@/api/endpoints'
const { resource: course } = useTypedData(httpClient, endpoints.courses.details(42))