Estimate the delivered cost of one offer to a destination
estimate_delivered_costDeterministic estimate from the merchant's own data: item price x quantity plus the shipping options the store declares for the destination (flat rate = declared base rate; free shipping with its threshold, whether this quantity reaches it and how much is missing). Lists what is not included (shipping classes, cost formulas, duties, taxes on shipping). Pass variation_id for variable products. Valid within max_age_seconds of the last merchant confirmation; live=true reads the merchant now. The checkout is the only authority.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"p2209_id": "<p2209_id>",
"destination": "<destination>"
},
"name": "estimate_delivered_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| p2209_id | Yes | ||
| quantity | No | ||
| destination | Yes | ISO 3166-1 country, optionally with region: "IT" or "IT:CB". | |
| variation_id | No | ||
| max_age_seconds | No |