Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Update a ticket

PUT/ticket/{id}
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Path parameters
idstringrequired
Request body
application/json
contactEmailstring

Email of the ticket contact person.

customIdstring

Custom ticket id; generated when omitted.

statusNamestring

Name of the ticket status to set.

prioritystring

Ticket priority label.

quotationFormRegionIdinteger

Id of the quotation form region.

additionalFilesobject

Downloadable files to attach, keyed by file name; each value is {url, headers}.

Responses
200

OK. Returns only the id — fetch the full Ticket with the corresponding GET.

idinteger | stringrequired

Id of the updated Ticket.

Show properties
One of:
integer
integer
string
string
401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'https://next.amfg.ai/engine-service/public-api/v1/ticket/string' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "contactEmail": "string",
  "customId": "string",
  "statusName": "string",
  "priority": "string",
  "quotationFormRegionId": 0,
  "additionalFiles": {}
}'
Response
{
  "id": 0
}