Update a Participant Address
/public/v1/participant-addresses/{participantAddress}Fields left out of the request keep their current values, with two exceptions. Changing
address_1 clears address_3, which the API does not take. Changing the street, suburb,
state or postcode without sending lat and lng clears the coordinates, which are then
looked up again from the new address. lat and lng are sent together. Making an address
primary turns the current primary into an other address, and the only primary address
cannot become another type. Set update_future_supports to also move the participant's
future supports at this address to the updated one, which changes the state their public
holidays are matched on.
participantAddressstringrequiredThe participant address UUID
Body
application/jsonaddress_1stringmax length 255stateenum<string>Available options:ACTNSWNTQLDSATASVICWApostcodenumberaddress_2string | nullmax length 255suburbstringmax length 255latnumber | nulllngnumber | nulltraditional_place_namestring | nullmax length 255detailsstring | nullmax length 255typeenum<string>Available options:otherpostalprimarylabelstring | nullmax length 255update_future_supportsboolean
Response
200application/jsonParticipantAddressResource
dataobjectrequired▶Show 15 child attributesHide child attributes
idstringrequiredExample:a1d2d3r4-e5s6-47s8-9a0b-1c2d3e4f5a6btypeenum<string> | nullrequiredA replaced primary address is kept as
other, so filter on this rather than assuming one row per type.Available options:otherpostalprimarylabelstring | nullrequiredExample:Previous Primary Addressaddress_1stringrequiredExample:12 Harbour View Driveaddress_2string | nullrequiredExample:Unit 4address_3string | nullrequiredExample:Building Bsuburbstring | nullrequiredExample:Lavender Baystateenum<string>requiredAvailable options:ACTNSWNTQLDSATASVICWApostcodestringrequiredExample:2060countrystringrequiredExample:Australialatstring | nullrequiredExample:-33.8447lngstring | nullrequiredExample:151.2094traditional_place_namestring | nullrequiredExample:Gadigal Countrydetailsstring | nullrequiredExample:Enter via the side gateformattedstringrequiredExample:Gadigal Country, 12 Harbour View Drive, Unit 4, Building B, Lavender Bay, NSW, 2060
401Unauthenticated403Authorization error404Not found422Validation error