Skip to main content

Sorting

Most properties are sortable, but not all are. Sortable properties are marked in the API documentation.

To add sorting to a sortable endpoint simply add sort to the querystring. The syntax to use is

[{key: 'item_number', direction: 'ASC'}, {key: 'name', direction: 'DESC'}]

This will sort by item_number in ascending direction first, and then name in descending direction next.