---
title: "Upload Location Photo"
method: POST
path: "/cellars/{cellar_id}/bottles/{bottle_id}/photo"
tags: ["bottles"]
---

# Upload Location Photo

`POST /cellars/{cellar_id}/bottles/{bottle_id}/photo`

## Request

- Base URL: `https://api.emile.wine` (the document declares no server; this is the origin it was published from)
- URL: `https://api.emile.wine/cellars/{cellar_id}/bottles/{bottle_id}/photo`
- Auth: HTTP bearer

Upload a photo of the bottle's physical location in the cellar.
Stores the image in Supabase Storage and updates location_photo_url on the bottle.
Max file size: 10 MB.

## Path parameters

- `cellar_id` string, required
- `bottle_id` string, required

## Headers

- `X-API-Key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/emile/apis/emile-api.md) · [All operations](https://skmtc.dev/emile/apis/emile-api/llms.txt) · [OpenAPI document](https://skmtc.dev/emile/apis/emile-api/revisions/eb2d1d1db972?raw)
