PATCH/desk/api/v2/tickets/{id}.json

Update ticket

Path Params

  • Name
    id
    Type
    integer
    required
    Description

Body Params

TicketAPIBody is the request/response format for the API

    • Name
      delayed
      Type
      boolean
    • 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
      thread
      Type
      object
      Description
      A Thread attributes
    • Name
      ticket
      Type
      object
      Description
      Ticket represents a Ticket.

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      TicketAPIBody is the request/response format for the API
    • 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

    TicketAPIBody
    {  "delayed": true,  "included": {    "addresses": [      {        "city": "string",        "country": "string",        "firstLine": "string",        "id": 0,        "postalCode": "string",        "secondLine": "string",        "state": "string"      }    ],    "agentsnotified": [      {        "autoFollowOnCC": true,        "avatarURL": "string",