# Update **PATCH /v1/courses/{id}** Update Course ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Path parameters - **id** (string) Course id ### Body: application/json (object) Request to update class - **seasonId** (string) Season - **name** (string) Name - **dayOfWeek** (string) Day of week - **startTime** (string) Start time - **durationInMinutes** (integer) Duration in minutes - **price** (integer | null) Price - **description** (string | null) Description - **roomId** (string | null) Room - **staffId** (string | null) Staff - **minAgeMonths** (integer | null) Min age in months - **maxAgeMonths** (integer | null) Max age in months - **capacity** (integer | null) Capacity (set to 0 for unlimited) - **colorId** (string | null) Color - **settings** (object) Settings ## Responses ### 200 successful operation #### Body: application/json (object) - **aggregateId** (string) aggregateId - **entity** (object) Class schema - **settings** (object) Class schema - **stats** (object) Class stats schema ### 403 Not authorized #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 404 Not found #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception [Powered by Bump.sh](https://bump.sh)