# Get a discount by its id **GET /api/rooms/{roomId}/discounts/{id}** ## Servers - http://api.example.com: http://api.example.com () ## Parameters ### Path parameters - **roomId** (string(uuid)) The id of the room - **id** (string(uuid)) The id of the discount ## Responses ### 200 Returns the discount with the given id #### Body: application/json (object) - **id** (string(uuid)) - **roomId** (string(uuid)) - **percentage** (number(double)) - **originalPrice** (number(double)) - **discountedPrice** (number(double)) - **startDate** (string(date-time)) - **endDate** (string(date-time)) - **Additional properties are NOT allowed** () ### 404 If the discount is not found [Powered by Bump.sh](https://bump.sh)