GraphQL access fields

I have another question @kristian .

I have the following query:

{
  Product: product(limit: 5, sort: {af_createdDate: DESC}, filter: {accountingID: {ne: null}}) {
    ProductNumber: productNumber
    ProductOwner: productOwner_reference {
      ProductOwnerName: name
      Company: company_reference {
        CompanyName: name
        ClientID: client  
      }
    }
  }
}

We want to fetch Product for ClientID eq “XYZ”. However, company_reference does not have a filter-attribute, so it is impossible to filter. How should we do it?

1 Like