Top
Developers Your place to code all things handmade

Welcome to the Shopclues Developer Platform

We believe in code as craft. Join the community of developers, creators and build tools that enrich the ways you can shop, sell and connect with the India's largest merchant base most easily.

Get Started

Register, Upload, Search and Connect

Explore Shopclues' marketplace of over 8.5 million products from over 3.5 lakh merchants. Connect buyers with the items they'll love.

Learn More About Catalog Management

Login, Integrate and Create

Build the best tools for Shopclues merchants. Simply login, Integrate and start developing you own apps.

Learn More About Start Developing
<
>
Jump to: navigation, search

Ticket_Detail_API

Introduction

This API will give the ticket details in 2 modes :-
1) Basic Mode
2) Advance Mode

Basic Mode :
This API will give basic ticket details corresponding to the ticket Number given in the url.

Method= GET

Headers

Authorization : “Bearer bc1f461de4f193”
Content-Type : ”application/json”

Description:

Field name Description Mandatory
Header - “Authorization” Access token is passed to identify the user. Eg- ”Bearer bc1f461de4f193" Yes
Header - “Content-Type” Input Content Type here it would be “application/json" Yes

Description:

Input Perameters Value
type basic
ticket_num 4471982

Advance Mode
This API will give detailed description for the ticket number entered.
Method= GET

Description:

Input Perameters Value
type advance
ticket_num 4471982





Production Url:
https://developer.shopclues.com/api/v1/cst/ticketdetail

Sandbox Url:
 https://sandbox.shopclues.com/api/v1/cst/ticketdetail

Success Response:

{ "status": 1, "code": 200, "message": "success", 
"data": { 
       "ticket_number": 4471982, 
       "order_id": 121412465, 
       "return_id": 4476244, 
       "ticket_status": "closed", 
       "created": "2017-12-05 09:52:23", 
       "issue": "Shipment Related", 
       "sub_issue": "Order Not Delivered", 
       "sub_sub_issue": "", 
       "closed": "2017-12-05 11:23:27", 
        "tasks": [] 
      } 
}

Advanced mode:

Production Url:
 https://developer.shopclues.com/api/v1/cst/ticketdetail

Sandbox Url:
https://sandbox.shopclues.com/api/v1/cst/ticketdetail


Success Response:

{ "status": 1, "code": 200, "message": "success", 
"data": { 
       "ticket_number": 4471982, 
       "order_id": 121412465, 
       "return_id": 4476244, 
       "ticket_status": "closed", 
       "created": "2017-12-05 09:52:23", 
       "issue": "Shipment Related", 
       "sub_issue": "Order Not Delivered", 
       "sub_sub_issue": "", 
       "closed": "2017-12-05 11:23:27", 
       "tasks": [], 
"threads": [ 
              { 
                   "type": "M", 
                 "created": "2017-12-05 09:52:23", 
                 "title": "Order Not Delivered", 
                 "body": " - ", 
                 "agent": "QATester", 
                 "source": "API" 
            }, 
           { 
                 "type": "N", 
                 "created": "2017-12-05 09:54:03", 
                 "title": "Support Ticket Opened [#4471982]", 
                 "body": "Dear QA, <br /><br /> Thanks for contacting us.<br /><br />Your query has been registered and we shall respond with an update within next 2 business days.<br /><br /><strong>Order Id</strong> – 121412465<br /><strong>Date</strong> – 05 Dec 2017 9:52 am<strong><br /> Query</strong> – Order Not Delivered<br /><strong>Comment</strong>  <br /><br />Regards<br /><br />Team Shopclues", 
                 "agent": "SYSTEM", 
                 "source": "on new ticket" 
          }, 
      ] 
   } 
}

Looking for ShopClues Apps?

Check out our new
App Gallery!

It's the best way to find cool and useful tools built upon Shopclues's API.