Get prices for a country
get_prices_for_countryCountry-specific pricing for a set of products (the checkout applies the destination country's currency and pricing). Returns unit, sale and final prices plus the subtotal.
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": {
"shipping_country": "<shipping_country>",
"items": "<items>"
},
"name": "get_prices_for_country"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Basket lines as product ids with quantities. | |
| locale | No | Storefront locale such as en-GB (default), en-US, de, fr-FR, es-ES, it-IT, nl-NL, pl. Controls product names, slugs and prices. | |
| shipping_country | Yes | ISO 3166-1 alpha-2 country code, e.g. GB, IE, DE, US. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| currency | Yes | ||
| subtotal | Yes | ||
| fallback_used | Yes | No prices for this country: another country's were used. | |
| pricing_country | Yes | ||
| shipping_country | Yes |