---
title: "POST /api/v1/prices/{id}/flag"
method: POST
path: "/api/v1/prices/{id}/flag"
tags: ["moderation"]
---

# POST /api/v1/prices/{id}/flag

`POST /api/v1/prices/{id}/flag`

## Request

- Base URL: `https://prices.openfoodfacts.org` (the document declares no server; this is the origin it was published from)
- URL: `https://prices.openfoodfacts.org/api/v1/prices/{id}/flag`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required

## Request body

- FlagCreate
  - `reason` 'WRONG_TYPE' | 'WRONG_PRICE_VALUE' | 'WRONG_CURRENCY' | 'WRONG_PRODUCT' | 'WRONG_LOCATION' | 'WRONG_DATE' | 'OTHER', required: * `WRONG_TYPE` - Wrong type * `WRONG_PRICE_VALUE` - Wrong price value * `WRONG_CURRENCY` - Wrong currency * `WRONG_PRODUCT` - Wrong product * `WRONG_LOCATION` - Wrong location * `WRONG_DATE` - Wrong date * `OTHER` - Other
  - `comment` string, nullable
  - `content_object` integer, required

## Response `200`

- Flag
  - `id` integer, required
  - `content_type` string, required
  - `object_id` integer, required
  - `reason` 'WRONG_TYPE' | 'WRONG_PRICE_VALUE' | 'WRONG_CURRENCY' | 'WRONG_PRODUCT' | 'WRONG_LOCATION' | 'WRONG_DATE' | 'OTHER', required: * `WRONG_TYPE` - Wrong type * `WRONG_PRICE_VALUE` - Wrong price value * `WRONG_CURRENCY` - Wrong currency * `WRONG_PRODUCT` - Wrong product * `WRONG_LOCATION` - Wrong location * `WRONG_DATE` - Wrong date * `OTHER` - Other
  - `comment` string, nullable
  - `status` 'OPEN' | 'CLOSED': * `OPEN` - Open * `CLOSED` - Closed
  - `owner` string, nullable
  - `source` string, nullable
  - `created` string, date-time
  - `updated` string, date-time, required

## Changes

- **2026-07-13** `f1bb01adae9b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/changes/api/v1/prices/:id/flag/post.md)

---

[API](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api.md) - [All operations](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/openfoodfacts/apis/open-food-facts-open-prices-rest-api/revisions/d7c5d8b4c32e?raw)
