cbs-4px-merchant-cli 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/cli.js +486 -9
  2. package/dist/cli.js.map +1 -1
  3. package/dist/commands/address.d.ts +2 -0
  4. package/dist/commands/address.js +59 -0
  5. package/dist/commands/address.js.map +1 -0
  6. package/dist/commands/claim.js +8 -2
  7. package/dist/commands/claim.js.map +1 -1
  8. package/dist/commands/config.js +333 -0
  9. package/dist/commands/config.js.map +1 -1
  10. package/dist/commands/country.d.ts +5 -0
  11. package/dist/commands/country.js +50 -0
  12. package/dist/commands/country.js.map +1 -0
  13. package/dist/commands/customs.d.ts +23 -0
  14. package/dist/commands/customs.js +176 -0
  15. package/dist/commands/customs.js.map +1 -0
  16. package/dist/commands/finance.d.ts +62 -0
  17. package/dist/commands/finance.js +509 -0
  18. package/dist/commands/finance.js.map +1 -0
  19. package/dist/commands/label.js +7 -1
  20. package/dist/commands/label.js.map +1 -1
  21. package/dist/commands/notice.d.ts +18 -0
  22. package/dist/commands/notice.js +210 -0
  23. package/dist/commands/notice.js.map +1 -0
  24. package/dist/commands/order.d.ts +12 -0
  25. package/dist/commands/order.js +76 -1
  26. package/dist/commands/order.js.map +1 -1
  27. package/dist/commands/pickup.d.ts +21 -0
  28. package/dist/commands/pickup.js +249 -0
  29. package/dist/commands/pickup.js.map +1 -0
  30. package/dist/commands/problem.d.ts +41 -0
  31. package/dist/commands/problem.js +371 -0
  32. package/dist/commands/problem.js.map +1 -0
  33. package/dist/commands/product.d.ts +28 -0
  34. package/dist/commands/product.js +249 -1
  35. package/dist/commands/product.js.map +1 -1
  36. package/dist/commands/service.d.ts +41 -0
  37. package/dist/commands/service.js +395 -0
  38. package/dist/commands/service.js.map +1 -0
  39. package/dist/commands/track.d.ts +13 -0
  40. package/dist/commands/track.js +92 -1
  41. package/dist/commands/track.js.map +1 -1
  42. package/dist/services/api-client.d.ts +49 -2
  43. package/dist/services/api-client.js +464 -6
  44. package/dist/services/api-client.js.map +1 -1
  45. package/dist/types/index.d.ts +609 -0
  46. package/package.json +2 -2
  47. package/skill/SKILL.md +67 -8
  48. package/skill/reference/customs.md +220 -0
  49. package/skill/reference/finance.md +337 -0
  50. package/skill/reference/index.md +56 -6
  51. package/skill/reference/notice.md +238 -0
  52. package/skill/reference/order.md +172 -0
  53. package/skill/reference/pickup.md +222 -0
  54. package/skill/reference/problem.md +318 -0
  55. package/skill/reference/product.md +203 -0
  56. package/skill/reference/service.md +406 -0
  57. package/skill/reference/track.md +105 -0
  58. package/skill/reference/claim.md +0 -66
@@ -68,3 +68,206 @@ fmc product recommend --country JP --output json
68
68
  总费用(RMB) 58.00
69
69
  计费重 1000g
