I am using the customer api with query option to search customer by email, something like the following.
however, the result comes back with users with emails like
Is there a way to force exact match?
Technically, those are all the same email address since mail sent to all three of those will arrive at firstname.lastname@example.org via the "+" alias functionality in Gmail.
That is true, they are gmail aliases, but within Shopify they are different customers complete with unique customer IDs.
Is there a way to have the graphql query return only the exact match?
I know that I can loop through what is returned and find the exact match, then perform a subsequent query using that ID, but it would be nice (and more efficient) to do everything in one trip.
Running into this same issue now, where query for email@example.com returns results for
and yet querying email with firstname.lastname@example.org returns a single result.
Some flag or regex format for email matching would be preferred, or advising on how we can do this search especially now that the api is paginated would be appreciated