API Version 2
  • API V2 Overview
  • Category
    • Company
      • Customers
        • Orders
          • Pages
            • Page Templates
              • Products
                • Purchase Orders
                  • SKUs
                    • Support Tickets
                      • Tax Regions
                        • Vendors
                          • Warehouses
                            API Documentation

                            supporttickets/info_comments

                            Type Info
                            List Support Tickets
                            URL http://{domain}/api/v2/supporttickets/info_comments.json
                            Accepts Filters No
                            Output Attributes
                            No


                            Info Support Tickets Comments Data

                            Gets Support Tickets Comments INFO. Using this API one can retrieve detailed information on the Support Tickets Comments which have been input into Lead Commerce based on Lead Commerce Support Ticket IDs. The specific data points include ID, comment and faq, customer and user data blocks. The ID is the primary key identifier for Support Tickets in Lead Commerce. The customer and order data blocks are the associate customer and user (if a customer or user is associated with the Support Ticket Comments). Note: Either a customer or a user with be associated with Support Ticket Comments but not both.
                            Filters
                            Filter the Support Tickets into a list.
                            Parameter Type Rules Example
                            id int / array one id or multiple Lead Commerce support ticket ids
                            1 or array(3,8,9,45)

                            Response

                            Example JSON returned
                            {
                              "code": "200",
                              "data": {
                                "1": [
                                  {
                                    "id": "1",
                                    "internal": "1",
                                    "comment": "Some Comments",
                                    "faq": "",
                                    "user": [
                                      {
                                        "id": "141",
                                        "name": "Joe Wilson"
                                      }
                                    ],
                                    "customer": ""
                                  }
                                ],
                                "9": [
                                  {
                                    "id": "19",
                                    "internal": "1",
                                    "comment": "Here are some comments.",
                                    "faq": "",
                                    "user": "",
                                    "customer": [
                                      {
                                        "id": "4",
                                        "display_id": "1003",
                                        "first_name": "Jan",
                                        "last_name": "Wyatt",
                                        "email": "jan6433@gmail.com",
                                        "phone": "858-232-3333v",
                                        "fax": "858-232-3334"
                                      }
                                    ]
                                  },
                                  {
                                    "id": "20",
                                    "internal": "1",
                                    "comment": "Here is a reply to the last comment.",
                                    "faq": [
                                      {
                                        "id": "1",
                                        "name": "Forgot Email"
                                      }
                                    ],
                                    "user": [
                                      {
                                        "id": "141",
                                        "name": "Joe Wilson"
                                      }
                                    ],
                                    "customer": ""
                                  }
                                ]
                              }
                            }
                            

                            Start your free, no-risk trial today.