List and update a client's purchased course packages using Phorest's Client Course endpoint
domain: developer.phorest.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Call GET /third-party-api-server/api/business/{businessId}/clientcourse (optionally with ?includeArchived=true) to get a paginated list of client courses for the business, filterable by client_id.
Note that a 'Client Course' is a specific course package purchased by and assigned to one client — distinct from the sellable 'Course' catalog item.
To change a client's course record, call PUT /third-party-api-server/api/business/{businessId}/clientcourse/{clientCourseId} with fields such as expiryDate and archived.
Cross-reference course sales with the CSV Export Job's CLIENT_COURSES_CSV job type if you need bulk/historical course-purchase data instead of live lookups.
Combine with the Client and Purchase APIs if you need to both sell a new course package and then track its balance/expiry over time.
Known gotchas
Don't confuse the sellable 'Course' (catalog definition) with a 'Client Course' (one instance owned by a client) — they use different endpoints and the terminology is easy to mix up.
The update endpoint only supports a small field set (expiryDate, archived) — it cannot change what services or sessions the course grants.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?