Get Address

Request

GET /v2/customers/100/address HTTP/1.1
Authorization: Bearer oauth_token

Path Parameters

/v2/customers/{customerId}/address

Response

HTTP/1.1 200 OK
Content-Type: application/hal+json

{
  "city" : "Dallas",
  "lines" : [ "123 West Main St", "Suite 123" ],
  "state" : "TX",
  "postalCode" : "74206",
  "country" : "US",
  "_links" : {
    "self" : {
      "href" : "..."
    }
  }
}

Response fields

Path Type Description
city String City
state String State
postalCode String Postal code
country String Country
lines Array Address lines