Client Courses Endpoint
How to get a Client Course
Note: Client Course is not the same as Course. A Course is the package to be sold, whereas a Client Course is 1 Course purchased and assigned to a client.
Method: GET > Get paginated list of client courses for a business. Client courses may be filtered by client_id
Endpoint: /third-party-api-server/api/business/{businessId}/clientcourse
Postman URL: https://platform.phorest.com/third-party-api-server/api/business/INSERT BUSINESSID HERE/clientcourse?includeArchived=true
How to update a Client Course
Note: Client Course is not the same as Course. A Course is the package to be sold, whereas a Client Course is 1 Course purchased and assigned to a client.
Method: PUT > Update a Client Course for a business
Endpoint: /third-party-api-server/api/business/{businessId}/clientcourse/{clientCourseId}
Postman URL: https://platform.phorest.com/third-party-api-server/api/business/INSERT BUSINESSID HERE/clientcourse/INSERT CLIENTCOURSEID HERE
Body request
{
"expiryDate": "2022-11-21",
"archived":false,
"clientCourseId": "KsXAtIlJYqUi7MjaqwiIrg"
}
Updated about 2 months ago