# Update production **PUT /productions/{id}** ## Servers - http://localhost/api/v1: http://localhost/api/v1 () - https://localhost/api/v1: https://localhost/api/v1 () ## Parameters ### Path parameters - **id** (string) Production ID ### Body: application/json (object) Update data - **date** (string) - **generatorId** (string) - **productionMw** (number) ## Responses ### 200 OK #### Body: application/json (object) - **createdAt** (string) - **date** (string) - **generatorCapacity** (number) - **generatorId** (string) - **id** (string) - **isRenewable** (boolean) - **productionMw** (number) - **typeName** (string) - **updatedAt** (string) ### 400 Bad Request #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) ### 404 Not Found #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) ### 500 Internal Server Error #### Body: application/json (object) - **code** (integer) - **error** (string) - **message** (string) [Powered by Bump.sh](https://bump.sh)