Open after-sales ticket (open_ticket)
About 720 words
v1 draft
This page is part of the draft v1 integration contract; details may change along with the integration checklist, so rely on the official checklist published in the portal.
Submits an after-sales ticket for the platform to verify and handle. Two scenarios are supported:
Order after-sales: pass
order_idororder_noto target a specific fulfilled order;Global account after-sales: pass neither, for issues with the account, balance, API calls, and similar.
Permission:
after_sales.writeMethod:
POSTIdempotency: keyed by
id; the same ID does not create a second ticket
正在加载交互式结构…
Request example
Endpoint: POST /dist/api/v1/open_ticket
Order after-sales:
{
"id": "shop-a-20261124-as-001",
"cmd": "open_ticket",
"data": {
"order_id": 9001,
"order_no": "XS20261124000123",
"description": "账号无法登录,提示密码错误,已尝试重置仍失败",
"evidence": [
{ "kind": "text", "content": "错误提示:账号或密码不正确" },
{ "kind": "link", "url": "https://shop-a.example/case/20261124000123-1.png" }
]
},
"stamp": 1795000000
}Adding content to an existing ticket:
{
"id": "shop-a-20261126-as-002",
"cmd": "open_ticket",
"data": {
"ticket_no": "AS202611240007",
"description": "补充上游回复截图,确认账号确实已被回收"
},
"stamp": 1795000000
}Global account after-sales (no order):
{
"id": "shop-a-20261126-as-003",
"cmd": "open_ticket",
"data": {
"description": "调用 get_orders 返回 500,trace_id 为 trace-7f3a9c,请协助排查"
},
"stamp": 1795000000
}| Field | Required | Description |
|---|---|---|
order_id | No | Numeric order identifier |
order_no | No | Order number |
ticket_no | No | Existing ticket number to continue, used to add material |
description | Yes | Problem description; include the steps you took and the exact error text |
evidence | No | Evidence, at most 10 items (text or links) |
Precedence: ticket_no > order_no > order_id. When several are passed, only the highest-precedence one applies.
Response example
{
"id": "shop-a-20261124-as-001",
"cmd": "open_ticket",
"code": 0,
"msg": "",
"data": {
"ticket_no": "AS202611240007",
"state": "open",
"created_at": "2026-11-24T13:20:00Z",
"update_at": "2026-11-24T13:20:00Z"
},
"stamp": 1795000001
}| Field | Description |
|---|---|
ticket_no | Ticket number; used for all later queries and for adding material |
state | See the table below |
created_at | Creation time |
update_at | Time of the last update |
state | Meaning |
|---|---|
open | Accepted, awaiting verification |
resolving | Under verification; additional material may be needed |
resolved | Resolved |
rejected | Not upheld, or insufficient evidence |
You can follow progress in the portal, or query it directly with Query after-sales ticket (req_ticket).
Handling and refunds
- If the claim is upheld, the approved amount is returned to the account balance and a refund transaction is recorded.
- Refund amounts follow the actual transaction; they are not recalculated at current prices or levels.
- Global issues such as account and balance problems are handled per the platform's verification result; the outcome may be a data correction rather than a refund.
- A refund does not change the fact that the original order was fulfilled, and it does not make the order cancellable again.
Evidence requirements
| Issue type | Suggested evidence |
|---|---|
| Account issues | Screenshot of the login failure and the time of the attempt |
| Card key issues | Redemption error, redemption time, and whether the key was used elsewhere |
| API issues | Request time, trace_id, return code, and the exact error message |
| Balance issues | Top-up transaction number, debit record, and time range |
Speed up handling
A ticket description covering "what I did → what I saw → what I expected" gets handled far faster than "it does not work". Reference evidence by link rather than uploading complete data that contains other people's private information.
Out of scope
- Mistakes made by the end user (typing the wrong account, accidentally deleting credentials)
- Failure to use the item in time, or an expired validity period
- Requests beyond changing specifications or returning goods for a refund
- Unfulfilled orders (use cancellation instead)
Errors
| code | Scenario | Action |
|---|---|---|
2005 | Order not fulfilled, so order after-sales cannot be submitted | Use the cancellation flow |
3003 | The order already has a ticket in progress | Wait for the existing ticket, or add to it |
1001 | description is empty or ticket_no does not exist | Check the parameters |
1003 | after_sales.write not enabled | Enable the permission in the portal |
Querying the ticket
After submitting, use Query after-sales ticket (req_ticket) to view the handling history and result.