Quote shipping to a CEP
quote_shippingQuote shipping for a product option to a Brazilian postal code (CEP), with the same options and prices the store checkout shows: carrier, price in BRL and delivery time in business days. Nothing is reserved or bought.
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": {
"store": "<store>",
"variant_id": "<variant_id>",
"cep": "<cep>"
},
"name": "quote_shipping"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cep | Yes | Brazilian postal code (CEP) of the delivery address, e.g. "29102-010". | |
| store | Yes | Store id ("store" field). | |
| quantity | No | How many units. Defaults to 1. | |
| variant_id | Yes | The variant_id of the chosen option, from get_product. |