Filter and Sort

Select endpoints allow sorting results by field. Use field:asc to sort results in ascending order, and field:desc to sort in descending order.

For example, to sort events by start date in ascending order, and then by modification date in descending order:

Copy
1
?sort=start:asc,modified:desc

or

Copy
1
"sort": "start:asc,modified:desc"

Refer to the following tables to check which fields support sorting.

List & Query Events

FieldDescriptionQuery Filter OperatorsSortingFacets
createdCreation dateAllowed
modifiedModification dateAllowed
startStart dateAllowed
endEnd dateAllowed
title$eq,$ne,$lt,$lte,$gt,$gte,$hasSome,$contains,$urlizedAllowed
slugURL slug$eq,$ne,$lt,$lte,$gt,$gte,$hasSome,$contains,$urlizedAllowed
status$eq,$ne,$hasSome,$containsAllowed
eventId$eq,$ne,$hasSome
userId$eq,$ne,$hasSome

List & Query RSVPs

FieldDescriptionQuery Filter OperatorsSortingFacets
createdCreation dateAllowed
modifiedModification dateAllowed
nameGuest nameAllowed
scoreSearch phrase relevanceAllowed
emailGuest emailAllowed
totalGuestsGuest countAllowed
statusGuest response$eq,$ne,$hasSomeAllowedAllowed
rsvpId$eq,$ne,$hasSome
eventId$eq,$ne,$hasSome

List & Query Available Tickets

FieldDescriptionQuery Filter OperatorsSorting
createdCreation dateAllowed
priceAllowed
orderIndexAllowed
ticketDefinitionId$eq,$ne,$hasSome,$in
eventId$eq,$ne,$hasSome,$in
name$eq,$ne,$lt,$lte,$gt,$gte,$hasSome,$in,$contains,$urlizedAllowed

List Tickets

FieldDescriptionSortingFacets
ticketNumberAllowed
orderStatusOrder statusAllowed
priceTicket priceAllowed
orderFullNameBuyer nameAllowed
guestFullNameGuest nameAllowed
scoreSearch phrase relevanceAllowed
freeAllowed
archivedAllowed
checkedInAllowed

List Ticket Definitions

FieldDescriptionSorting
createdCreation dateAllowed
modifiedModification dateAllowed
orderIndexAllowed

Query Ticket Definitions

FieldDescriptionQuery Filter OperatorsSorting
createdCreation dateAllowed
priceAllowed
orderIndexAllowed
ticketDefinitionId$eq,$ne,$hasSome,$in
eventId$eq,$ne,$hasSome,$in
name$eq,$ne,$lt,$lte,$gt,$gte,$hasSome,$in,$contains,$urlizedAllowed

List Orders

FieldDescriptionSortingFacets
createdCreation dateAllowed
nameGuest nameAllowed
scoreSearch phrase relevanceAllowed
orderNumberAllowed
statusOrder statusAllowed
archivedAllowed
fullyCheckedInAllowed

Query Policies

FieldQuery Filter Operators
policyId$eq,$ne,$hasSome,$contains
eventId$eq,$hasSome
Was this helpful?
Yes
No