Set Angeo Demo Store shipping details
set_shipping_informationSet the shipping address, contact details and chosen shipping method on a guest cart. The billing address is set to the same address automatically.
USE THIS after the user has given their delivery details and picked a shipping method from get_shipping_methods. Returns the final order totals including shipping, which you should show the user before placing the order. Applies to Angeo Demo Store only.
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": {
"cart_id": "<cart_id>",
"email": "<email>",
"firstname": "<firstname>",
"lastname": "<lastname>",
"street": "<street>",
"city": "<city>",
"postcode": "<postcode>",
"country_id": "<country_id>",
"telephone": "<telephone>",
"carrier_code": "<carrier_code>",
"method_code": "<method_code>"
},
"name": "set_shipping_information"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Destination city or town. | |
| Yes | Customer email for order confirmation. Ask the user for it; never invent one. | ||
| region | No | State/province/region name. Optional for most EU countries. | |
| street | Yes | Street and house number, e.g. "Keizersgracht 123". | |
| cart_id | Yes | Cart ID returned by create_cart. | |
| lastname | Yes | Recipient's family name. Ask the user for it; never invent one. | |
| postcode | Yes | Destination postal code, in the destination country's own format. Use the same value that was quoted through get_shipping_methods. | |
| firstname | Yes | Recipient's given name, as it should appear on the delivery label. Ask the user for it; never invent one. | |
| telephone | Yes | Contact phone number. Ask the user for it; never invent one. | |
| country_id | Yes | ISO 3166-1 alpha-2 country code, e.g. "NL". | |
| method_code | Yes | method_code of the method chosen from get_shipping_methods. | |
| carrier_code | Yes | carrier_code of the method chosen from get_shipping_methods. |