Searching with the Zendesk API
This is a continuing discussion about the article Searching with the Zendesk API in the developer documentation.
Is it possible to have And operator used in the Search API call for tickets?
I am looking for something like"/api/v2/search.json?query=type:ticket status<=closed tags:check_for_migrated & tags:!GDPR"
There isn't a way to explicitly specify matching logic with operators like AND (&), OR (||), etc. Search will use AND logic for the supplied terms, unless when searching for multiple values of the same property. So for example, given the terms
tags:silver tags:bronze, search will employ OR logic. We break this down in further detail in our search reference.
Please sign in to leave a comment.