Skip to main content
GET
/
tickets
/
{id}
/
edit
Editing a ticket
curl --request GET \
  --url https://api.qminder.com/v1/tickets/{id}/edit \
  --header 'Content-Type: application/json' \
  --header 'X-Qminder-REST-API-Key: <api-key>' \
  --data '
{
  "user": 123,
  "line": 123,
  "firstName": "<string>",
  "lastName": "<string>",
  "phoneNumber": 123,
  "email": "<string>",
  "extra": "<string>"
}
'
"{\n  \"statusCode\": 200,\n  \"result\": \"success\"\n}"

Authorizations

X-Qminder-REST-API-Key
string
header
default:yourbusinessapikey
required

Path Parameters

id
string
required

ID of a ticket to edit

Body

user
integer<int32>

Optional. The user who is modifying the ticket.

line
integer<int32>

Optional. Provide this to modify the line of the ticket to a new value. The provided Line has to be in the same Location as the line the Ticket is currently in.

firstName
string

Optional. First name of the visitor.

lastName
string

Optional. Last name of the visitor.

phoneNumber
integer<int32>

Optional. The phone number of the visitor. Country code included. For example: 12125551234

email
string

Optional. The email address of the visitor.

extra
string<json>

Optional. A JSON-formatted array of custom fields. Each array item has to have: title (string) Mandatory. The name of the custom field. value (string) Mandatory. The value of the custom field. url (string) Optional. The URL of the custom field.

Response

200 - application/json

200

statusCode
integer
default:0
Example:

200

result
string
Example:

"success"