---
updatedAt: 2025-06-11T21:42:30.000Z
agentTools:
  projectIndex: https://developers.fireberry.com/llms.txt
---

# Update a Ticket

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "fireberry-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.fireberry.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "tokenid"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/record/cases/{id}": {
      "put": {
        "summary": "Update a Ticket",
        "description": "",
        "operationId": "update-a-ticket",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Use a ticket's GUID.",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "title"
                ],
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "Ticket title (Primary)"
                  },
                  "accountid": {
                    "type": "string",
                    "description": "The related account's GUID."
                  },
                  "accountproductid": {
                    "type": "string",
                    "description": "The related asset's GUID."
                  },
                  "assignedtoid": {
                    "type": "string",
                    "description": "The GUID of the system user the task is assigned to."
                  },
                  "casesourcecode": {
                    "type": "integer",
                    "description": "Ticket source (Picklist)",
                    "format": "int32"
                  },
                  "casetypecode": {
                    "type": "integer",
                    "description": "Ticket type (Picklist)",
                    "format": "int32"
                  },
                  "contactid": {
                    "type": "string",
                    "description": "The related contact's GUID."
                  },
                  "description": {
                    "type": "string",
                    "description": "Description of up to 4,000 characters."
                  },
                  "ownerid": {
                    "type": "string",
                    "description": "The GUID of the system user who created the record, can also be set manually. Will be used for permissions."
                  },
                  "prioritycode": {
                    "type": "integer",
                    "description": "Priority (PIcklist)",
                    "format": "int32"
                  },
                  "statecode": {
                    "type": "integer",
                    "description": "Ticket state, such as open or closed (Picklist).",
                    "format": "int32"
                  },
                  "statuscode": {
                    "type": "integer",
                    "description": "Status (Picklist)",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"success\": true,\n    \"data\": {\n        \"Record\": {Data about the created case including all its fields and values}},\n    \"message\": \"\"\n}"
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"Message\": \"'FIELD NAME' must be a valid DateTime\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "Could not create record. Check your data"
                        }
                      }
                    },
                    {
                      "type": "object",
                      "properties": {
                        "Message": {
                          "type": "string",
                          "example": "'FIELD NAME' must be a valid DateTime"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```