updateCustomerAddress
updateCustomerAddressUpdates an existing customer's address by providing new details such as line1, city, state, or country. Specify the customer and address IDs to modify billing or shipping addresses.
Instructions
Update an existing customer address.
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>",
"addressId": "<addressId>"
},
"name": "updateCustomerAddress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Updated city. | |
| line1 | No | Updated address line 1. | |
| line2 | No | Updated address line 2. | |
| line3 | No | Updated address line 3. | |
| state | No | Updated state/province. | |
| country | No | Updated country name. | |
| zipCode | No | Updated ZIP/postal code. | |
| addressId | Yes | The unique identifier of the address to update. | |
| customerId | Yes | The unique identifier of the customer. | |
| country_code | No | Updated ISO country code. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| is_default_billing | No | Set as default billing address. | |
| is_default_shipping | No | Set as default shipping address. |