import { ShoplyCustomer } from "@shoplygg/node";
const buyer = new ShoplyCustomer({ storeId: "YOUR_STORE_ID", token });
const result = await buyer.tickets.show("TICKET_ID");
<?php
require 'vendor/autoload.php';
$buyer = new Shoply\Customer(['storeId' => 'YOUR_STORE_ID', 'token' => $token]);
$result = $buyer->tickets->show('TICKET_ID');
import shoply
buyer = shoply.Customer("YOUR_STORE_ID", token=token)
result = buyer.tickets.show("TICKET_ID")
curl --request GET \
--url https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId} \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"code": null,
"data": {
"id": "8e243e4e-58e7-4d63-a9c3-ef057672a8fd",
"orderId": "bc44febe-0f25-4076-92eb-03a5045a57e7",
"subject": "Key says it is already in use",
"status": "answered",
"messages": 2,
"pictures": 0,
"lastMessageAt": "2026-10-22T16:20:19Z",
"lastFrom": "store",
"lastLine": "Sorry about that. Open your order in the customer panel and press Reset Key, then try it again.",
"firstReplyAt": "2026-10-22T16:20:19Z",
"answeredAt": "2026-10-22T16:20:19Z",
"resolvedAt": null,
"resolvedBy": null,
"createdAt": "2026-10-22T16:20:19Z",
"updatedAt": "2026-10-22T16:20:19Z",
"conversation": [
{
"id": "cc08e8db-7064-4c32-9883-fe156fbe07f1",
"from": "buyer",
"body": "I bought Northwind Pro this morning and the key says it is already in use.",
"html": "<p>I bought Northwind Pro this morning and the key says it is already in use.</p>",
"pictures": [],
"createdAt": "2026-10-22T16:20:19Z"
},
{
"id": "fb5187b3-26e9-4f1a-bfba-265d93cb8a51",
"from": "store",
"body": "Sorry about that. Open your order in the customer panel and press Reset Key, then try it again.",
"html": "<p>Sorry about that. Open your order in the customer panel and press Reset Key, then try it again.</p>",
"pictures": [],
"createdAt": "2026-10-22T16:20:19Z"
}
],
"canReopenUntil": null,
"limits": {
"body": 500,
"subject": 100,
"picturesPerMessage": 3,
"picturesPerTicket": 25,
"pictureBytes": 5242880
},
"orderLabel": "Northwind Pro · Order bc44febe-0f25-4076-92eb-03a5045a57e7",
"orderProducts": [
"Northwind Pro"
],
"orderMore": 0
}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}Get a support ticket
A ticket with its conversation, oldest first: each message’s from (buyer or store), body (Markdown, as written), html (the body as Markdown draws it, escaped, which is safe to show as it is), pictures and createdAt. A picture is named here and shown in the customer panel. canReopenUntil is the last moment writing on a resolved ticket opens it again.
Needs the buyer’s token: Authorization: Bearer shoply_ct_..., from Sign in with the code.
It is counted for the buyer’s token: 300 reads in ten minutes.
import { ShoplyCustomer } from "@shoplygg/node";
const buyer = new ShoplyCustomer({ storeId: "YOUR_STORE_ID", token });
const result = await buyer.tickets.show("TICKET_ID");
<?php
require 'vendor/autoload.php';
$buyer = new Shoply\Customer(['storeId' => 'YOUR_STORE_ID', 'token' => $token]);
$result = $buyer->tickets->show('TICKET_ID');
import shoply
buyer = shoply.Customer("YOUR_STORE_ID", token=token)
result = buyer.tickets.show("TICKET_ID")
curl --request GET \
--url https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId} \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.shoply.gg/v1/stores/{storeId}/customer/tickets/{ticketId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": null,
"code": null,
"data": {
"id": "8e243e4e-58e7-4d63-a9c3-ef057672a8fd",
"orderId": "bc44febe-0f25-4076-92eb-03a5045a57e7",
"subject": "Key says it is already in use",
"status": "answered",
"messages": 2,
"pictures": 0,
"lastMessageAt": "2026-10-22T16:20:19Z",
"lastFrom": "store",
"lastLine": "Sorry about that. Open your order in the customer panel and press Reset Key, then try it again.",
"firstReplyAt": "2026-10-22T16:20:19Z",
"answeredAt": "2026-10-22T16:20:19Z",
"resolvedAt": null,
"resolvedBy": null,
"createdAt": "2026-10-22T16:20:19Z",
"updatedAt": "2026-10-22T16:20:19Z",
"conversation": [
{
"id": "cc08e8db-7064-4c32-9883-fe156fbe07f1",
"from": "buyer",
"body": "I bought Northwind Pro this morning and the key says it is already in use.",
"html": "<p>I bought Northwind Pro this morning and the key says it is already in use.</p>",
"pictures": [],
"createdAt": "2026-10-22T16:20:19Z"
},
{
"id": "fb5187b3-26e9-4f1a-bfba-265d93cb8a51",
"from": "store",
"body": "Sorry about that. Open your order in the customer panel and press Reset Key, then try it again.",
"html": "<p>Sorry about that. Open your order in the customer panel and press Reset Key, then try it again.</p>",
"pictures": [],
"createdAt": "2026-10-22T16:20:19Z"
}
],
"canReopenUntil": null,
"limits": {
"body": 500,
"subject": 100,
"picturesPerMessage": 3,
"picturesPerTicket": 25,
"pictureBytes": 5242880
},
"orderLabel": "Northwind Pro · Order bc44febe-0f25-4076-92eb-03a5045a57e7",
"orderProducts": [
"Northwind Pro"
],
"orderMore": 0
}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}{
"success": false,
"message": "<string>",
"code": "<string>",
"data": null,
"errors": {}
}Authorizations
A buyer's token, from Sign in with the code: Authorization: Bearer shoply_ct_.... It reaches that buyer's own orders at one store, and no route that takes a key.
Path Parameters
The store's ID, from Settings, General in its dashboard. It is not a secret: a page may show it.
One of the buyer's support tickets, from List support tickets.

