Disclaimer: This website requires Please enable JavaScript in your browser settings for the best experience.

Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

Filter Examples

This topic describes two examples of filtering to find specific customers with Optimizely Data Platform's (ODP's) GraphQL API.

You can find specific customers using the GraphQL filter function. Below are some examples.

  1. Find the customer whose first name is Jacob.
query MyQuery {
customers (filter: "first_name = 'Jacob'") {
   edges {
     node {
        first_name
        email
        name
     }
   }
 }
}
  1. Find the customers whose email contains Jacob.
query MyQuery {
customers (filter: "email =~ 'Jacob*'") {
   edges {
     node {
        first_name
        email
        name
     }
   }
 }
}

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy