Fraktpriser for et postnummer
get_shipping_ratesHenter live fraktpriser (NOK, inkl. mva) for hentested og hjemlevering til et norsk postnummer, pluss henting i Hamar uten fraktkostnad. Kall denne før create_checkout når kunden ikke skal hente selv.
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": {
"postcode": "<postcode>",
"items": "<items>"
},
"name": "get_shipping_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| postcode | Yes | Norsk postnummer, 4 siffer |