create_delivery_address
Create a delivery address (place of business) for this customer — required once before the first order, exactly as the web shop asks right after registration. Minimum: city, zip, house number, a contact surname and a phone for the carrier; street may be empty in villages without street names. Leave the address fields empty to deliver to the registered company address from ARES (city, zip, street and house number are then copied from the account). Input is tidied automatically (phone prefix, zip spacing); only what cannot be fixed is refused. Payment terms of the address follow the customer account; the payment of a particular order is chosen in place_order. Returns delivery_address_id for checkout_preview and place_order.
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": {
"contact_surname": "<contact_surname>",
"phone": "<phone>"
},
"name": "create_delivery_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | PSČ, 5 digits for CZ/SK | |
| city | No | ||
| No | E-mail of the delivery place only when it differs from the account e-mail | ||
| phone | Yes | Phone for the carrier, e.g. "+420 724 230 861" | |
| phone2 | No | Second phone (site manager), optional | |
| street | No | ||
| place_name | No | Name of the shop / production site, defaults to the company name | |
| house_number | No | Číslo popisné, e.g. "1973" or "3294/10" | |
| contact_surname | Yes | Who receives the goods — printed for the carrier | |
| contact_first_name | No | ||
| delivery_method_id | No | Default transport for this address; TOPTRANS courier when omitted | |
| orientation_number | No | Číslo orientační, optional |