Commerce MCP
Tools reference
Generated from the live tool registry: the same names, schemas and annotations tools/list returns.
About these tools#
tools/listreturns only the tools your scopes allow. See the scope table in Authentication and access.- Every tool is read-only and has the same annotations. Each lists
noauthandoauth2security schemes: no tool needs sign-in. - Successful calls return
structuredContentmatching the tool's output schema, and the same JSON as text incontent. Errors are described in Limits and errors. inventory_quantityappears only for callers withinventory:read, which only API keys can carry.- Examples are real responses from the demo store, captured on 2026-11-05 as an anonymous call to
https://app.aiptimise.com/api/mcp/p/openai. Timestamps and IDs in your responses will differ.
search_productsget_store_infoget_live_price_and_inventoryget_active_promotionsget_loyalty_programget_aiptimise_product_dataget_product_variants
search_products#
Finds products of participating merchants that match a shopper's need. Put the shopper's words (a need, use case, question or product type) in query; it supports "quoted phrases", OR and -exclusions. Price, currency, stock and attribute values are exact filters applied to each variant. Searches every participating store unless store_id is given. Returns a short ranked list with each product's best matching variant, its price and availability as of the last catalog sync, a storefront link, and verbatim excerpts labelled with the field they came from. match is any_term when no product contained every word, so results are a looser match; matched_terms then lists the words each result contains. has_more is true when more products matched than were returned. With ship_to_country, each result says whether the store's synced shipping zones confirm delivery there (confirmed) or do not list it (unconfirmed: the store may still ship there), or that the product is not shipped at all (not_shipped: a gift card, a service, a ticket or a donation, as the store marks it). Use get_live_price_and_inventory to confirm an offer and get_aiptimise_product_data for full detail.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | What the shopper wants, in their words (e.g. 'washable rug for a home with pets')at most 200 characters |
store_id | string (UUID) | no | Optional: search only this store (Aiptimise public store ID) |
min_price | number | no | ≥ 0 |
max_price | number | no | > 0 |
currency | string | no | ISO 4217 currency code; required with min_price or max_pricepattern ^[A-Za-z]{3}$ |
in_stock | boolean | no | true: only variants in stock at the last catalog sync |
brand | string | no | 1–100 characters |
category | string | no | Matches part of the category path1–100 characters |
material | string | no | Matches part of the material1–100 characters |
color | string | no | 1–100 characters |
size | string | no | 1–100 characters |
gender | string | no | one of: male, female, unisex |
condition | string | no | one of: new, refurbished, used |
attributes | map of string | no | Variant options that must match exactly, e.g. {"Size": "8x10"}keys 1–50 characters · values 1–100 characters |
ship_to_country | string | no | Optional: the shopper's delivery country (ISO 3166-1 alpha-2). Reported per result as ships_to_country; it does not remove resultspattern ^[A-Za-z]{2}$ |
limit | integer | no | Results to return (default 5, max 10)≥ 1 · ≤ 10 |
Output fields (25)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | no |
match | stringone of: all_terms, any_term, filters | yes |
ship_to_country | string | no |
result_count | integer | yes |
has_more | boolean | yes |
results | object[] | yes |
results[].rank | integer | yes |
results[].store | object | yes |
results[].store.store_id | string (UUID) | yes |
results[].store.name | string | yes |
results[].product_id | string | yes |
results[].variant_id | string | yes |
results[].title | string | yes |
results[].price | money | yes |
results[].list_price | money | no |
results[].availability | string | yes |
results[].product_url | string | yes |
results[].image_url | string | no |
results[].brand | string | no |
results[].evidence | object[] | yes |
results[].evidence[].field | stringone of: use_case, q_and_a, summary, highlight, description | yes |
results[].evidence[].snippet | string | yes |
results[].matched_terms | string[] | no |
results[].ships_to_country | stringone of: confirmed, unconfirmed, not_shipped | no |
results[].as_of | string (date-time) | yes |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "search_products",
"arguments": {
"query": "waterproof rain jacket for hiking",
"max_price": 200,
"currency": "USD",
"ship_to_country": "US",
"limit": 2
}
}
}{
"match": "all_terms",
"ship_to_country": "US",
"result_count": 1,
"has_more": false,
"results": [
{
"rank": 1,
"store": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"name": "Aiptimise Demo Store"
},
"product_id": "demo-summit-rain-jacket",
"variant_id": "demo-summit-rain-jacket:demo-variant-1-1",
"title": "Summit 3-Layer Rain Jacket - S / Glacier Blue",
"price": {
"amount": "189.00",
"currency": "USD"
},
"availability": "in_stock",
"product_url": "https://demo.aiptimise.com/products/summit-rain-jacket?variant=demo-variant-1-1&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=42335a18-4a84-473a-b318-b1b93b03637c",
"image_url": "https://demo.aiptimise.com/images/summit-rain-jacket.jpg",
"brand": "Aiptimise Demo Store",
"evidence": [
{
"field": "summary",
"snippet": "Summit 3-Layer **Rain** **Jacket** is a **waterproof**, breathable **hiking** shell with taped seams, pit zips and a packable design, rated 20,000 mm **waterproof**"
},
{
"field": "use_case",
"snippet": "Multi-day **hikes** in wet climates — Stays **waterproof** in sustained **rain** while pit zips vent heat on climbs"
}
],
"ships_to_country": "confirmed",
"as_of": "2026-11-05T07:40:39.948Z"
}
]
}get_store_info#
Returns a participating store's seller name, website and description (what the store says it is, in its own words), market (country, currency, language and the countries its synced shipping zones list), return, privacy and terms policy links, return terms (whether returns are accepted, window and what it counts from, who pays return shipping, restocking fee, exchanges, refund processing days, products the window does not cover), shipping zones and rates, policy details (shipping, returns, warranty, payment) and loyalty program, as stated on the store's own pages, and the store's identity as the store publishes it (legal name, about text, founding year, logo, address, contact details and social profiles). store_reviews is the store's review summary across all of its products (count, average out of 5, per-star counts), the figure the store's review app publishes: present it as the store's or brand's reputation, never as any one product's rating (a product's own reviews are in get_aiptimise_product_data). Identify the store by store_id, or by store_domain when the shopper names its website (exact domain only, e.g. "example.com"; a domain that is not a participating store answers not_available). advertised_offers are store-wide offers stated on those pages; get_active_promotions lists every promotion running now, including product-page offers and member prices.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id | string (UUID) | no | Aiptimise public store ID (UUID). Pass this or store_domain |
store_domain | string | no | The store's website domain, e.g. "example.com" or "https://www.example.com". Matched exactly against participating stores' websites. Pass this or store_id3–255 characters |
Output fields (62)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | yes |
name | string | yes |
url | string | yes |
description | string | no |
store_reviews | object | no |
store_reviews.covers | string | yes |
store_reviews.review_count | integer | yes |
store_reviews.average_rating | number | yes |
store_reviews.best_rating | number | yes |
store_reviews.rating_distribution | object | no |
store_reviews.rating_distribution.1 | integer | yes |
store_reviews.rating_distribution.2 | integer | yes |
store_reviews.rating_distribution.3 | integer | yes |
store_reviews.rating_distribution.4 | integer | yes |
store_reviews.rating_distribution.5 | integer | yes |
store_reviews.source | stringone of: judge_me, loox | yes |
market | object | yes |
market.country | string | yes |
market.currency | string | yes |
market.locale | string | yes |
market.ships_to | string[] | yes |
policies | object | yes |
policies.return_policy_url | string | no |
policies.privacy_policy_url | string | no |
policies.terms_of_service_url | string | no |
policies.returns | object | no |
policies.returns.accepted | boolean | no |
policies.returns.window_days | integer | no |
policies.returns.window_starts | stringone of: delivery, purchase | no |
policies.returns.return_shipping | stringone of: free, customer_pays, varies | no |
policies.returns.restocking_fee_percent | number | no |
policies.returns.exchanges_allowed | boolean | no |
policies.returns.refund_processing_days | number | no |
policies.returns.exceptions | object[] | no |
policies.details | object (free-form)[] | yes |
shipping_zones | object[] | yes |
shipping_zones[].name | string | yes |
shipping_zones[].countries | string[] | yes |
shipping_zones[].delivery_days | object | no |
shipping_zones[].delivery_days.min | number | no |
shipping_zones[].delivery_days.max | number | no |
shipping_zones[].rates | object[] | yes |
shipping_zones[].rates[].service | string | yes |
shipping_zones[].rates[].price | money | no |
shipping_zones[].rates[].carrier_calculated | boolean | yes |
shipping_zones[].rates[].min_order | money | no |
advertised_offers | object (free-form)[] | yes |
loyalty_program | object (free-form) | null | yes |
identity | object | no |
identity.legal_name | string | no |
identity.about | string | no |
identity.about_url | string | no |
identity.founded | string | no |
identity.logo | string | no |
identity.address | string | no |
identity.contact | object | no |
identity.contact.email | string | no |
identity.contact.phone | string | no |
identity.contact.hours | string | no |
identity.contact.url | string | no |
identity.social_profiles | string[] | no |
facts_as_of | string (date-time) | no |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_store_info",
"arguments": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad"
}
}
}Response: result.structuredContent
{
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"name": "Aiptimise Demo Store",
"url": "https://demo.aiptimise.com",
"description": "A fictional outdoor-gear store that Aiptimise runs to demonstrate AI shopping assistants. Nothing is for sale.",
"market": {
"country": "US",
"currency": "USD",
"locale": "en-US",
"ships_to": [
"US"
]
},
"policies": {
"return_policy_url": "https://demo.aiptimise.com/policies/refund-policy",
"privacy_policy_url": "https://demo.aiptimise.com/policies/privacy-policy",
"terms_of_service_url": "https://demo.aiptimise.com/policies/terms-of-service",
"returns": {
"accepted": true,
"window_days": 30,
"return_shipping": "free",
"exchanges_allowed": true,
"refund_processing_days": 5
},
"details": [
{
"type": "shipping",
"summary": "Orders arrive in 3 to 5 business days anywhere in the United States.",
"currency": "USD",
"ships_to": [
"US"
],
"source_url": "https://demo.aiptimise.com/policies/shipping-policy",
"rates_source": "store_shipping_settings",
"free_shipping": true,
"last_verified_at": "2026-09-29T00:00:00.000Z",
"shipping_methods": [
"United States: Standard 6.95 USD",
"United States: Free standard free on orders over 75 USD",
"United States: Express 19.95 USD"
],
"ships_internationally": false,
"delivery_time_max_days": 5,
"delivery_time_min_days": 3,
"free_shipping_countries": [
"US"
],
"free_shipping_minimum_order": 75
},
{
"type": "returns",
"summary": "Free returns within 30 days of delivery for unused items in their original condition.",
"source_url": "https://demo.aiptimise.com/policies/refund-policy",
"item_condition": "Unused, in original condition",
"refund_methods": [
"original payment method"
],
"return_shipping": "free",
"last_verified_at": "2026-09-29T00:00:00.000Z",
"returns_accepted": true,
"exchanges_allowed": true,
"return_window_days": 30,
"return_window_starts": "delivery",
"refund_processing_days": 5
}
]
},
"shipping_zones": [
{
"name": "United States",
"countries": [
"US"
],
"delivery_days": {
"min": 3,
"max": 5
},
"rates": [
{
"service": "Standard",
"price": {
"amount": "6.95",
"currency": "USD"
},
"carrier_calculated": false
},
{
"service": "Free standard",
"price": {
"amount": "0.00",
"currency": "USD"
},
"carrier_calculated": false,
"min_order": {
"amount": "75.00",
"currency": "USD"
}
},
{
"service": "Express",
"price": {
"amount": "19.95",
"currency": "USD"
},
"carrier_calculated": false
}
]
}
],
"advertised_offers": [],
"loyalty_program": {
"tiers": [
"Explorer: From your first point. Birthday bonus of 50 points.",
"Summit: From 1,000 points. Free express shipping. Early access to new gear."
],
"status": "VERIFIED",
"earning": [
"Earn 1 point per dollar spent."
],
"rewards": [
"Every 100 points is worth $5 off a future order."
],
"summary": "Earn 1 point per dollar spent. Every 100 points is worth $5 off a future order.",
"source_url": "https://demo.aiptimise.com/pages/trail-rewards",
"how_to_join": "Joining is free.",
"program_name": "Trail Rewards",
"last_verified_at": "2026-09-29T00:00:00.000Z"
},
"identity": {
"about": "Aiptimise Demo Store is a fictional outdoor-gear store that Aiptimise runs to show how AI shopping assistants read a merchant’s catalog. Its jackets, boots, tents, sleeping bags and packs are made up, and nothing here is for sale. Developers and platform reviewers use it to try the Aiptimise Commerce MCP with data that never changes.",
"about_url": "https://demo.aiptimise.com/pages/about"
},
"facts_as_of": "2026-09-29T00:00:00.000Z"
}get_live_price_and_inventory#
Returns the current price, availability and product URL for one catalog item of a participating merchant, with the time the data was checked. availability is pre_order or backorder when the product page says so, with availability_date (an ISO 8601 date) when it ships; min_handling_time and max_handling_time (business days) are present when the page states a longer dispatch time than the store's usual one. A product sold in several variants requires variant_id; without it the call answers variant_required, and get_product_variants lists the variants to choose from. promotions lists the promotions running now that apply to this product (the same entries get_active_promotions gives for it: sales, codes, buy-one-get-one, member prices; empty when none), so a price answer can say what a shopper with a code or membership pays.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id | string (UUID) | yes | Aiptimise public store ID (UUID) |
product_id | string | yes | Product ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters |
variant_id | string | no | Stable variant item ID, as returned by get_product_variants1–255 characters |
Output fields (38)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | yes |
product_id | string | yes |
variant_id | string | yes |
title | string | yes |
price | money | yes |
list_price | money | no |
availability | string | yes |
availability_date | string | no |
min_handling_time | integer | no |
max_handling_time | integer | no |
inventory_quantity | number | no |
product_url | string | yes |
as_of | string (date-time) | yes |
source | stringone of: live, snapshot | yes |
valid_until | string (date-time) | no |
promotions | object[] | no |
promotions[].id | string | yes |
promotions[].title | string | yes |
promotions[].kind | string | no |
promotions[].terms | string | no |
promotions[].code | string | no |
promotions[].discount | object | no |
promotions[].discount.value | number | yes |
promotions[].discount.unit | string | yes |
promotions[].discount.currency | string | no |
promotions[].minimum_purchase | number | no |
promotions[].eligibility | string | no |
promotions[].member_program | string | no |
promotions[].requires_action | boolean | no |
promotions[].is_subscription | boolean | no |
promotions[].applies_to | object[] | no |
promotions[].applies_to[].product_id | string | yes |
promotions[].applies_to[].variant_ids | string[] | no |
promotions[].product_count | integer | no |
promotions[].starts_at | string (date-time) | no |
promotions[].ends_at | string (date-time) | no |
promotions[].url | string | no |
promotions[].last_confirmed_at | string (date-time) | no |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_live_price_and_inventory",
"arguments": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-basecamp-2-tent"
}
}
}{
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-basecamp-2-tent",
"variant_id": "demo-basecamp-2-tent:demo-variant-4-1",
"title": "Basecamp 2-Person Backpacking Tent - Moss",
"price": {
"amount": "349.00",
"currency": "USD"
},
"availability": "in_stock",
"min_handling_time": 10,
"max_handling_time": 10,
"product_url": "https://demo.aiptimise.com/products/basecamp-2-tent?variant=demo-variant-4-1&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=20d86301-665e-4b71-b1d6-f78e86f18f8c",
"as_of": "2026-11-05T07:40:39.959Z",
"source": "snapshot",
"promotions": [
{
"id": "demo-welcome-10",
"title": "10% off your first order for Trail Rewards members",
"kind": "percent_off",
"terms": "Join Trail Rewards (free) and get 10% off your first order.",
"discount": {
"value": 10,
"unit": "percent"
},
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2030-12-31T23:59:59.000Z",
"url": "https://demo.aiptimise.com/pages/offers"
},
{
"id": "demo-free-shipping-75",
"title": "Free shipping on orders over $75",
"kind": "free_shipping",
"terms": "Free standard shipping to the US on orders over $75.",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2030-12-31T23:59:59.000Z",
"url": "https://demo.aiptimise.com/pages/offers"
}
]
}get_active_promotions#
Returns the promotions running now at a participating store, optionally narrowed to one product: sales, discount codes, free shipping, buy-one-get-one, gifts and member prices, as the store states them on its own pages. title and kind name the offer; terms is the store's own wording; discount is {value, unit: percent|amount, currency?}; code is the discount code to enter; requires_action means the shopper must do something (enter the code, sign up, join member_program) to get it; eligibility says who qualifies and where; minimum_purchase is the order minimum; ends_at is set only when the store states an end date. applies_to lists the catalog product IDs it covers (product_count says how many when the list is cut short); no applies_to means the whole store. An empty list means the store advertises no promotion now.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id | string (UUID) | yes | Aiptimise public store ID (UUID) |
product_id | string | no | Optional product ID; omit to list every active store promotion1–255 characters |
variant_id | string | no | Optional stable variant item ID of product_id (requires product_id), as returned by get_product_variants1–255 characters |
Output fields (26)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | yes |
product_id | string | no |
variant_id | string | no |
promotions | object[] | yes |
promotions[].id | string | yes |
promotions[].title | string | yes |
promotions[].kind | string | no |
promotions[].terms | string | no |
promotions[].code | string | no |
promotions[].discount | object | no |
promotions[].discount.value | number | yes |
promotions[].discount.unit | string | yes |
promotions[].discount.currency | string | no |
promotions[].minimum_purchase | number | no |
promotions[].eligibility | string | no |
promotions[].member_program | string | no |
promotions[].requires_action | boolean | no |
promotions[].is_subscription | boolean | no |
promotions[].applies_to | object[] | no |
promotions[].applies_to[].product_id | string | yes |
promotions[].applies_to[].variant_ids | string[] | no |
promotions[].product_count | integer | no |
promotions[].starts_at | string (date-time) | no |
promotions[].ends_at | string (date-time) | no |
promotions[].url | string | no |
promotions[].last_confirmed_at | string (date-time) | no |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_active_promotions",
"arguments": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-summit-rain-jacket"
}
}
}{
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-summit-rain-jacket",
"promotions": [
{
"id": "demo-welcome-10",
"title": "10% off your first order for Trail Rewards members",
"kind": "percent_off",
"terms": "Join Trail Rewards (free) and get 10% off your first order.",
"discount": {
"value": 10,
"unit": "percent"
},
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2030-12-31T23:59:59.000Z",
"url": "https://demo.aiptimise.com/pages/offers"
},
{
"id": "demo-free-shipping-75",
"title": "Free shipping on orders over $75",
"kind": "free_shipping",
"terms": "Free standard shipping to the US on orders over $75.",
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2030-12-31T23:59:59.000Z",
"url": "https://demo.aiptimise.com/pages/offers"
},
{
"id": "demo-rain-jacket-20",
"title": "$20 off the Summit 3-Layer Rain Jacket",
"kind": "amount_off",
"terms": "Save $20 on the Summit rain jacket in every size and color.",
"discount": {
"value": 20,
"unit": "amount",
"currency": "USD"
},
"applies_to": [
{
"product_id": "demo-summit-rain-jacket"
}
],
"starts_at": "2026-01-01T00:00:00.000Z",
"ends_at": "2030-12-31T23:59:59.000Z",
"url": "https://demo.aiptimise.com/pages/offers"
}
]
}get_loyalty_program#
Returns the loyalty program, points and tiers a participating merchant publishes for one product. Fields are merchant-authored and free-form; a product with no loyalty content returns empty values. No shopper account data is involved.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id | string (UUID) | yes | Aiptimise public store ID (UUID) |
product_id | string | yes | Product ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters |
Output fields (5)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | yes |
product_id | string | yes |
program | object (free-form) | null | yes |
points | object (free-form) | null | yes |
programs | object (free-form)[] | yes |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_loyalty_program",
"arguments": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-trekker-45-backpack"
}
}
}{
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-trekker-45-backpack",
"program": {
"name": "Trail Rewards",
"tiers": [
{
"name": "Explorer",
"perks": [
"Birthday bonus of 50 points"
],
"threshold_points": 0
},
{
"name": "Summit",
"perks": [
"Free express shipping",
"Early access to new gear"
],
"threshold_points": 1000
}
],
"terms_url": "https://demo.aiptimise.com/pages/trail-rewards",
"description": "Earn 1 point per dollar spent. Every 100 points is worth $5 off a future order."
},
"points": {
"basis": "1 point per $1 spent",
"program": "Trail Rewards",
"points_earned": 199
},
"programs": []
}get_aiptimise_product_data#
Returns the full Aiptimise view of one product of a participating merchant: the schema.org Product JSON-LD published to AI crawlers (brand, category, material, identifiers, images, offer summary), plus enriched data (answer-engine summary, specifications, highlights, Q&A, use cases, reviews and review summary, promotions, policies, loyalty, optimized copy). specifications are the product facts the merchant states (materials, capacity, waterproof rating, care, warranty…), each {key, name, value}: key is a stable fact key for comparing products, name the store's label; quote them for factual questions rather than inferring from marketing text. media lists the product's videos (direct files with their dimensions and duration, or YouTube/Vimeo pages) and glTF/GLB 3D models, when it has any. The JSON-LD leaves out per-variant nodes: variant_count says how many variants there are, and get_product_variants lists them. store_rating is the store's review average and count across all of its products, for weighing the seller in a comparison: never present it as this product's rating, which is in review_summary and the JSON-LD aggregateRating. Pass include_json_ld false when the enriched data is enough.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id | string (UUID) | yes | Aiptimise public store ID (UUID) |
product_id | string | yes | Product ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters |
include_json_ld | boolean | no | Include the schema.org JSON-LD (default true) |
Output fields (51)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | yes |
product_id | string | yes |
availability | string | no |
availability_date | string | no |
min_handling_time | integer | no |
max_handling_time | integer | no |
json_ld | object (free-form) | no |
enriched_data | object | yes |
enriched_data.answer_engine_summary | string | null | yes |
enriched_data.specifications | object[] | yes |
enriched_data.specifications[].key | string | yes |
enriched_data.specifications[].name | string | yes |
enriched_data.specifications[].value | string | yes |
enriched_data.product_highlights | string[] | no |
enriched_data.q_and_a | object[] | yes |
enriched_data.q_and_a[].q | string | yes |
enriched_data.q_and_a[].a | string | yes |
enriched_data.optimized_title | string | null | yes |
enriched_data.optimized_description | string | null | yes |
enriched_data.use_cases | object[] | yes |
enriched_data.use_cases[].scenario | string | yes |
enriched_data.use_cases[].why | string | no |
enriched_data.reviews | object[] | yes |
enriched_data.reviews[].rating | number | no |
enriched_data.reviews[].best_rating | number | no |
enriched_data.reviews[].title | string | no |
enriched_data.reviews[].body | string | no |
enriched_data.reviews[].date | string | no |
enriched_data.reviews[].pros | string[] | no |
enriched_data.reviews[].cons | string[] | no |
enriched_data.reviews[].verified_purchase | boolean | no |
enriched_data.reviews[].language | string | no |
enriched_data.review_summary | object (free-form) | null | yes |
enriched_data.promotions | object (free-form)[] | yes |
enriched_data.policies | object (free-form)[] | yes |
enriched_data.loyalty | object (free-form) | null | yes |
media | object | no |
media.videos | object[] | yes |
media.videos[].url | string | yes |
media.videos[].host | stringone of: file, youtube, vimeo, other | yes |
media.videos[].width | integer | no |
media.videos[].height | integer | no |
media.videos[].duration_seconds | number | no |
media.models_3d | object[] | yes |
media.models_3d[].url | string | yes |
media.models_3d[].format | stringone of: glb, gltf | yes |
variant_count | integer | yes |
store_rating | object | no |
store_rating.covers | string | yes |
store_rating.average_rating | number | yes |
store_rating.review_count | integer | yes |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_aiptimise_product_data",
"arguments": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-ridge-merino-base-layer"
}
}
}Response: result.structuredContent
{
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-ridge-merino-base-layer",
"availability": "in_stock",
"json_ld": {
"@context": "https://schema.org",
"@type": "ProductGroup",
"@id": "https://demo.aiptimise.com/products/ridge-merino-base-layer#product",
"name": "Ridge Merino Base Layer Top",
"productGroupID": "demo-ridge-merino-base-layer",
"variesBy": [
"https://schema.org/size"
],
"offers": {
"@type": "AggregateOffer",
"priceCurrency": "USD",
"lowPrice": 79,
"highPrice": 79,
"offerCount": 3,
"availability": "https://schema.org/InStock",
"itemCondition": "https://schema.org/NewCondition",
"hasMerchantReturnPolicy": {
"@type": "MerchantReturnPolicy",
"@id": "#return-policy",
"applicableCountry": "US",
"returnPolicyCategory": "https://schema.org/MerchantReturnFiniteReturnWindow",
"merchantReturnDays": 30,
"returnFees": "https://schema.org/FreeReturn",
"merchantReturnLink": "https://demo.aiptimise.com/policies/refund-policy"
},
"shippingDetails": {
"@type": "OfferShippingDetails",
"@id": "#shipping",
"deliveryTime": {
"@type": "ShippingDeliveryTime",
"transitTime": {
"@type": "QuantitativeValue",
"minValue": 3,
"maxValue": 5,
"unitCode": "DAY"
}
}
}
},
"description": "A lightweight 150 gsm merino wool long-sleeve base layer that regulates temperature and resists odor on multi-day trips.",
"disambiguatingDescription": "A 150 gsm merino wool base layer for cool-weather hiking that stays warm when damp and resists odor.",
"additionalProperty": [
{
"@type": "PropertyValue",
"name": "Fabric composition",
"value": "100% merino wool"
},
{
"@type": "PropertyValue",
"name": "Fabric weight",
"value": 150,
"unitCode": "GM",
"unitText": "gsm"
},
{
"@type": "PropertyValue",
"name": "Care instructions",
"value": "Machine wash on wool cycle"
},
{
"@type": "PropertyValue",
"name": "Highlight",
"value": "150 gsm merino wool"
},
{
"@type": "PropertyValue",
"name": "Highlight",
"value": "Flatlock seams"
},
{
"@type": "PropertyValue",
"name": "Highlight",
"value": "Odor resistant"
},
{
"@type": "PropertyValue",
"name": "Highlight",
"value": "Machine washable on wool cycle"
},
{
"@type": "PropertyValue",
"name": "Best for",
"value": "Layering for autumn hikes",
"description": "Merino regulates temperature under a shell or fleece."
},
{
"@type": "PropertyValue",
"name": "Best for",
"value": "Travel with a light bag",
"description": "Can be worn several days without washing."
}
],
"category": "Apparel & Accessories > Clothing > Activewear",
"material": "100% merino wool",
"audience": {
"@type": "PeopleAudience",
"suggestedGender": "female"
},
"image": "https://demo.aiptimise.com/images/ridge-merino-base-layer.jpg",
"brand": {
"@type": "Brand",
"name": "Aiptimise Demo Store"
},
"url": "https://demo.aiptimise.com/products/ridge-merino-base-layer",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 5,
"reviewCount": 1,
"bestRating": 5,
"worstRating": 1
},
"subjectOf": {
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "Is it machine washable?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, on a cold wool cycle; lay flat to dry."
}
}
]
},
"mainEntityOfPage": {
"@type": "ItemPage",
"@id": "https://demo.aiptimise.com/products/ridge-merino-base-layer",
"url": "https://demo.aiptimise.com/products/ridge-merino-base-layer",
"dateModified": "2026-11-05T07:40:39.953Z"
}
},
"enriched_data": {
"answer_engine_summary": "A 150 gsm merino wool base layer for cool-weather hiking that stays warm when damp and resists odor.",
"specifications": [
{
"key": "fabric_composition",
"name": "Fabric composition",
"value": "100% merino wool"
},
{
"key": "fabric_weight",
"name": "Fabric weight",
"value": "150 gsm"
},
{
"key": "care_instructions",
"name": "Care instructions",
"value": "Machine wash on wool cycle"
}
],
"product_highlights": [
"150 gsm merino wool",
"Flatlock seams",
"Odor resistant",
"Machine washable on wool cycle"
],
"q_and_a": [
{
"q": "Is it machine washable?",
"a": "Yes, on a cold wool cycle; lay flat to dry."
}
],
"optimized_title": "Ridge Merino Base Layer Top",
"optimized_description": "A lightweight 150 gsm merino wool long-sleeve base layer that regulates temperature and resists odor on multi-day trips.",
"use_cases": [
{
"scenario": "Layering for autumn hikes",
"why": "Merino regulates temperature under a shell or fleece."
},
{
"scenario": "Travel with a light bag",
"why": "Can be worn several days without washing."
}
],
"reviews": [
{
"rating": 5,
"body": "Soft, not itchy at all, wore it for a whole week-long trek.",
"date": "2026-06-01T00:00:00.000Z"
}
],
"review_summary": {
"review_count": 1,
"average_rating": 5
},
"promotions": [],
"policies": [
{
"type": "shipping",
"summary": "Free standard shipping on US orders over $75; otherwise $6.95. Express $19.95.",
"currency": "USD",
"ships_to": [
"US"
],
"source_url": "https://demo.aiptimise.com/policies/shipping-policy",
"free_shipping": true
},
{
"type": "returns",
"summary": "Free returns within 30 days of delivery for unused items.",
"source_url": "https://demo.aiptimise.com/policies/refund-policy",
"return_window_days": 30
}
],
"loyalty": {
"name": "Trail Rewards",
"tiers": [
{
"name": "Explorer",
"perks": [
"Birthday bonus of 50 points"
],
"threshold_points": 0
},
{
"name": "Summit",
"perks": [
"Free express shipping",
"Early access to new gear"
],
"threshold_points": 1000
}
],
"terms_url": "https://demo.aiptimise.com/pages/trail-rewards",
"description": "Earn 1 point per dollar spent. Every 100 points is worth $5 off a future order."
}
},
"variant_count": 3
}get_product_variants#
Returns per-variant data (options, SKU, GTIN, price, list price, availability, image, and product_url: the page that sells that variant, to link it unmodified) for one product of a participating merchant, as of the last catalog sync, with an aggregate offer summarising every variant's price range. Narrow the list with options (exact option values, e.g. {"Size": "L"}) and available_only; results are paged with limit and offset. variant_count counts every variant, matched_count those passing the filters, and next_offset is set when more remain. A product sold as a single variant returns an empty list; use get_live_price_and_inventory for its offer.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
store_id | string (UUID) | yes | Aiptimise public store ID (UUID) |
product_id | string | yes | Product ID: the stable catalog item ID from a merchant feed, or the Aiptimise public product ID1–255 characters |
options | map of string | no | Option values a variant must have, matched exactly ignoring case, e.g. {"Size": "L", "Color": "Blue"}keys 1–50 characters · values 1–100 characters |
available_only | boolean | no | true: only variants available at the last catalog sync |
limit | integer | no | Variants to return (default 50, max 100)≥ 1 · ≤ 100 |
offset | integer | no | Variants to skip, from next_offset of the previous page (default 0)≥ 0 |
Output fields (24)
| Field | Type | Always present |
|---|---|---|
store_id | string (UUID) | yes |
product_id | string | yes |
variant_count | integer | yes |
matched_count | integer | yes |
next_offset | integer | no |
variants | object[] | yes |
variants[].variant_id | string | yes |
variants[].title | string | yes |
variants[].sku | string | no |
variants[].gtin | string | no |
variants[].options | map of string | yes |
variants[].price | money | yes |
variants[].list_price | money | no |
variants[].available | boolean | no |
variants[].inventory_quantity | number | no |
variants[].is_default | boolean | no |
variants[].image_url | string | no |
variants[].product_url | string | no |
aggregate_offer | object | no |
aggregate_offer.low_price | money | yes |
aggregate_offer.high_price | money | yes |
aggregate_offer.offer_count | integer | yes |
aggregate_offer.availability | string | no |
as_of | string (date-time) | no |
Example
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_product_variants",
"arguments": {
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-summit-rain-jacket",
"options": {
"Size": "M"
}
}
}
}{
"store_id": "edab46c9-76c6-4eb5-92dd-f593ed4bd9ad",
"product_id": "demo-summit-rain-jacket",
"variant_count": 4,
"matched_count": 2,
"variants": [
{
"variant_id": "demo-summit-rain-jacket:demo-variant-1-2",
"title": "M / Glacier Blue",
"sku": "NB-SRJ-M-BLU",
"options": {
"Size": "M",
"Color": "Glacier Blue"
},
"price": {
"amount": "189.00",
"currency": "USD"
},
"available": true,
"is_default": false,
"image_url": "https://demo.aiptimise.com/images/summit-rain-jacket.jpg",
"product_url": "https://demo.aiptimise.com/products/summit-rain-jacket?variant=demo-variant-1-2&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=42335a18-4a84-473a-b318-b1b93b03637c"
},
{
"variant_id": "demo-summit-rain-jacket:demo-variant-1-4",
"title": "M / Basalt Black",
"sku": "NB-SRJ-M-BLK",
"options": {
"Size": "M",
"Color": "Basalt Black"
},
"price": {
"amount": "189.00",
"currency": "USD"
},
"available": true,
"is_default": false,
"image_url": "https://demo.aiptimise.com/images/summit-rain-jacket-basalt-black.jpg",
"product_url": "https://demo.aiptimise.com/products/summit-rain-jacket?variant=demo-variant-1-4&utm_source=chatgpt.com&utm_medium=ai_agent&utm_campaign=aiptimise_mcp&utm_content=42335a18-4a84-473a-b318-b1b93b03637c"
}
],
"aggregate_offer": {
"low_price": {
"amount": "189.00",
"currency": "USD"
},
"high_price": {
"amount": "189.00",
"currency": "USD"
},
"offer_count": 4,
"availability": "in_stock"
},
"as_of": "2026-11-05T07:40:39.948Z"
}