Estimate shipping for a shipment from your stock
estimate_shipmentEstimate shipping for a shipment from your stock. Lists the shipping options for these products and destination, cheapest first, with prices estimated from the total product weight. Nothing is saved, and it works while your account is on hold. Needs the shipments:read permission.
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": {
"countryCode": "<countryCode>",
"lines": "<lines>"
},
"name": "estimate_shipment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | Yes | Products from your stock (productId from your stock list) with quantities | |
| postalCode | No | Postal code. Some countries are priced by postal code zone; without it you get a price range | |
| countryCode | Yes | Two-letter country code, for example US |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes |