• Home
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • App Market Developer Platform
  • Clover GO
  • Ideas & Feedback
  • Semi-Integration
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
Skip to main content
  • Create
    • Ask a question
    • Post an idea
    • App Market Developer Platform
    • Clover GO
    • Ideas & Feedback
    • Semi-Integration
    • Topics
    • Questions
    • Articles
    • Ideas
  • Sign in
  • Home
  • App Market Developer Platform
This question was closed Apr 02 at 09:50 PM by Clover_Community_Bot for the following reason: automated

question

j_mcnally avatar image
j_mcnally asked · Aug 30, 2018 at 09:30 PM

Unable to query customers by phone or email with v3 REST API

When i add a filter for email or phone which should be supported i get no results.



Without the filter it returns what should be a matching customer




This is causing us to create a new user for every order since were not finding a matching user email.
REST APICustomers
screen-shot-2018-08-30-at-42725-pm.png (159.9 KiB)
screen-shot-2018-08-30-at-42741-pm.png (264.8 KiB)
Comment
0
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

zgreathouse avatar image
zgreathouse answered · Aug 31, 2018 at 09:00 PM ACCEPTED ANSWER Locked
Instead of the "==" you want to use "=".

Correct: " filter=emailAddresses=test@test.com..."
Incorrect: " filter=emailAddresses==test@test.com..."

Here are the docs: https://docs.clover.com/build/web-api/#filtering-c...

0 · Share
10 |2000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community

question details

1 Person is following this question.

j_mcnally follows this question
Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers

Related Questions

Where do I find a list of the Country "Codes" for the API 1 Answer

how to update order with customer details in rest api. 1 Answer

API not returning customer information 0 Answers

Create Customer API fails in almost every first attempt 1 Answer

List all customer with phones 1 Answer

Answerhub Logo
  • About
  • ·
  • FAQ
  • ·
  • Privacy
  • ·
  • Copyright © 2010-19 DZone, Inc.