Update Address Book Entry
starshipit_update_addressUpdate a saved address book entry by ID to correct contact details, delivery instructions, or shipping preferences. Provide the full replacement address after finding the ID with the address list tool.
Instructions
Update an existing address book entry by its ID.
When to use: Call this when a saved address needs to be corrected or updated — e.g. a contact has moved, changed phone number, or you need to add delivery instructions. Use starshipit_list_addresses first to find the correct id.
Parameters:
id(required) — the address book entry ID to update (retrieve viastarshipit_list_addresses)address(required) — updated address fields; you should provide all fields, not just the changed ones, as the API replaces the entire entry
Required fields inside address:
name,street,post_code,country
Optional fields inside address:
code,company,suburb,city,statephone,email,instructions,buildingcarrier,signature_required
Returns: The updated address object.
Errors:
400 — validation failure on the address fields
404 — no address with the given
idwas found401/403 — authentication failure
Example:
{
"id": 6926658,
"address": {
"name": "Warehouse Manager",
"company": "Acme Logistics",
"street": "55 Bourke St",
"suburb": "Melbourne",
"state": "VIC",
"post_code": "3000",
"country": "Australia",
"phone": "0398765432",
"signature_required": true
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Address book entry ID to update (from starshipit_list_addresses) | |
| address | Yes | Replacement address data |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | Validation or processing errors returned by StarShipIt | |
| object | No | The response payload when StarShipIt returns a non-object value | |
| success | No | StarShipIt success flag (a boolean on most endpoints) |