Addresses
Operations for managing addresses
Delete an address by ID
Deletes a single address by its ID, scoped to the authenticated customer.
Returns 404 if the address does not exist or is not visible to the authenticated customer. A 403 is returned only when the caller’s token lacks the required scope; cross-customer access returns 404, not 403.
Path Parameters
ID of the address
Response
Response
Address deleted successfully.
Authentication
Path Parameters
Update an address by ID
Updates a single address by its ID, scoped to the authenticated customer.
Returns 404 if the address does not exist or is not visible to the authenticated customer. A 403 is returned only when the caller’s token lacks the required scope; cross-customer access returns 404, not 403. Returns 400 when the request body fails validation (V2 error shape).
Path Parameters
ID of the address
Body
application/json
Body
UpdateAddressRequest
Type of address
Allowed values:MAILINGBUSINESSPHYSICAL
First line of the street address.
Example:123 Main St
Second line of the street address (suite, unit, etc.).
Example:Apt 4B
City.
Example:Denver
Two-letter US state code.
Example:CO
ZIP code in 5-digit or ZIP+4 format.
Match pattern:^\d{5}(-\d{4})?$
Example:80202
County name.
Example:Denver
Country code (ISO alpha-2).
Example:US
Date the person moved to this address (YYYY-MM-DD).
Example:2020-01-15
Whether this should be the preferred address. When true, any other preferred address for the same person or firm is automatically unset. Omitting or null is treated as false.
Default:false
Example:false
Response
application/json
Response
Address updated successfully.
AddressV2
Address identifier.
Example:550e8400-e29b-41d4-a716-446655440000
Type of address
Allowed values:MAILINGBUSINESSPHYSICAL
First line of the street address.
Example:123 Main St
Second line of the street address (suite, unit, etc.).
Example:Apt 4B
City.
Example:Denver
Two-letter US state code.
>= 2 characters<= 2 characters
Example:CO
ZIP code in 5-digit or ZIP+4 format.
Match pattern:^\d{5}(-\d{4})?$
Example:80202
County name.
Example:Denver
Country code (ISO alpha-2).
>= 2 characters<= 2 characters
Example:US
Date the person moved to this address (YYYY-MM-DD).
Example:2020-01-15
Whether this is the person’s preferred address.
Example:true
RFC3339 UTC timestamp when the address was created.
Example:2024-01-15T10:30:00Z
RFC3339 UTC timestamp when the address was last updated.
Example:2024-01-15T14:45:00Z
Authentication
Path Parameters
Body
Get an address by ID
Returns a single address by its ID, scoped to the authenticated customer.
Returns 404 if the address does not exist or is not visible to the authenticated customer. A 403 is returned only when the caller’s token lacks the required scope; cross-customer access returns 404, not 403.
Path Parameters
ID of the address
Response
application/json
Response
Address retrieved successfully.
AddressV2
Address identifier.
Example:550e8400-e29b-41d4-a716-446655440000
Type of address
Allowed values:MAILINGBUSINESSPHYSICAL
First line of the street address.
Example:123 Main St
Second line of the street address (suite, unit, etc.).
Example:Apt 4B
City.
Example:Denver
Two-letter US state code.
>= 2 characters<= 2 characters
Example:CO
ZIP code in 5-digit or ZIP+4 format.
Match pattern:^\d{5}(-\d{4})?$
Example:80202
County name.
Example:Denver
Country code (ISO alpha-2).
>= 2 characters<= 2 characters
Example:US
Date the person moved to this address (YYYY-MM-DD).
Example:2020-01-15
Whether this is the person’s preferred address.
Example:true
RFC3339 UTC timestamp when the address was created.
Example:2024-01-15T10:30:00Z
RFC3339 UTC timestamp when the address was last updated.
Example:2024-01-15T14:45:00Z
Authentication
Path Parameters
Create an address for a person
Creates a new address and associates it with the specified person under the authenticated customer’s scope.
Returns 404 if the person does not exist or is not visible to the authenticated customer. A 403 is returned only when the caller’s token lacks the required scope; cross-customer access returns 404, not 403. Returns 400 when the request body fails validation (V2 error shape).
Path Parameters
ID of the person
Headers
Client-generated UUID that deduplicates retries: a success is replayed for 24 hours, a person-create server error for 5 minutes.
Body
application/json
Body
CreateAddressRequest
Type of address
Allowed values:MAILINGBUSINESSPHYSICAL
First line of the street address.
Example:123 Main St
Second line of the street address (suite, unit, etc.).
Example:Apt 4B
City.
Example:Denver
Two-letter US state code.
>= 2 characters<= 2 characters
Example:CO
ZIP code in 5-digit or ZIP+4 format.
Match pattern:^\d{5}(-\d{4})?$
Example:80202
County name.
Example:Denver
Country code (ISO alpha-2).
>= 2 characters<= 2 characters
Example:US
Date the person moved to this address (YYYY-MM-DD).
Example:2020-01-15
Whether this should be the person’s preferred address. When the person has no existing addresses, the server sets this to true regardless of the supplied value.
Default:false
Example:false
Response
application/json
Response
An identical member already existed and is returned
AddressV2
Address identifier.
Example:550e8400-e29b-41d4-a716-446655440000
Type of address
Allowed values:MAILINGBUSINESSPHYSICAL
First line of the street address.
Example:123 Main St
Second line of the street address (suite, unit, etc.).
Example:Apt 4B
City.
Example:Denver
Two-letter US state code.
>= 2 characters<= 2 characters
Example:CO
ZIP code in 5-digit or ZIP+4 format.
Match pattern:^\d{5}(-\d{4})?$
Example:80202
County name.
Example:Denver
Country code (ISO alpha-2).
>= 2 characters<= 2 characters
Example:US
Date the person moved to this address (YYYY-MM-DD).
Example:2020-01-15
Whether this is the person’s preferred address.
Example:true
RFC3339 UTC timestamp when the address was created.
Example:2024-01-15T10:30:00Z
RFC3339 UTC timestamp when the address was last updated.
Example:2024-01-15T14:45:00Z