From the doc - sorting products in a collection, I know that I can use liquid and js to append the URL parameter and refresh the page.
What about the non-refresh approach? Can I send an ajax request to get the products json in a particular sort order?
I'm asking because I want to get the products json in ajax. After that, I will reload the data with Vue instead of refreshing the whole page?
I can only find the output products in the ordinary webpage from https://[mystore].myshopify.com/collections/[collection-name]?sort_by=price-descending
But the format is not in json and there is no option like view=json