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

Update displayOrder of ticketsources.

Body Params

    • Name
      included
      Type
      object
      Description
      Included allows adding referenced objects on the API response. The included keys should map to the `types` in the Relationship slices/objects.
    • Name
      meta
      Type
      object
    • Name
      pagination
      Type
      object
      Description
      Pagination handles response pagination
    • Name
      ticketsources
      Type
      array
      Description
      TicketSource represents a TicketSource.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
    • 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

    TicketSourcesAPIBody
    {  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",        "createdAt": "2024-04-16T16:34:31.508Z",