• Log in
  • Contact Sales
  • Evaluate

Get in touch  

Blog • Developer

Introducing new Flow querying

Last updated: 24 Jun 2019

This information is specific to the deprecated version one. For more up-to-date details, see our API Reference.

Today we’re introducing a new way to query Flows, allowing you to do much more advanced queries, including cross-flow querying and array checks.

For a long time, we've been asked by a large number of our community if there was a way to do more advanced queries on our Flows. We spent a lot of time looking at what would be needed and how to implement an elegant solution that was backward compatible. There was a good chance that any system we implemented wouldn’t work with our SDKs or could break existing projects. The solution we came up with was to use our existing URL structure but to add more flexibility to it. There are now a number of operators that can be used as part of the column, for example:

# Equals

# Does not equal

# Greater than

# Less than

And of course, you can chain all of these methods into one query.


You can now also do "like” and "not like" queries to make searching on titles, slugs and descriptions much easier.

# Like

# Not Like

As well as this we introduced the "in" clause to allow you to check if your column is in an array of items:

products?category=in('618', '614')

Using IDs isn’t always the nicest way to go about doing things so we wanted to make it easier. To do this we enabled cross-flow querying, meaning columns within a relationship can now be queried. You can now tie together search queries for attributes, custom options and more, all by using the dot separator.


Again everything can be chained into one complex query:

products?title*=Chair&category.slug!=in('sofa', 'chair')&price>=49.99&price<=99.99

While these examples are all using products, they will work on any flow - including custom created flows.

These arguments are now available in version one of the API and we're really excited to see what you guys do with these!

Explore More Blog Posts

24 Oct 2019

November - product updates & deprecations

On Thursday 12th December we will be fixing an issue which results in flow data for orders appearing on the orders transactions.

Read More
Adam Sturrock
in Developer
30 Sep 2019

Onboarding with Moltin

The aim of this post is to give you a view into how onboarding works at Moltin. It is designed around a service based implementation.

Read More
Matt Foyle
in Magento Migration | Developer | eCommerce
11 Sep 2019

eCommerce API 101

In this post we’ll cover what an eCommerce API is, why you should use one and how you should evaluate an eCommerce API.

Read More
Adam Sturrock
in Developer | eCommerce