Type
|
Create
|
List
|
Support Tickets
|
URL
|
http://{domain}/api/v2/supporttickets/create.json
|
Accepts Filters
|
No
|
Output Attributes
|
No
|
Create Support Tickets
These parameters are used for creating Support Tickets. Using this API one can create Lead Commerce Support Tickets. The specific data points include name, order, customer, status, etc. The name is the Support Tickets name, the order is the associated order id (if its tied to an order), customer is the associated customer id, and status is the Support Tickets status.
Parameter
|
Type
|
Required
|
Notes
|
Example
|
name
|
string
|
Yes
|
Support Tickets name
|
|
order
|
int
|
No
|
|
1000
|
customer
|
int
|
Yes
|
|
2001
|
status
|
int
|
No
|
Support Tickets status
|
2
|
attributes
|
array
|
No
|
See attribute documentation.
|
array(1,2)
|
Support Ticket Status
1
|
Open
|
2
|
Pending
|
3
|
Solved
|
Response
Example JSON returned
{
"code": "200",
"data": [
{
"id": "2",
"title": "Message 302",
"tag": "J41NXU8NNXWPBRGKM1XQANJXG"
}
]
}