PUT
/v1/addresses/
curl \
--request PUT 'https://localhost/v1/addresses/' \
--header "Content-Type: application/json" \
--data '{"entityId":"stf_xxxxxxxx","addresses":[{"zip":"12345","town":"Springfield","state":"IL","address1":"123 Main St","address2":"Apt 123","countryCode":"US"}]}'
Request example
{
"entityId": "stf_xxxxxxxx",
"addresses": [
{
"zip": "12345",
"town": "Springfield",
"state": "IL",
"address1": "123 Main St",
"address2": "Apt 123",
"countryCode": "US"
}
]
}
Response examples (403)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (404)
{
"statusCode": 42.0,
"messages": [
"string"
],
"exception": {}
}
Response examples (200)
{
"addresses": [
{
"zip": "12345",
"town": "Springfield",
"state": "IL",
"address1": "123 Main St",
"address2": "Apt 123",
"countryCode": "US"
}
]
}