Add Address to Address Book
starshipit_add_addressSaves a new contact address to the StarShipIt address book so frequent suppliers, warehouses, or customers can be reused on future orders.
Instructions
Add a new address entry to the StarShipIt address book for reuse in future orders.
When to use: Use this when a contact's details need to be saved for repeated use — e.g. a frequent supplier, warehouse, or customer. Once saved, addresses can be retrieved via starshipit_list_addresses and assigned to orders without re-entering details.
Required fields:
name— full name of the contactstreet— street addresspost_code— postcodecountry— country name (e.g. "Australia") or ISO code (e.g. "AU")
Optional fields:
code— your custom reference code for quick lookupcompany,suburb,city,statephone,emailinstructions— courier delivery instructionsbuilding— building name or apartment numbercarrier— preferred carrier ID (0 = no preference)signature_required— whether delivery requires a signature
Returns: The newly created address object including its assigned id.
Errors:
400 — missing required fields (name, street, post_code, country) or validation failure
409 — address with the same code may already exist
401/403 — authentication failure
Example:
{
"address": {
"code": "MELB-WH",
"name": "Warehouse Manager",
"company": "Acme Logistics",
"street": "55 Bourke St",
"suburb": "Melbourne",
"city": "Melbourne",
"state": "VIC",
"post_code": "3000",
"country": "Australia",
"phone": "0398765432",
"email": "warehouse@acme.com",
"signature_required": false
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The address details to save |
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) |