People
Create an address for a person
Changed onAdd a new address to an existing person. Street line1 is optional; city, state, and ZIP alone are accepted. Country defaults to US, where a supplied ZIP must be five digits or ZIP+4.
post/v1/people/{person_id}/addresses
Request
- Base URLhttps://api.slant.app
- URLhttps://api.slant.app/v1/people/{person_id}/addresses
- AuthHTTP bearer
Request body
Example request
{
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "New York",
"state": "NY",
"zip": "10001",
"country_code": "US",
"address_type": "home",
"is_primary": true
}Response
address created
Changes
- info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
removed the
invalid_jsonenum value from theresponse property for the response status - info
response property
detaillist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- info