Change a saved address
update_addressChanges the fields given on one saved address (from list_addresses); the rest stay. If an order or quote was made with it, the change is saved as a new address with a new id (the result's address.id) and the orders and quotes keep the old one. Australian state codes and four-digit postcodes only. Needs a signed-in Printdash account: called without one, the connection asks the customer to sign in on printdash.io.
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": {
"address_id": "<address_id>"
},
"name": "update_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Suburb or town. | |
| type | No | ||
| state | No | NSW, VIC, QLD, SA, WA, TAS, NT or ACT. | |
| mobile | No | ||
| last_name | No | ||
| address_id | Yes | An address id from list_addresses. | |
| first_name | No | ||
| postal_code | No | Four-digit Australian postcode. | |
| company_name | No | ||
| address_line1 | No | Street address. | |
| address_line2 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | Yes | ||
| address | Yes | ||
| outcome | Yes | replaced: an order or quote used the address, so the edit was saved as a new address (address.id is new) and the old one kept for those records (#669). | |
| updated | Yes | ||
| replaced_address_id | No | The old id, when replaced. It no longer works. |