API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Course Vouchers

All operations for Course Vouchers.

Data model

The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:

Entity Schema ID Fields Sequence Permissions
Course Voucher course_voucher 13 — course_voucher_*

Endpoints

Method Path Operation Description
POST /v1/course_vouchers Create course_voucher Create a new course_voucher in the active tenant.
DELETE /v1/course_vouchers/{id} Delete course_voucher Soft delete entity.
GET /v1/course_vouchers/{id} Get course_voucher by id Fetch a single course_voucher.
GET /v1/course_vouchers/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/course_vouchers/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/course_vouchers/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/course_vouchers List course_vouchers List course_vouchers for the active tenant.
PATCH /v1/course_vouchers/{id} Patch course_voucher JSON Merge Patch update.
POST /v1/course_vouchers/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/course_vouchers/{id}/transition POST /v1/course_vouchers/{id}/transition CodeMeta OS API endpoint.
POST /v1/course_vouchers/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/course_vouchers/{id} Replace course_voucher Full replace with optimistic locking.

Search