Dokumentace FoodRetailor Help

Kontrola zařazení produktů

CRUD operace čištění dat generalizovaného produktu pro administrátora.

API specifikace

Endpoint for listing possibly wrong assigned general products.

/admin/cleaning/product/anomaly

Returns a list of possibly wrong assigned general products.

Request parameters

Responses

{ "items": [ { "id": "123", "similarity": 79, "name": "Horstovy nože", "description": "Sada nožů které dokáží krájet ocel i jiné nože.", "generalId": "__label__otvirak_na_konzervy", "imageUrl": "https://example.com/horstovy-noze.jpg" } ] }

Endpoint for getting count of possibly wrong assigned general products.

/admin/cleaning/product/anomaly/count

Counts of possibly wrong assigned general products.

Request parameters

Responses

{ "count": 123 }

Change the general product of the product identified by the given product ID to the general product specified by the user.

/admin/cleaning/product/{id}/anomaly/general-product/{id}

Change general product in product.

Request parameters

Responses

Change state of product to reviewed.

/admin/cleaning/product/{id}/anomaly/reviewed

Change state of product to reviewed by given id.

Request parameters

Responses

Deprecated endpoint for listing the nearest general products to given general product.

/admin/cleaning/product/{name}/anomaly/nearest-general-products

This route is DEPRECATED. It is not currently used but may be utilized in the future. Returns list of general products.

Request parameters

Responses

{ "items": [ { "id": "__label__hokejka", "similarity": 99, "name": "Hokejka" } ] }
22 July 2025