Client Course
Update a client course
Update and return a client course for the specified business id and client course id
put/api/business/{businessId}/clientcourse/{clientCourseId}
Path parameters
businessIdstring required
clientCourseIdstring required
Request body
Example request
{
"clientCourseId": "ab123",
"purchaseDate": "2018-01-01",
"expiryDate": "2018-01-01"
}Response
Client course updated successfully
Example response
{
"clientCourseId": "ab123",
"purchaseDate": "2018-01-01",
"expiryDate": "2018-01-01",
"clientId": "ab123",
"purchasingBranchId": "ab123",
"courseId": "ab123",
"courseName": "10 x Massage",
"grossPrice": 100,
"netPrice": 80,
"clientCourseItems": [
{
"clientCourseItemId": "ab123",
"courseItemId": "ab123",
"serviceId": "ab123",
"initialUnits": 10,
"remainingUnits": 5,
"grossPrice": 100,
"netPrice": 80
}
]
}