70
70
  ```
71
+
72
+ ---
73
+
74
+ ### `fmc product list`
75
+
76
+ | Field | Value |
77
+ | --- | --- |
78
+ | **Name** | `product list` |
79
+ | **Description** | 查询可用产品列表 |
80
+ | **Usage** | `fmc product list --country <code> [flags]` |
81
+
82
+ 需要 API Key 认证。
83
+
84
+ #### Options
85
+
86
+ | Flag | Type | Required | Description |
87
+ | --- | --- | --- | --- |
88
+ | `--country <code>` | string | yes | 目的国家二字码,如 US、GB、JP |
89
+ | `--start-city <city>` | string | no | 起运城市中文名,默认深圳 |
90
+
91
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
92
+
93
+ #### Examples
94
+
95
+ ```bash
96
+ fmc product list --country US
97
+ ```
98
+
99
+ ```bash
100
+ fmc product list --country JP --start-city 广州
101
+ ```
102
+
103
+ ```bash
104
+ fmc product list --country GB --output json
105
+ ```
106
+
107
+ #### Output (text mode)
108
+
109
+ ```
110
+ 可用产品列表
111
+ ──────────────────────────────────────────────────
112
+ 目的国 US (美国)
113
+
114
+ 共 5 个产品
115
+
116
+ ECO-PKG
117
+ 产品名称 4PX经济小包
118
+ 服务等级 经济
119
+ 跟踪类型 全程跟踪
120
+ 时效 7-15工作日
121
+
122
+ STD-EXP
123
+ 产品名称 4PX标准快递
124
+ 服务等级 标准
125
+ 跟踪类型 全程跟踪
126
+ 时效 5-8工作日
127
+ ```
128
+
129
+ ---
130
+
131
+ ### `fmc product detail`
132
+
133
+ | Field | Value |
134
+ | --- | --- |
135
+ | **Name** | `product detail` |
136
+ | **Description** | 查询产品详情(含属性、限制等信息) |
137
+ | **Usage** | `fmc product detail <productCode> [flags]` |
138
+
139
+ 需要 API Key 认证。
140
+
141
+ #### Options
142
+
143
+ | Flag | Type | Required | Description |
144
+ | --- | --- | --- | --- |
145
+ | `<productCode>` | string | yes | 产品代码 |
146
+ | `--country <code>` | string | no | 目的国家二字码 |
147
+ | `--weight <kg>` | number | no | 重量(kg) |
148
+
149
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
150
+
151
+ #### Examples
152
+
153
+ ```bash
154
+ fmc product detail STD-EXP
155
+ ```
156
+
157
+ ```bash
158
+ fmc product detail STD-EXP --country US --weight 2.5
159
+ ```
160
+
161
+ ```bash
162
+ fmc product detail ECO-PKG --output json
163
+ ```
164
+
165
+ #### Output (text mode)
166
+
167
+ ```
168
+ 产品详情
169
+ ──────────────────────────────────────────────────
170
+ 产品代码 STD-EXP
171
+ 产品名称 4PX标准快递
172
+ 服务等级 标准
173
+ 跟踪类型 全程跟踪
174
+ 时效 5-8工作日
175
+ 最大重量 30kg
176
+ 最大长度 120cm
177
+ 是否支持电池 是
178
+ ```
179
+
180
+ ---
181
+
182
+ ### `fmc product eta`
183
+
184
+ | Field | Value |
185
+ | --- | --- |
186
+ | **Name** | `product eta` |
187
+ | **Description** | 查询预估时效 |
188
+ | **Usage** | `fmc product eta --country-code <code> --product-code <code> [flags]` |
189
+
190
+ 需要 API Key 认证。
191
+
192
+ #### Options
193
+
194
+ | Flag | Type | Required | Description |
195
+ | --- | --- | --- | --- |
196
+ | `--country-code <code>` | string | yes | 目的国家二字码 |
197
+ | `--product-code <code>` | string | yes | 产品代码 |
198
+
199
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
200
+
201
+ #### Examples
202
+
203
+ ```bash
204
+ fmc product eta --country-code US --product-code STD-EXP
205
+ ```
206
+
207
+ ```bash
208
+ fmc product eta --country-code JP --product-code ECO-PKG --output json
209
+ ```
210
+
211
+ #### Output (text mode)
212
+
213
+ ```
214
+ 预估时效
215
+ ──────────────────────────────────────────────────
216
+ 产品代码 STD-EXP
217
+ 目的国 US
218
+ 预估时效 5-8 工作日
219
+ ```
220
+
221
+ ---
222
+
223
+ ### `fmc product search`
224
+
225
+ | Field | Value |
226
+ | --- | --- |
227
+ | **Name** | `product search` |
228
+ | **Description** | 按关键词搜索产品 |
229
+ | **Usage** | `fmc product search <keyword> [flags]` |
230
+
231
+ 需要 API Key 认证。
232
+
233
+ #### Options
234
+
235
+ | Flag | Type | Required | Description |
236
+ | --- | --- | --- | --- |
237
+ | `<keyword>` | string | yes | 搜索关键词(产品名称或代码) |
238
+ | `--country-code <code>` | string | no | 目的国家二字码筛选 |
239
+
240
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
241
+
242
+ #### Examples
243
+
244
+ ```bash
245
+ fmc product search 经济
246
+ ```
247
+
248
+ ```bash
249
+ fmc product search express --country-code US
250
+ ```
251
+
252
+ ```bash
253
+ fmc product search 标准 --output json
254
+ ```
255
+
256
+ #### Output (text mode)
257
+
258
+ ```
259
+ 产品搜索结果
260
+ ──────────────────────────────────────────────────
261
+ 关键词 经济
262
+ 共 2 个匹配产品
263
+
264
+ ECO-PKG
265
+ 产品名称 4PX经济小包
266
+ 服务等级 经济
267
+ 跟踪类型 全程跟踪
268
+
269
+ ECO-EXP
270
+ 产品名称 4PX经济快递
271
+ 服务等级 经济
272
+ 跟踪类型 全程跟踪
273
+ ```
@@ -0,0 +1,406 @@
1
+ # `fmc service` command
2
+
3
+ ## Command details
4
+
5
+ ### `fmc service repair list`
6
+
7
+ | Field | Value |
8
+ | --- | --- |
9
+ | **Name** | `service repair list` |
10
+ | **Description** | 查询售后工单列表 |
11
+ | **Usage** | `fmc service repair list [flags]` |
12
+
13
+ 需要 API Key 认证。
14
+
15
+ #### Options
16
+
17
+ | Flag | Type | Required | Description |
18
+ | --- | --- | --- | --- |
19
+ | `--order-codes <codes>` | string | no | 业务单号,多个用逗号分隔 |
20
+ | `--business-line-id <id>` | number | no | 业务线ID |
21
+ | `--category-id <id>` | number | no | 反馈类型ID |
22
+ | `--biz-status <status>` | number | no | 工单状态 |
23
+ | `--start-date <date>` | string | no | 起始日期,格式 yyyy-MM-dd |
24
+ | `--end-date <date>` | string | no | 结束日期,格式 yyyy-MM-dd |
25
+ | `--page <num>` | number | no | 页码,默认 1 |
26
+ | `--size <num>` | number | no | 每页数量,默认 10 |
27
+
28
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
29
+
30
+ #### Examples
31
+
32
+ ```bash
33
+ fmc service repair list
34
+ ```
35
+
36
+ ```bash
37
+ fmc service repair list --order-codes FPX12345678
38
+ ```
39
+
40
+ ```bash
41
+ fmc service repair list --biz-status 1 --page 1 --size 20
42
+ ```
43
+
44
+ ```bash
45
+ fmc service repair list --output json
46
+ ```
47
+
48
+ #### Output (text mode)
49
+
50
+ ```
51
+ 售后工单列表
52
+ ──────────────────────────────────────────────────
53
+ 页码 1/2 共 15 条
54
+
55
+ SR20240115001 待处理
56
+ 运单号 FPX12345678
57
+ 工单类型 退件
58
+ 问题描述 收件人拒收,申请退回
59
+ 创建时间 2024-01-15 10:30:00
60
+ ```
61
+
62
+ ---
63
+
64
+ ### `fmc service check list`
65
+
66
+ | Field | Value |
67
+ | --- | --- |
68
+ | **Name** | `service check list` |
69
+ | **Description** | 查询查件服务单列表 |
70
+ | **Usage** | `fmc service check list [flags]` |
71
+
72
+ 需要 API Key 认证。
73
+
74
+ #### Options
75
+
76
+ | Flag | Type | Required | Description |
77
+ | --- | --- | --- | --- |
78
+ | `--biz-no <no>` | string | no | 业务单号 |
79
+ | `--service-no <no>` | string | no | 服务单号 |
80
+ | `--service-status <status>` | number | no | 状态:0 待受理、1 受理中、2 已退回、3 已解决 |
81
+ | `--start-date <date>` | string | no | 创建起始日期 (yyyy-MM-dd) |
82
+ | `--end-date <date>` | string | no | 创建结束日期 (yyyy-MM-dd) |
83
+ | `--page <num>` | number | no | 页码,默认 1 |
84
+ | `--size <num>` | number | no | 每页数量,默认 10 |
85
+
86
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
87
+
88
+ #### Examples
89
+
90
+ ```bash
91
+ fmc service check list
92
+ ```
93
+
94
+ ```bash
95
+ fmc service check list --biz-no FPX12345678
96
+ ```
97
+
98
+ ```bash
99
+ fmc service check list --service-status 1 --output json
100
+ ```
101
+
102
+ #### Output (text mode)
103
+
104
+ ```
105
+ 查件列表
106
+ ──────────────────────────────────────────────────
107
+ 页码 1/1 共 3 条
108
+
109
+ CK20240115001 处理中
110
+ 运单号 FPX12345678
111
+ 查件原因 长时间未更新轨迹
112
+ 创建时间 2024-01-15 10:30:00
113
+ ```
114
+
115
+ ---
116
+
117
+ ### `fmc service complaint list`
118
+
119
+ | Field | Value |
120
+ | --- | --- |
121
+ | **Name** | `service complaint list` |
122
+ | **Description** | 查询投诉列表 |
123
+ | **Usage** | `fmc service complaint list [flags]` |
124
+
125
+ 需要 API Key 认证。
126
+
127
+ #### Options
128
+
129
+ | Flag | Type | Required | Description |
130
+ | --- | --- | --- | --- |
131
+ | `--biz-no <no>` | string | no | 业务单号 |
132
+ | `--service-no <no>` | string | no | 服务单号 |
133
+ | `--service-status <status>` | number | no | 状态:0 待受理、1 受理中、2 已退回、3 已解决 |
134
+ | `--start-date <date>` | string | no | 创建起始日期 (yyyy-MM-dd) |
135
+ | `--end-date <date>` | string | no | 创建结束日期 (yyyy-MM-dd) |
136
+ | `--page <num>` | number | no | 页码,默认 1 |
137
+ | `--size <num>` | number | no | 每页数量,默认 10 |
138
+
139
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
140
+
141
+ #### Examples
142
+
143
+ ```bash
144
+ fmc service complaint list
145
+ ```
146
+
147
+ ```bash
148
+ fmc service complaint list --biz-no FPX12345678
149
+ ```
150
+
151
+ ```bash
152
+ fmc service complaint list --output json
153
+ ```
154
+
155
+ #### Output (text mode)
156
+
157
+ ```
158
+ 投诉列表
159
+ ──────────────────────────────────────────────────
160
+ 页码 1/1 共 2 条
161
+
162
+ CP20240115001 待处理
163
+ 运单号 FPX12345678
164
+ 投诉类型 服务态度
165
+ 投诉内容 派送员未按约定时间投递
166
+ 创建时间 2024-01-15 10:30:00
167
+ ```
168
+
169
+ ---
170
+
171
+ ### `fmc service detail`
172
+
173
+ | Field | Value |
174
+ | --- | --- |
175
+ | **Name** | `service detail` |
176
+ | **Description** | 查询查件/咨询服务单详情 |
177
+ | **Usage** | `fmc service detail <serviceNo> [flags]` |
178
+
179
+ 需要 API Key 认证。
180
+
181
+ #### Options
182
+
183
+ | Flag | Type | Required | Description |
184
+ | --- | --- | --- | --- |
185
+ | `<serviceNo>` | string | yes | 服务单号 |
186
+
187
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
188
+
189
+ #### Examples
190
+
191
+ ```bash
192
+ fmc service detail SR20240115001
193
+ ```
194
+
195
+ ```bash
196
+ fmc service detail SR20240115001 --output json
197
+ ```
198
+
199
+ #### Output (text mode)
200
+
201
+ ```
202
+ 服务单详情
203
+ ──────────────────────────────────────────────────
204
+ 服务单号 SR20240115001
205
+ 运单号 FPX12345678
206
+ 工单类型 退件
207
+ 状态 处理中
208
+ 问题描述 收件人拒收,申请退回
209
+ 创建时间 2024-01-15 10:30:00
210
+ 更新时间 2024-01-16 09:00:00
211
+ ```
212
+
213
+ ---
214
+
215
+ ### `fmc service record`
216
+
217
+ | Field | Value |
218
+ | --- | --- |
219
+ | **Name** | `service record` |
220
+ | **Description** | 查询服务单处理记录 |
221
+ | **Usage** | `fmc service record <serviceNo> [flags]` |
222
+
223
+ 需要 API Key 认证。
224
+
225
+ #### Options
226
+
227
+ | Flag | Type | Required | Description |
228
+ | --- | --- | --- | --- |
229
+ | `<serviceNo>` | string | yes | 服务单号 |
230
+
231
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
232
+
233
+ #### Examples
234
+
235
+ ```bash
236
+ fmc service record SR20240115001
237
+ ```
238
+
239
+ ```bash
240
+ fmc service record SR20240115001 --output json
241
+ ```
242
+
243
+ #### Output (text mode)
244
+
245
+ ```
246
+ 处理记录
247
+ ──────────────────────────────────────────────────
248
+ 服务单号 SR20240115001
249
+
250
+ 2024-01-16 09:00:00 客服处理
251
+ 操作人 客服A
252
+ 操作内容 已联系仓库安排退件处理
253
+
254
+ 2024-01-15 10:30:00 客户提交
255
+ 操作人 商家
256
+ 操作内容 收件人拒收,申请退回
257
+ ```
258
+
259
+ ---
260
+
261
+ ### `fmc service claim list`
262
+
263
+ | Field | Value |
264
+ | --- | --- |
265
+ | **Name** | `service claim list` |
266
+ | **Description** | 查询理赔列表 |
267
+ | **Usage** | `fmc service claim list [flags]` |
268
+
269
+ 需要 API Key 认证。`--biz-no` 与时间范围至少传一项。
270
+
271
+ #### Options
272
+
273
+ | Flag | Type | Required | Description |
274
+ | --- | --- | --- | --- |
275
+ | `--biz-no <nos>` | string | no | 业务单号,多个用英文逗号分隔 |
276
+ | `--start-time <time>` | string | no | 起始创建时间,格式 yyyy-MM-dd HH:mm:ss |
277
+ | `--end-time <time>` | string | no | 结束创建时间,格式 yyyy-MM-dd HH:mm:ss |
278
+ | `--status <code>` | string | no | 理赔状态:0 全部、1 待处理、2 受理中、3 已解决、4 已退回 |
279
+ | `--page <num>` | number | no | 页码,默认 1 |
280
+ | `--size <num>` | number | no | 每页数量,默认 10,最大 100 |
281
+
282
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
283
+
284
+ #### Examples
285
+
286
+ ```bash
287
+ fmc service claim list --biz-no FPX12345678
288
+ ```
289
+
290
+ ```bash
291
+ fmc service claim list --start-time "2024-01-01 00:00:00" --end-time "2024-12-31 23:59:59"
292
+ ```
293
+
294
+ ```bash
295
+ fmc service claim list --status 1 --page 1 --size 20
296
+ ```
297
+
298
+ ```bash
299
+ fmc service claim list --biz-no FPX111,FPX222 --output json
300
+ ```
301
+
302
+ #### Output (text mode)
303
+
304
+ ```
305
+ 理赔列表
306
+ ──────────────────────────────────────────────────
307
+ 页码 1/1 共 2 条
308
+
309
+ CLM20240115001 受理中
310
+ 业务单号 FPX12345678
311
+ 索赔原因 包裹丢失
312
+ 货值赔偿 150.00 USD
313
+ 最新反馈 正在核实物流信息
314
+ 创建时间 2024-01-15 10:30:00
315
+ ```
316
+
317
+ ---
318
+
319
+ ### `fmc service claim detail`
320
+
321
+ | Field | Value |
322
+ | --- | --- |
323
+ | **Name** | `service claim detail` |
324
+ | **Description** | 按理赔单号查询理赔详情 |
325
+ | **Usage** | `fmc service claim detail <claimNo> [flags]` |
326
+
327
+ 需要 API Key 认证。
328
+
329
+ #### Options
330
+
331
+ | Flag | Type | Required | Description |
332
+ | --- | --- | --- | --- |
333
+ | `<claimNo>` | string | yes | 理赔单号 |
334
+
335
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
336
+
337
+ #### Examples
338
+
339
+ ```bash
340
+ fmc service claim detail CLM20240115001
341
+ ```
342
+
343
+ ```bash
344
+ fmc service claim detail CLM20240115001 --output json
345
+ ```
346
+
347
+ #### Output (text mode)
348
+
349
+ ```
350
+ 理赔详情
351
+ ──────────────────────────────────────────────────
352
+ 理赔单号 CLM20240115001
353
+ 运单号 FPX12345678
354
+ 理赔状态 受理中
355
+ 理赔原因 包裹丢失
356
+ 索赔金额 150.00 USD
357
+ 创建时间 2024-01-15 10:30:00
358
+ ```
359
+
360
+ ---
361
+
362
+ ### `fmc service claim reason`
363
+
364
+ | Field | Value |
365
+ | --- | --- |
366
+ | **Name** | `service claim reason` |
367
+ | **Description** | 查询理赔原因列表 |
368
+ | **Usage** | `fmc service claim reason [flags]` |
369
+
370
+ 需要 API Key 认证。
371
+
372
+ #### Options
373
+
374
+ | Flag | Type | Required | Description |
375
+ | --- | --- | --- | --- |
376
+ | `--level <num>` | number | yes | 理赔原因级别:1 一级、2 二级 |
377
+ | `--dict-type <type>` | string | yes | 字典类型:fb4ClaimType(仓发)或 dssClaimType(直发) |
378
+ | `--dict-code <code>` | string | no | 上级字典code(查二级时必填) |
379
+
380
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
381
+
382
+ #### Examples
383
+
384
+ ```bash
385
+ fmc service claim reason --level 1 --dict-type dssClaimType
386
+ ```
387
+
388
+ ```bash
389
+ fmc service claim reason --level 2 --dict-type fb4ClaimType --dict-code LOST
390
+ ```
391
+
392
+ ```bash
393
+ fmc service claim reason --level 1 --dict-type dssClaimType --output json
394
+ ```
395
+
396
+ #### Output (text mode)
397
+
398
+ ```
399
+ 理赔原因列表
400
+ ──────────────────────────────────────────────────
401
+ LOST 包裹丢失
402
+ DAMAGED 包裹破损
403
+ SHORTAGE 短少
404
+ DELAY 延误赔偿
405
+ WRONG_ITEM 错发
406
+ ```
@@ -55,3 +55,108 @@ fmc track get FPX12345678 --dry-run
55
55
  2024-01-14 08:00 洛杉矶 海关放行
56
56
  2024-01-10 14:20 深圳 已发出
57
57
  ```
