The following API can be used to update tickets.
Path
PUT
- https://<subdomain>.neetodesk.com/api/v1/public/tickets/[TICKET_NUMBER]
Headers
X-Api-Key
(required): Contains a NeetoDesk API Key.
Parameters
Name |
Description |
---|---|
Email address of the customer |
|
subject |
Subject for the ticket |
description |
Description for the ticket |
status |
Status for the tickets |
priority |
Priority for the ticket |
resolution_due_date |
Set resolution date for the ticket |
category |
Category for the ticket |
Example
Request
curl --request PUT \
--url 'https://<subdomain>.neetodesk.com/api/v1/public/tickets/104' \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: kWErpLb6Bmn9YY89KaUXfsZnaPtxMr1b3FvBKASyftxWdn66' \
--data '{
"status": "closed"
}'
Response
{
"ticket": {
"id": "d21791e0-6074-435e-ab74-6d50bfd0c0e6",
"number": 104,
"subject": "How to resolve the pending invoices",
"description": "<p>I need your help in resolving the pending Invoices</p>",
"priority": "urgent",
"status": "closed",
"category": null
}
}