courses

List course enrollments

Changed on

Admins and coordinators. Enrollments recorded from Stripe course checkouts, newest first. Filter by course, payment status, or a search on email, name and tax code. Purchase totals by currency include all matching enrollments before pagination.

get/api/course-enrollments

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/course-enrollments
  • Auth: HTTP bearer

Query parameters

course_idstring uuid nullable

Restrict to one course

payment_statusstring nullable

PaymentStatus value: pending, processing, succeeded, failed, refunded

searchstring nullable

Email, name or tax code

from_datestring date nullable

First purchase/spend day, Europe/Rome

to_datestring date nullable

Last purchase/spend day, inclusive

pageinteger
page_sizeinteger

Response

Successful Response

totalinteger required
pageinteger required
page_sizeinteger required
total_pagesinteger required

Changes

    • info

      added the new optional query request parameter from_date

    • info

      added the new optional query request parameter to_date

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status