Skip to main content
All CollectionsSupport
Can I sort my API response using Addons?
Can I sort my API response using Addons?
Jake Spirek avatar
Written by Jake Spirek
Updated over a week ago

What are Addons?

Addons are a unique and easy way to enrich the response from a single API endpoint with additional data from other database tables. Addons were created to make it easy to get the data you need without performing multiple API requests. If you’ve used GraphQL before, Addons are very similar except they offer more control over how data is queried.

Can I sort my query results using data from Addons?

The main query cannot be sorted by an Addon. This is because Addons are actually created after the main query has executed.

However, you could use Update Variable after the query and the sort filter in that function.

Another method is to use Joins to return data from your primary table in the main query.

Learn more about Addons and Joins

More information:

Did this answer your question?