Deskhero Developer Hub
Back to deskhero.com
Categories

Sort order

Applies the manual order of the categories on the public FAQ portal. Send the category ids in the wanted order; lexoranks are computed server-side with minimal writes. Categories left out of the list keep their rank. Returns an acknowledgement; retrieve the categories to read the resulting public_faq_lexo_rank values.

PUT /api/{tenant:minlength(2)}/v{version:apiVersion}/categories/sort_order
Authorisation
Minimum role: ADMIN

Request arguments

Name Type Source
inputDTO_category_sort_orderBody
Request body example

Response

Status
200 (OK)
Type
DTO_acknowledgement
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 401 (Unauthorized), 403 (Forbidden), 404 (NotFound), 429 (TooManyRequests)
Response body example
DTO_category_sort_order
NameTypeReadOnlyDescription
ordered_idsInt32[]Ordered ids
DTO_acknowledgement
NameTypeReadOnlyDescription
messageStringMessage

Generated Aug 22, 2026 09:36