Skip to main content
PATCH
/
tickets
/
{ticketId}
Editing a ticket
curl --request PATCH \
  --url https://api.qminder.com/tickets/{ticketId} \
  --header 'Content-Type: application/json' \
  --header 'X-Qminder-API-Version: <x-qminder-api-version>' \
  --header 'X-Qminder-REST-API-Key: <api-key>' \
  --data '
{
  "firstName": "John",
  "lastName": "Doe",
  "email": "[email protected]",
  "phoneNumber": "+12125551234",
  "line": "12345",
  "languageCode": "en"
}
'

Authorizations

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

Headers

X-Qminder-API-Version
enum<string>
required

API version. Must be set to 2020-09-01.

Available options:
2020-09-01

Path Parameters

ticketId
string
required

ID of the ticket to update

Body

application/json

Ticket fields to update. All fields are optional - only include fields you want to change.

firstName
string

The visitor's first name. Must be 2-50 characters. Cannot be null or empty if included.

Required string length: 2 - 50
Example:

"John"

lastName
string | null

The visitor's last name. Maximum 50 characters. Set to null to clear.

Maximum string length: 50
Example:

"Doe"

email
string<email> | null

The visitor's email address. Maximum 100 characters. Set to null to clear.

Maximum string length: 100
phoneNumber
string | null

The visitor's phone number. 5-20 digits with optional + prefix. Set to null to clear.

Example:

"+12125551234"

line
string

ID of the line to move the ticket to. Must be a valid line in the same location.

Example:

"12345"

languageCode
string

The visitor's preferred language code (e.g., "en", "es"). Must be 2-5 characters.

Required string length: 2 - 5
Example:

"en"

Response

Ticket updated successfully