Type
|
Info
|
List
|
Support Tickets
|
URL
|
http://{domain}/api/v2/supporttickets/info.json
|
Accepts Filters
|
No
|
Output Attributes
|
Yes
|
Support Tickets Info Data
Gets Support Tickets INFO. Using this API one can retrieve detailed information on the Support Tickets which have been input into Lead Commerce based on Lead Commerce Support Ticket IDs. The specific data points include ID, Display ID, name, status and customer, order and attribute data blocks. The ID is the primary key identifier for Support Tickets in Lead Commerce. The Display ID is the visual identifier whose starting number can be set in System Settings, Default Increment. The name is the Support Tickets name, the status is the status of the Support Tickets and the customer and order data blocks are the associate customer and order (if an order is associated with the Support Ticket).
Filters
Filter the Support Tickets into a list. Attributes are user defined customizable fields which use graphical control elements such as Text Box, Checkbox and Dropdown Menu.
Parameter
|
Type
|
Rules
|
Example
|
id
|
int / array
|
one id or multiple Lead Commerce support ticket ids
|
1 or array(3,8,9,45)
|
Support Ticket Status
1
|
Open
|
2
|
Pending
|
3
|
Solved
|
Response
Example JSON returned
{
"code": "200",
"data": {
"2": [
{
"id": "2",
"display_id": "2",
"name": "Quick Question",
"status": "1",
"customer": [
{
"id": "2",
"display_id": "1001",
"first_name": "Jane",
"last_name": "Doe",
"email": "[email protected]",
"phone": "619-111-2222",
"fax": "619-111-2223"
}
],
"order": "",
"history": {
"created": "1437426196",
"updated": "1437426375"
},
"attributes": [
{
"id": "16",
"name": "GC Code",
"display_name": "GC Code",
"slug": "attr_gc_code",
"value": "AAB"
}
]
}
],
"3": [
{
"id": "3",
"display_id": "3",
"name": "Need Help with Order",
"status": "1",
"customer": [
{
"id": "3",
"display_id": "1002",
"first_name": "Dave",
"last_name": "King",
"email": "[email protected]",
"phone": "858-423-7766",
"fax": "858-423-7767"
}
],
"order": [
{
"id": "3",
"display_id": "4002",
"alternative_id": ""
}
],
"history": {
"created": "1437426786",
"updated": "1437429315"
},
"attributes": ""
}
]
}
}