Preview the admin cancellation of a lesson order
GET/api/admin/lesson-orders/:id/cancellation
Read-only: reports the blockers, warnings, lessons and amounts of the cancellation, or the state of one already started or completed. Options: reason (free text, max 2000), refund_insurance, release_promotion, allow_past (booleans, default false). passed as query parameters.
Request
Responses
- 200
- 400
- 403
- 404
- 500
{status: ok, cancellation: LessonOrderCancellationResult}
Invalid options
Not an admin
Order not found
Server error