Skip to main content
To update a ticket, send a PATCH request to /tickets/{ticketId} with the required X-Qminder-API-Version header. Only include fields you want to change — omitted fields remain unchanged. Set a field to null to clear its value.
curl
curl -X PATCH https://api.qminder.com/tickets/14848 \
  -H "X-Qminder-REST-API-Key: YOUR_API_KEY" \
  -H "X-Qminder-API-Version: 2020-09-01" \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "John",
    "lastName": "Smith",
    "email": "john.smith@example.com",
    "phoneNumber": "+12125551234"
  }'

Editable Fields

All fields are optional — only include the fields you want to change.
FieldTypeDescription
firstNamestringVisitor’s first name (2-50 characters). Cannot be null or empty.
lastNamestring | nullVisitor’s last name (max 50 characters). Set to null to clear.
emailstring | nullVisitor’s email address (max 100 characters). Set to null to clear.
phoneNumberstring | nullPhone number with optional + prefix (5-20 digits). Set to null to clear.
linestringID of the line to move the ticket to. Must be a valid line in the same location.
languageCodestringVisitor’s preferred language code, e.g. “en”, “es” (2-5 characters).

Error Responses

StatusDescriptionExample
400Validation failed{"statusCode": 400, "message": "First name must not be empty or blank"}
404Ticket or line not found{"message": "Ticket with id 123456 not found"}
409Target line is disabled or archived{"message": "Line with id 789 is disabled"}