Skip to main content

Edit ticket

Edit ticket by code

HTTP Request

[PUT] /api/v6/tickets

Body Parameters

ParameterTypeRequireDescription
ticket_codestringyesTicket code
ticket_titlestringyesTitle of the support request
ticket_contentstringContent of the support request
cate_idintegeryesSupport category
contact_idintegerSupport contact
account_idintegeryesSupporter
status_idintegeryesTicket status
expected_atstringDesired completion date in (Y-m-d H:i:s) format
emergency_phonenumericPhone number

Example

HTTP Request

PUT api/v6/tickets HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json
{
"ticket_code": "FSWKAY5WQ0",
"ticket_title": "TEST PUBLIC",
"cate_id": 1,
"account_id": 1,
"status_id": 1
}

Status

200 OK

Response

{
"message": "Successfully updated",
"id": 4
}