Compare retailer offers for one product
compare_offersExact multi-retailer offers for one product from WEM's own catalogue, cheapest first, with a 90-day price-history low. Identity is resolved by barcode or catalogue slug — no text matching — so every offer IS the product, and the lookup spends no retailer API quota. Use this FIRST when you have a barcode (EAN/UPC/GTIN) or a wem3.ai/pl/{slug} URL; fall back to search_products when the product is not in the catalogue yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gtin | No | Product barcode: EAN-13, UPC-A, EAN-8 or GTIN-14. Preferred key. | |
| slug | No | WEM canonical product slug, as in wem3.ai/pl/{slug}. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offers | Yes | Ascending by price. Every row IS the product — resolved by barcode, not by title. | |
| source | Yes | ||
| product | Yes | ||
| currency | No | ||
| lowPrice | No | ||
| highPrice | No | ||
| disclosure | Yes | Affiliate disclosure to relay once per answer. Outbound links are tracked at no extra cost to the buyer. | |
| priceHistory | Yes | The 90-day low, for telling a real discount from a repackaged one. |