انتقل إلى المحتوى الرئيسي

Update a ticket

PATCH 

/v1/agents/:agentId/tickets/:ticketId

x-scope: "tickets:write"

Changes the fields you send. status must be the value of one of the agent's ticket statuses (422 invalid_request otherwise). A status change is recorded on the contact's timeline when the ticket has a contact, moves last_activity_at, and a closing status (an option with final: true in listTicketFields, such as resolved) sets resolved_at; moving it back to an open status clears it. An edit through the API never assigns the ticket to anyone; assignTicket does.

Request​

Responses​

The ticket as it now is.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.