PATCH/desk/api/v2/tickettypes/reorder.json

Reorder ticket types

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 OK
    TicketTypesAPIBody is used when returning multiple ticket types with includes and pagination
  • Code
    400
    Type
    object
    Schema
    Description
    400 Bad Request
    Validator hold the validation errors. Typically you shouldn't create this directly but use the New() function.

Examples

200 OK

TicketTypesAPIBody
{  "included": {    "inboxes": [      {        "autoReplyEnabled": true,        "autoReplyFromUserId": 0,        "autoReplyMessage": "string",        "autoReplySubject": "string",        "createdAt": "2024-07-26T20:26:26.553Z",        "createdBy": {          "delete": true,          "id": 0,          "meta": {},          "type": 0        },        "deletedAt": "2024-07-26T20:26:26.553Z",        "deletedBy": {          "delete": true,