Check a shop's product feed and preview its offers
check_shop_feedBefore or instead of registering: reads one product feed and answers whether Fordeal can use it. Give the feed's public address in feed_url (read through the SSRF guard: public hosts only, FordealBot, robots.txt respected, 20 s cap) or the file itself in feed_content (XML or CSV text, at most 8 MB) or feed_base64 (a gzip-packed file; ZIP is refused), plus the shop's delivery country and, with a file, its domain. The answer: health ok | warn | fail, counts (items, skipped, with EAN, price, picture, availability, shipping, category), coded issues (no_items, items_skipped, feed_unreadable, price_zero, currency_mismatch, url_not_shop_host, duplicate_item_id, encoding_suspect, price_outlier, missing_ean, availability_unknown, shipping_missing, image_missing, category_missing, stale_feed) with the first affected items by the shop's own id and name, blocking = the error codes to fix first, validation = the required-field check (title, price, URL, EAN) in Czech sentences for Heureka, Zboží, Google and CSV feeds, and preview.shown = the first items as the comparison would show them (goods price, shipping to the country from the feed, total, stock, picture, what each lacks). Nothing is stored and nothing is mailed. A feed that cannot be read answers health fail with read_error {code, message, fix}. Next: register_shop with the same feed. Public; ten checks a minute per caller.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | The shop's host, e.g. www.obchod.cz; required with a file, the feed's host by default. | |
| format | No | The feed format when known; detected from the content otherwise. | |
| country | Yes | The shop's delivery country (ISO code from GET /api/v1/deals/countries): its currency and the shipping the total uses. | |
| feed_url | No | The feed's public address (Heureka, Zboží, Google Merchant, Ceneo, Idealo, Árukereső XML or CSV). Either this or a file. | |
| filename | No | The file's name, echoed back. | |
| feed_base64 | No | The feed file's bytes as base64, for a gzip-packed file (.xml.gz). ZIP is refused. | |
| feed_content | No | The feed file as text (XML or CSV), at most 8 MB. Over MCP the whole request is limited to 2 MB; send bigger files to POST /api/v1/shops/feed-check. | |
| preview_items | No | How many items the preview shows (default 6, at most 24). |