Default profile addresses
Multiple addresses can be stored against a profile, but only one can be the default.
Setting an address'sis_default
to true, will change the other addressesis_default
to false.
"data": [
{
"id": 8,
"address_line_1": "234 First Street",
"address_line_2": "Buckaby Lane",
"address_line_3": "County Crt",
"company": "Acme Pants Co",
"latitude": null,
"longitude": null,
"city": "Melbourne",
"postcode": "3002",
"state": "Victoria",
"country": "Australia",
"notes": null,
"external_id": "12341234",
"is_default": true,
"created_at": "2021-01-25 02:10:47",
"updated_at": "2021-02-01 04:16:45"
},
{
"id": 9,
"address_line_1": "123 Backup Lane",
"address_line_2": null,
"address_line_3": null,
"company": "Miasma Inc",
"latitude": null,
"longitude": null,
"city": "Melbourne",
"postcode": "3002",
"state": "Victoria",
"country": "Australia",
"notes": null,
"external_id": null,
"is_default": false,
"created_at": "2021-01-25 02:23:01",
"updated_at": "2021-02-01 04:15:30"
}
]
Profile Address Properties
Attribute | Description |
---|---|
id
| The id of the address |
address_line_1 | Line one of the profile address |
address_line_2 | Line two of the profile address |
address_line_3 | Line three of the profile address |
company | The company residing at the address |
latitude | the latitude of the address |
longitude | the longitude of the address |
city | The city of the address |
postcode | The postcode of the address |
state | The state of the address |
country | The country of the address |
notes | Notes against this address |
external_id | An external id for the associated address |
is_default | Denotes whether this address is the default profile address |
created_at | The UTC date & time the Address record was created in ISO 8601 format. |
updated_at | The UTC date & time the Address record was last updated in ISO 8601 format. |
`