List Emails

Request

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

Path Parameters

/v2/customers/{customerId}/emails

Response

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

{
  "_embedded" : {
    "emails" : [ {
      "id" : 1,
      "value" : "dasilva@football.com",
      "type" : "work",
      "_links" : {
        "self" : {
          "href" : "..."
        }
      }
    }, {
      "id" : 2,
      "value" : "dasilva@football.com",
      "type" : "mobile",
      "_links" : {
        "self" : {
          "href" : "..."
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "..."
    }
  }
}

Response fields

Path Type Description
_embedded.emails Array List of Email objects