Skip to navigation

Set a donor address as the primary address. This will unmark any other address as primary.

Authentication

Authorizationstring

JWT Authorization header using the Bearer scheme. Example: “Authorization: Bearer {token}”

Path parameters

idlongRequired

The ID of the donor (not used, but required for route).

addressIdlongRequired
The ID of the donor address to set as primary.

Response

OK
address1string or nullOptional
Gets or sets the address1.
address2string or nullOptional
Gets or sets the address2.
addressTypeenumOptional
Gets or sets the address type.
addressTypeDisplaystring or nullOptional
Gets or sets the address type display.
citystring or nullOptional
Gets or sets the city name.
countryStringstring or nullOptional
Gets or sets the country string.
donorIdlongOptional
Gets or sets the donor identifier.
idlongOptional
Gets or sets the identifier.
isPrimarybooleanOptional
Gets or sets whether this is the primary address for the donor.
postalstring or nullOptional
Gets or sets the postal or ZIP code.
statestring or nullOptional
Gets or sets the state or province.

Errors

400
Bad Request Error
404
Not Found Error