PATCH
/hyax-api/v1/courses/:idUpdate course
Base URL: https://platform.hyax.com · Replace YOUR_API_KEY with your team API key.
Request body
| Field | Required | Description |
|---|---|---|
title | No | |
description | No | |
slug | No | |
price | No | Number or null |
currency | No | ISO currency code |
pricingType | No | `FREE` | `SINGLE` | `SUBSCRIPTION` | `PAY_WHAT_YOU_WANT` |
Request
curl -X PATCH 'https://platform.hyax.com/hyax-api/v1/courses/clx_example_id' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"title": "Marketing 101",
"pricingType": "SINGLE",
"price": 79
}'Response
{
"success": true,
"data": {
"id": "clx…",
"title": "Marketing 101",
"slug": "marketing-101",
"isActive": true
}
}