---
title: "rate bottle"
method: PUT
path: "/cellar/accounts/{accountID}/bottles/{bottleID}/actions/rate"
tags: ["bottle"]
---

# rate bottle

`PUT /cellar/accounts/{accountID}/bottles/{bottleID}/actions/rate`

## Request

- Base URL: `http://localhost:8081`
- URL: `http://localhost:8081/cellar/accounts/{accountID}/bottles/{bottleID}/actions/rate`
- Auth: none declared

## Path parameters

- `accountID` integer, required
- `bottleID` integer, required

## Request body

- RateBottlePayload
  - `rating` integer, required: Rating of bottle between 1 and 5

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `404`: Not Found

## Changes

- **2016-09-06** `8088021c4e6c`: 1 info
  - endpoint added
- **2016-07-29** `8f876193ca58`: 1 breaking
  - api path removed without deprecation
- **2016-07-28** `748422eb22fb`: 1 info
  - added the non-success response with the status `400`
- **2016-07-07** `f95e907821c4`: 1 info
  - api tag `bottle` added
- **2016-06-06** `8d689f844995`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/goadesign/apis/the-virtual-wine-cellar/changes/cellar/accounts/:accountID/bottles/:bottleID/actions/rate/put.md)

---

[API](https://skmtc.dev/goadesign/apis/the-virtual-wine-cellar.md) - [All operations](https://skmtc.dev/goadesign/apis/the-virtual-wine-cellar/llms.txt) - [OpenAPI document](https://skmtc.dev/goadesign/apis/the-virtual-wine-cellar/revisions/348fc24f05fe?raw)
