-
-
Notifications
You must be signed in to change notification settings - Fork 214
Expand file tree
/
Copy pathexamples.http
More file actions
44 lines (40 loc) · 759 Bytes
/
Copy pathexamples.http
File metadata and controls
44 lines (40 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// This file is written in the VS Code REST Client extension format.
// For more detailed examples, please refer to https://tracker.delivery/docs/try
## Try Tracking API
POST http://127.0.0.1:4000/graphql
Content-Type: application/json
X-REQUEST-TYPE: GraphQL
query Track(
$carrierId: ID!,
$trackingNumber: String!
) {
track(
carrierId: $carrierId,
trackingNumber: $trackingNumber
) {
lastEvent {
time
status {
code
name
}
description
}
events(last: 10) {
edges {
node {
time
status {
code
name
}
description
}
}
}
}
}
{
"carrierId": "kr.cjlogistics",
"trackingNumber": "1234567890"
}