/api/v1/training/services/{training-service-id}
Update a training service.
Permissions
Permission | Description |
---|
training_services.update | Update your own training services |
training_services.update_any | Update training services for any user |
Request Body Parameters
Name | Type | Required | Description |
---|
title | string | No | Title of the training service (max 255) |
description | string | No | Description (max 2000, optional) |
price | int | No | Price of the training service |
discount | float | No | Discount percentage (nullable, default 0) |
All parameters are optional. If omitted, they will not be updated. You can set them to null if desired.
Response
200 OK
<training service resource>
Error Responses