Create Address
Request
POST /v2/customers/100/address HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json
{
"city" : "Dallas",
"state" : "TX",
"postalCode" : "74206",
"country" : "US",
"lines" : [ "123 West Main St", "Suite 123" ]
}
Path Parameters
/v2/customers/{customerId}/address
Request fields
Path | Type | Required | Description |
---|---|---|---|
city |
String |
Y | City |
state |
String |
Y | State |
postalCode |
String |
Y | Postal code |
country |
String |
Y | Country |
lines |
Array |
N | Address lines |
Response
HTTP/1.1 201 Created
Location: https://api.helpscout.net/v2/customers/100/address