List Phones

Request

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

Path Parameters

/v2/customers/{customerId}/phones

Response

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

{
  "_embedded" : {
    "phones" : [ {
      "id" : 1,
      "value" : "222-333-4444",
      "type" : "work",
      "_links" : {
        "self" : {
          "href" : "..."
        }
      }
    }, {
      "id" : 2,
      "value" : "333-4444-5555",
      "type" : "mobile",
      "_links" : {
        "self" : {
          "href" : "..."
        }
      }
    } ]
  },
  "_links" : {
    "self" : {
      "href" : "..."
    }
  }
}

Response fields

Path Type Description
_embedded.phones Array List of Phone objects