- API Token
- Order Processing
API News and Updates
Subscribe to stay alert on the API.
The sorting helpers allow you to control the arrangement of the response data in a prescribed sequence.
Arrange the API responses in the order that you wish to receive it by sending a sort parameter in your requests.
The parameter syntax structure is:
Pro Tip: [asc] is assumed if direction is left off
The [direction] portion is optional and [asc] is assumed as default if omitted from your request.
?sort=field is the same as saying
Sort by name ascending
Get a collection of Attributekeys sorted in alphabetical order by
Note that both these requests return the same result, sorted in the same way, because [asc] is the default behavior.
Sort by name descending
Get a collection of Attributekeys sorted in reverse-alphabetical order by
As with primary collections, if the sort direction is left off, we'll assume you want
You can also explicitly pass a direction by adding a pipe character (|) between the field and the direction.