Compare prices
compare_pricesReturns the shops selling one product, one offer per shop (its best, with a count of its other offers), cheapest first by total price including shipping (price alone where a shop's shipping is unknown), with each amount also converted to the market's currency. Offers that are in stock come first. Out-of-stock offers are left out unless include_out_of_stock is true, and only shops that ship to the market are listed unless include_other_markets is true. The result includes the url of the product's Plendio page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | Market the shopper is in: dk, se, de or no. Default: the market of the site you connected to. | |
| product_id | Yes | Plendio product id (the id field of a search result, or the number at the end of a Plendio product URL). | |
| include_out_of_stock | No | Also list offers that are out of stock or discontinued. Default false: only offers a shopper can order now. | |
| include_other_markets | No | Also list shops not known to ship to the market. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | The product's page on Plendio, listing all its offers. | |
| notes | No | ||
| title | Yes | ||
| market | Yes | ||
| offers | Yes | Cheapest first, by total price including shipping (price alone where shipping is unknown). | |
| currency | Yes | Currency of the market. | |
| price_history | No | ||
| offers_omitted | Yes | Offers left out because their shop does not ship to the market. | |
| out_of_stock_omitted | Yes | Offers left out because they are out of stock or discontinued (set include_out_of_stock to list them). |