Updates an existing ticket.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Update Ticket

Modifies an existing ticket's status, priority, department assignment, subject, description, and associated contact or merchant information. A comment is required with every update to provide an audit trail for the change. This endpoint is used to progress tickets through their lifecycle — for example, marking a ticket Resolved after an Instant Funding request has been fulfilled.

Endpoint

POST /api/v1/tickets/update

Authentication

Basic HTTP Authentication required.
Encode username:password in Base64 and pass in the Authorization header:

Authorization: Basic {base64(username:password)}

When to use

Use this endpoint when internal workflow changes need to be recorded against a ticket — such as escalating priority, transferring to a different department, or closing a resolved request. ISOs may use it to close tickets that no longer require action, while integration systems can use it to reflect status changes received through other channels.

Request Body

FieldTypeRequiredDescription
ticketIdinteger (int32)YesID of the ticket to update.
statusstring (enum)YesNew ticket status: Resolved, Pending, or InProgress.
commentstringYesReason or note describing the update. Required for all changes.
merchantProfileIdinteger (int32)YesMerchant profile ID associated with the ticket.
subjectstringYesUpdated or unchanged ticket subject.
descriptionstringYesUpdated or unchanged ticket description.
prioritystring (enum)NoUpdated priority: Low, Medium, High, or Critical.
departmentstring (enum)NoUpdated department: CustomerService or Underwriting.
contactInformationobjectNoUpdated contact details.
contactInformation.firstNamestringNoContact first name.
contactInformation.lastNamestringNoContact last name.
contactInformation.phonestringNoContact phone number.
contactInformation.faxstringNoContact fax number.
contactInformation.emailstringNoContact email address.
contactInformation.mobilePhonestringNoContact mobile phone number.
merchantInformationobjectNoUpdated merchant context details.
merchantInformation.dbastringNoMerchant DBA name.
merchantInformation.addressstringNoMerchant street address.
merchantInformation.citystringNoMerchant city.
merchantInformation.statestringNoMerchant state (2-letter code).
merchantInformation.zipstringNoMerchant ZIP code.
merchantInformation.merchantTypestringNoMerchant business type.
merchantInformation.phonestringNoMerchant phone number.
merchantInformation.faxstringNoMerchant fax number.
merchantInformation.webSitestringNoMerchant website URL.
merchantInformation.emailstringNoMerchant email address.
merchantInformation.mobilePhonestringNoMerchant mobile phone number.
{
  "ticketId": 48291,
  "status": "Resolved",
  "comment": "Instant Funding has been enabled for this merchant. All documentation reviewed and approved.",
  "merchantProfileId": 70269,
  "subject": "Instant Funding",
  "description": "Please enable Instant Funding for this merchant. Banking application has been submitted.",
  "priority": "Low",
  "department": "Underwriting"
}

Response

200 OK

FieldTypeDescription
requestIdintegerInternal request tracking ID.
successbooleantrue if the ticket was updated successfully.
errorstringError message if the operation failed.
validationErrorsarrayList of field-level validation issues.
{
  "requestId": 98134,
  "success": true,
  "error": null,
  "validationErrors": []
}

Error Codes

CodeWhen it happens
400Missing required fields (ticketId, status, comment, merchantProfileId, subject, or description), or an invalid enum value for status, priority, or department.
401Invalid or missing Basic Auth credentials.
403User does not have permission for this operation.
404Ticket not found for the given ticketId.
500Internal server error.

Common Mistakes

  • Omitting the comment field — it is required on every update even if no substantive change in reasoning is needed.
  • Attempting to set status to New — the update endpoint only accepts Resolved, Pending, or InProgress; New is a creation-only state.
  • Not sending the current subject and description when only updating status — these fields are required and will overwrite existing values if changed.
  • Using merchantProfileId from a different merchant — the ticket must belong to the specified merchant profile.

Related Endpoints

  • GET /api/v1/tickets/getTicketById — Retrieve current ticket details before updating to avoid overwriting data unintentionally.
  • POST /api/v1/tickets/comment — Add a comment without changing ticket status or metadata.
  • GET /api/v1/tickets/getTickets — List tickets to find those requiring status updates.

Example

curl -X POST https://hq.staging.netevia.dev/api/v1/tickets/update \
  -H "Authorization: Basic $(echo -n 'username:password' | base64)" \
  -H "Content-Type: application/json" \
  -d '{
    "ticketId": 48291,
    "status": "Resolved",
    "comment": "Instant Funding has been enabled for this merchant. All documentation reviewed and approved.",
    "merchantProfileId": 70269,
    "subject": "Instant Funding",
    "description": "Please enable Instant Funding for this merchant. Banking application has been submitted.",
    "priority": "Low",
    "department": "Underwriting"
  }'
Body Params
int32
required
string
enum
required
Allowed:
string
required
int32
required
string
required
string
enum
Allowed:
string
enum
Allowed:
string
required
contactInformation
object
merchantInformation
object
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/json