# /mvideo/products

`POST /api/mvideo/products`

Price: 1 credit

Get one M.Video product by id or product URL: name, brand, category, description, final price, struck old price, discount percent, cashback bonus, promo badge, availability and prepayment flags, seller identity with INN and OGRN, marketplace offer counters, rating, review count, images and video, priced and stocked for the requested city.

## How to use it

The price returned is the public tier — a signed-in M.Video customer can be shown a lower one, so treat it as the walk-up price when comparing against other retailers. A null `price` means the id is not in M.Video's price feed for the requested city: the product record is still valid, it simply is not on sale there, and `status` and the bonus and discount fields go null with it. `is_new` is M.Video's new-arrival flag, not the item's condition — refurbished and markdown stock is marked by `used_product_type`. One product id belongs to one seller: `seller` is empty on M.Video's own stock and carries the company name, INN and OGRN on marketplace stock, so the same physical item from another seller lives under a different id. Spec tables and colour or storage variants are not available; for per-store stock and delivery dates call mvideo/products/stores with the same id and city.

## Parameters

- `access-token` (string, required)

## Request body

- `timeout` (integer) — Max scrapping execution timeout (in seconds) (default: 300; min: 20; max: 1500)
- `city` (string) — M.Video city id the request is priced and stocked for. Store availability, pickup and delivery terms are resolved for this city, and the resolved city is echoed back in city_id / city_name. (default: "CityCZ_975"; examples: "CityCZ_975", "CityDE_31146", "CityCZ_36500"; minLength: 1)
- `product` (string, required) — M.Video product id or a product page URL (examples: "30087002", "https://www.mvideo.ru/products/30087002"; minLength: 1)

## Response

### 200 — Successful Response

- `@type` (string) (default: "MvideoProduct")
- `id` (string, required)
- `url` (string, required)
- `name` (string, required)
- `alias` (string, nullable)
- `model_name` (string, nullable)
- `brand` (string, nullable)
- `brand_id` (string, nullable)
- `category_id` (string, nullable)
- `category_name` (string, nullable)
- `description` (string, nullable)
- `price` (number, nullable)
- `old_price` (number, nullable)
- `discount_percent` (integer, nullable)
- `bonus_amount` (integer, nullable)
- `badge` (string, nullable)
- `status` (string, nullable)
- `sold_out` (boolean) (default: false)
- `show_case` (boolean) (default: false)
- `available_only_in_retail_store` (boolean) (default: false)
- `is_prepayment` (boolean) (default: false)
- `is_cannot_be_exchanged` (boolean) (default: false)
- `is_preorder` (boolean) (default: false)
- `is_new` (boolean) (default: false)
- `is_last_chance` (boolean) (default: false)
- `seller_id` (string, nullable)
- `seller` (string, nullable)
- `seller_brand_name` (string, nullable)
- `seller_inn` (string, nullable)
- `seller_ogrn` (string, nullable)
- `seller_address` (string, nullable)
- `seller_phone` (string, nullable)
- `seller_work_schedule` (string, nullable)
- `is_main_offer` (boolean, nullable)
- `other_offer_count` (integer, nullable)
- `main_offer_id` (string, nullable)
- `main_offer_alias` (string, nullable)
- `material_source` (string, nullable)
- `product_type` (string, nullable)
- `used_product_type` (string, nullable)
- `material_cis_number` (string, nullable)
- `weight` (number, nullable)
- `rating` (number, nullable)
- `review_count` (integer) (default: 0)
- `is_mprime_subscription` (boolean) (default: false)
- `sale_legal` (boolean, nullable)
- `sublicense` (boolean, nullable)
- `image` (string, nullable)
- `images` (array) (default: [])
- `images_3d` (array) (default: [])
- `videos` (array) (default: [])
- `city_id` (string, nullable)
- `city_name` (string, nullable)

## Errors

### 422 — Validation Error

The input carries no M.Video product id, or the city id is unknown

What to do: Check the fields against this schema. A URN with the wrong prefix is the most common cause.

- `detail` (array)
  - `loc` (array, required)
  - `msg` (string, required)
  - `type` (string, required)
  - `input` (any)
  - `ctx` (object)

### 408

The request ran past its time limit

What to do: Raise `timeout` in the request body, up to the maximum this endpoint documents. Lowering `count` or turning off the `with_*` flags also helps, because less work finishes sooner.

### 412

No such product id in the M.Video catalogue

What to do: Retrying will not help: either the entity does not exist, or the input points at a different one.

### 429

Too many requests: a rate limit or a usage window is exhausted

What to do: When the response carries an X-Retry-After header, wait that many seconds and retry: the same number is in the body as `detail.retry_after`, and the limit clears once that window passes. The message in the body names the limit that was hit.

### 500

Something broke on our side

What to do: Retrying will not help. If it keeps happening, send us the X-Request-ID from the response headers.

### 529

Rate limit reached, or the endpoint is overloaded

What to do: Wait at least 30 seconds, then retry.

## Response envelope

Success: Array of objects (may be empty if no results)

Error: Error may coexist with partial results if it occurs mid-execution. Check X-Error header and status code.

Every response carries these headers:

- `X-Error` — Error message text (present only on error)
- `X-Request-ID` — Unique request identifier
- `X-Execution-Time` — Execution time in seconds
- `X-Result-Count` — How many records the body carries. 0 means an empty result, which is a normal answer and not by itself an error. A non-zero count can come back together with X-Error when the failure happened partway through — read this header and X-Error independently.
- `X-Total-Available-Results` — How many records exist for this query, when the endpoint can say. On a `dry_run` request this is the answer and the body is empty. It saturates: the endpoint's documented maximum means 'at least that many', any smaller number is exact.
- `X-Warning` — Present when the request body carried keys this endpoint does not document. They were ignored, so any filter you meant to apply through them did not apply. Check the spelling against this schema and retry.
- `X-Retry-After` — Seconds to wait before retrying. Present only on 429.

