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 |
---|---|
idINTEGER READ_ONLY | The id of the address |
address_line_1STRING | Line one of the profile address |
address_line_2STRING | Line two of the profile address |
address_line_3STRING | Line three of the profile address |
companySTRING | The company residing at the address |
latitudeREAD_ONLY | the latitude of the address |
longitudeREAD_ONLY | the longitude of the address |
citySTRING | The city of the address |
postcodeSTRING | The postcode of the address |
stateSTRING | The state of the address |
countrySTRING | The country of the address |
notesSTRING | Notes against this address |
external_idSTRING | An external id for the associated address can be null if this does not apply |
is_defaultBOOLEAN | Denotes whether this address is the default profile address |
created_atDATE-TIME READ-ONLY | The UTC date & time the Address record was created in ISO 8601 format. |
updated_atDATE-TIME READ-ONLY | The UTC date & time the Address record was last updated in ISO 8601 format. |
`