Get Ticket by Id
GET
{{ecommercev2_url}}/tickets/{id}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{ecommercev2_url}}/tickets/?query={"popFields":[ "typeId", "requesterId", "vendorId", "buyerId", "quotationId", "invoiceId", "orderId"],}' \
--header 'x-access-token;'
Response Response Example
{
"id": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"deletedAt": "2019-08-24T14:15:22Z",
"title": "string",
"typeId": "string",
"status": "open",
"priority": "low",
"description": "string",
"attachment": {
"url": "string",
"filename": "string",
"size": 0,
"contentType": "string"
},
"quotationId": "string",
"invoiceId": "string",
"orderId": "string",
"requesterId": "string",
"buyerId": "string",
"vendorId": "string",
"comments": [
{
"text": "string",
"attachment": {
"url": "string",
"filename": "string",
"size": 0,
"contentType": "string"
},
"userId": "string",
"user": {
"id": "string",
"firstName": "string",
"lastName": "string",
"email": "string"
},
"createdAt": "2019-08-24T14:15:22Z"
}
],
"ticketType": {},
"requester": {},
"buyer": {},
"vendor": {},
"quotation": {},
"invoice": {},
"order": {}
}
Request
Path Params
id
stringÂ
required
Query Params
query
array[string]
optional
Example:
["{\"popFields\":[ \"typeId\", \"requesterId\", \"vendorId\", \"buyerId\", \"quotationId\", \"invoiceId\", \"orderId\"],}"]
Header Params
x-access-token
stringÂ
optional
Example:
{{admin-token}}
x-client
stringÂ
optional
Example:
{{client}}
accept-language
stringÂ
optional
Example:
{{acceptLanguage}}
Responses
Modified at 2025-06-02 10:14:47