Skip to main content

Contact and its portfolios

Query

{
  contacts(contactId:"17509") {
    id
    name
    portfolios {
      id
      name
    }
  }
}

Result

{
  "data": {
    "contacts": [
      {
        "id": 322139,
        "name": "Aaron Chan",
        "portfolios": [
          {
            "id": 338315,
            "name": "Insurance portfolio"
          },
          {
            "id": 340224,
            "name": "Investment portfolio"
          },
          {
            "id": 351753,
            "name": "Investment portfolio"
          }
        ]
      }
    ]
  }
}