Skip to main content
GET
/
dev
/
v1
/
tickets
/
{id}
Get ticket
curl --request GET \
  --url https://api.shoppex.io/dev/v1/tickets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "ticket_db_1",
    "uniqid": "ticket_1",
    "shop_id": "shop_1",
    "invoice_id": "inv_1",
    "customer_email": "[email protected]",
    "title": "Need help",
    "status": "OPEN",
    "created_at": 1711972800,
    "updated_at": 1711973400,
    "updated_by": "user_1",
    "messages": [
      {
        "id": "msg_1",
        "role": "CUSTOMER",
        "message": "Please check my order.",
        "created_at": 1711972800
      },
      {
        "id": "msg_2",
        "role": "SHOP",
        "message": "We are looking into it.",
        "created_at": 1711973400
      }
    ],
    "invoice": {
      "uniqid": "inv_1",
      "customer_email": "[email protected]",
      "product_title": "Starter Pack",
      "total_display": 19.99,
      "currency": "USD",
      "location": "Berlin",
      "created_at": 1711971000
    }
  }
}

Authorizations

Authorization
string
header
required

Use your Shoppex API key in the Authorization header.

Path Parameters

id
string
required

Response

200 - application/json

Successful response

data
object