58
+
59
+ ---
60
+
61
+ ### `fmc track sub order`
62
+
63
+ | Field | Value |
64
+ | --- | --- |
65
+ | **Name** | `track sub order` |
66
+ | **Description** | 查询轨迹订阅订单列表 |
67
+ | **Usage** | `fmc track sub order [flags]` |
68
+
69
+ 需要 API Key 认证。
70
+
71
+ #### Options
72
+
73
+ | Flag | Type | Required | Description |
74
+ | --- | --- | --- | --- |
75
+ | `--track-nos <nos>` | string | yes | 运单号,多个用英文逗号分隔 |
76
+ | `--page <num>` | number | no | 页码,默认 1 |
77
+ | `--size <num>` | number | no | 每页数量,默认 10 |
78
+
79
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
80
+
81
+ #### Examples
82
+
83
+ ```bash
84
+ fmc track sub order --track-nos FPX12345678
85
+ ```
86
+
87
+ ```bash
88
+ fmc track sub order --track-nos FPX111,FPX222 --page 1 --size 20
89
+ ```
90
+
91
+ ```bash
92
+ fmc track sub order --track-nos FPX12345678 --output json
93
+ ```
94
+
95
+ #### Output (text mode)
96
+
97
+ ```
98
+ 轨迹订阅订单
99
+ ──────────────────────────────────────────────────
100
+ 页码 1/1 共 1 条
101
+
102
+ FPX12345678
103
+ 订阅状态 已订阅
104
+ 产品代码 STANDARD
105
+ 目的国 US
106
+ 订阅时间 2024-01-10 09:00:00
107
+ ```
108
+
109
+ ---
110
+
111
+ ### `fmc track sub product`
112
+
113
+ | Field | Value |
114
+ | --- | --- |
115
+ | **Name** | `track sub product` |
116
+ | **Description** | 查询轨迹订阅产品列表 |
117
+ | **Usage** | `fmc track sub product [flags]` |
118
+
119
+ 需要 API Key 认证。
120
+
121
+ #### Options
122
+
123
+ | Flag | Type | Required | Description |
124
+ | --- | --- | --- | --- |
125
+ | `--product-code <code>` | string | no | 产品代码筛选 |
126
+ | `--country-code <code>` | string | no | 国家二字码筛选 |
127
+ | `--page <num>` | number | no | 页码,默认 1 |
128
+ | `--size <num>` | number | no | 每页数量,默认 10 |
129
+
130
+ 支持全局选项: `--output`, `--verbose`, `--dry-run`
131
+
132
+ #### Examples
133
+
134
+ ```bash
135
+ fmc track sub product
136
+ ```
137
+
138
+ ```bash
139
+ fmc track sub product --product-code STANDARD --country-code US
140
+ ```
141
+
142
+ ```bash
143
+ fmc track sub product --output json
144
+ ```
145
+
146
+ #### Output (text mode)
147
+
148
+ ```
149
+ 轨迹订阅产品
150
+ ──────────────────────────────────────────────────
151
+ 页码 1/1 共 2 条
152
+
153
+ STANDARD
154
+ 产品名称 标准快递
155
+ 国家代码 US
156
+ 订阅状态 已启用
157
+
158
+ ECO-PKG
159
+ 产品名称 经济小包
160
+ 国家代码 GB
161
+ 订阅状态 已启用
162
+ ```