createCustomerAddress
createCustomerAddressAdd a new address to an existing customer record, specifying details like street, city, and country. Set as default billing or shipping address if needed.
Instructions
Add a new address to a customer.
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": {
"customerId": "<customerId>",
"line1": "<line1>"
},
"name": "createCustomerAddress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City. | |
| line1 | Yes | Address line 1. | |
| line2 | No | Address line 2. | |
| line3 | No | Address line 3. | |
| state | No | State/province. | |
| country | No | Country name. | |
| zipCode | No | ZIP/postal code. | |
| customerId | Yes | The unique identifier of the customer. | |
| country_code | No | ISO country code (e.g., 'US', 'GB'). | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| is_default_billing | No | Set as default billing address. Default: false. | |
| is_default_shipping | No | Set as default shipping address. Default: false. |