---
title: "Preview Menu"
method: POST
path: "/api/v1/admin/order-analytics/menus/preview"
tags: ["Admin: Аналитика заказов"]
---

# Preview Menu

`POST /api/v1/admin/order-analytics/menus/preview`

## Request

- Base URL: `https://api.food24.kz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.food24.kz/api/v1/admin/order-analytics/menus/preview`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/v1/auth/login`
- TypeScript: <https://skmtc.dev/food24/apis/goodfood/docs/api/v1/admin/order-analytics/menus/preview/post.ts> (a function with typed inputs; its response is checked against the schema)

Разобрать текст меню и показать, какие блюда нашлись в каталоге. Ничего не сохраняет.

## Request body

- SupplierMenuText: Текст меню поставщика как прислали (WhatsApp), для разбора.
  - `brand_id` integer, required
  - `text` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-29** `ae67aba5664e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/food24/apis/goodfood/changes/api/v1/admin/order-analytics/menus/preview/post.md)

---

[API](https://skmtc.dev/food24/apis/goodfood.md) - [All operations](https://skmtc.dev/food24/apis/goodfood/llms.txt) - [OpenAPI document](https://skmtc.dev/food24/apis/goodfood/revisions/f75c731597d3?raw)
