Compare products
compare_productsCompare 2-10 catalog products side-by-side on their datasheet specs. Slugs come from search_catalog and are case-insensitive and dash-tolerant ("e-STUDIO 331AC", "toshiba-e-studio-331ac" and "e-studio331ac" all resolve to the same product).
Returns one item per product with canonical_name and spec_absence_note (spec fields absent from that product's golden record, AirShelf's verified product record). Branch on each item's commercial_data.actionable before using price or stock; stale observations are withheld from action fields. A slug that does not resolve comes back as not_found with a did_you_mean suggestion. The provenance option adds the source page and source type already stored with each fact.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slugs | Yes | Catalog slugs to compare | |
| provenance | No | Include the stored source page and source type for each fact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| items | Yes |