quote_shipping_rate
Price a shipment by providing origin, destination, weight, and product. Resolves layered rate tables to return the winning rule with price comparison across products.
Instructions
Price a shipment for a route, weight, and product. Resolves the layered rate table (base per route and weight bracket, product override, destination special) and returns the winning rule with the math, plus the price of the other products for comparison.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin city code, e.g. SBY | |
| product | Yes | Service product, e.g. STANDARD, EXPRESS, ECONOMY | |
| weight_kg | Yes | Chargeable weight in kilograms | |
| destination | Yes | Destination city code, e.g. JKT |