Update Address

Request

PUT /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 204 No Content