@linkl/link-openapi-skills 0.0.0-stage → 0.1.0
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.
- package/LICENSE +4 -0
- package/README.md +70 -2
- package/bin/cli.js +125 -0
- package/openapi/basic-data.json +432 -0
- package/openapi/general-service.json +106 -0
- package/openapi/international-logistics.json +3439 -0
- package/openapi/last-mile-order.json +1643 -0
- package/openapi/settlement-service.json +603 -0
- package/openapi/user-service.json +289 -0
- package/package.json +18 -3
- package/skills/link-basic-data/SKILL.md +22 -0
- package/skills/link-basic-data/references/api-reference.md +22 -0
- package/skills/link-general-service/SKILL.md +22 -0
- package/skills/link-general-service/references/api-reference.md +12 -0
- package/skills/link-international-logistics/SKILL.md +22 -0
- package/skills/link-international-logistics/references/api-reference.md +62 -0
- package/skills/link-last-mile-order/SKILL.md +22 -0
- package/skills/link-last-mile-order/references/api-reference.md +37 -0
- package/skills/link-openapi-integration/SKILL.md +41 -0
- package/skills/link-openapi-integration/references/API-INVENTORY.md +33 -0
- package/skills/link-openapi-integration/references/basic-data.md +9 -0
- package/skills/link-openapi-integration/references/general-service.md +7 -0
- package/skills/link-openapi-integration/references/international-logistics.md +17 -0
- package/skills/link-openapi-integration/references/last-mile-order.md +12 -0
- package/skills/link-openapi-integration/references/settlement-service.md +9 -0
- package/skills/link-openapi-integration/references/user-service.md +9 -0
- package/skills/link-settlement-service/SKILL.md +22 -0
- package/skills/link-settlement-service/references/api-reference.md +22 -0
- package/skills/link-user-service/SKILL.md +22 -0
- package/skills/link-user-service/references/api-reference.md +22 -0
|
@@ -0,0 +1,3439 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.1",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "链路ERP开放平台",
|
|
5
|
+
"description": "lmsservice",
|
|
6
|
+
"contact": {
|
|
7
|
+
"name": "link",
|
|
8
|
+
"url": "https://www.linkl.com.cn"
|
|
9
|
+
},
|
|
10
|
+
"version": "1.0"
|
|
11
|
+
},
|
|
12
|
+
"servers": [
|
|
13
|
+
{
|
|
14
|
+
"url": "https://www.linkl.com.cn"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"paths": {
|
|
18
|
+
"/openapi/uploadNo": {
|
|
19
|
+
"post": {
|
|
20
|
+
"tags": [
|
|
21
|
+
"API列表"
|
|
22
|
+
],
|
|
23
|
+
"summary": "上传单号",
|
|
24
|
+
"operationId": "uploadNo",
|
|
25
|
+
"requestBody": {
|
|
26
|
+
"content": {
|
|
27
|
+
"application/json": {
|
|
28
|
+
"schema": {
|
|
29
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiUploadNoRequest"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": true
|
|
34
|
+
},
|
|
35
|
+
"responses": {
|
|
36
|
+
"200": {
|
|
37
|
+
"description": "OK",
|
|
38
|
+
"content": {
|
|
39
|
+
"*/*": {
|
|
40
|
+
"schema": {
|
|
41
|
+
"$ref": "#/components/schemas/CLCM_Result"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"x-order": 15,
|
|
48
|
+
"parameters": [
|
|
49
|
+
{
|
|
50
|
+
"name": "linkToken",
|
|
51
|
+
"in": "header",
|
|
52
|
+
"required": true,
|
|
53
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
54
|
+
"schema": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"/openapi/uploadFile": {
|
|
62
|
+
"post": {
|
|
63
|
+
"tags": [
|
|
64
|
+
"API列表"
|
|
65
|
+
],
|
|
66
|
+
"summary": "上传文件",
|
|
67
|
+
"operationId": "uploadFile",
|
|
68
|
+
"requestBody": {
|
|
69
|
+
"content": {
|
|
70
|
+
"application/json": {
|
|
71
|
+
"schema": {
|
|
72
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiUploadFileRequest"
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": true
|
|
77
|
+
},
|
|
78
|
+
"responses": {
|
|
79
|
+
"200": {
|
|
80
|
+
"description": "OK",
|
|
81
|
+
"content": {
|
|
82
|
+
"*/*": {
|
|
83
|
+
"schema": {
|
|
84
|
+
"$ref": "#/components/schemas/CLCM_Result"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"x-order": 14,
|
|
91
|
+
"parameters": [
|
|
92
|
+
{
|
|
93
|
+
"name": "linkToken",
|
|
94
|
+
"in": "header",
|
|
95
|
+
"required": true,
|
|
96
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
97
|
+
"schema": {
|
|
98
|
+
"type": "string"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"/openapi/specialLineOrder": {
|
|
105
|
+
"post": {
|
|
106
|
+
"tags": [
|
|
107
|
+
"API列表"
|
|
108
|
+
],
|
|
109
|
+
"summary": "专线下单",
|
|
110
|
+
"operationId": "specialLineOrder",
|
|
111
|
+
"requestBody": {
|
|
112
|
+
"content": {
|
|
113
|
+
"application/json": {
|
|
114
|
+
"schema": {
|
|
115
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiSpecialLineOrderRequest"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"required": true
|
|
120
|
+
},
|
|
121
|
+
"responses": {
|
|
122
|
+
"200": {
|
|
123
|
+
"description": "OK",
|
|
124
|
+
"content": {
|
|
125
|
+
"*/*": {
|
|
126
|
+
"schema": {
|
|
127
|
+
"$ref": "#/components/schemas/CLCMRLLROO_OpenApiOrderResponse"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"x-order": 2,
|
|
134
|
+
"parameters": [
|
|
135
|
+
{
|
|
136
|
+
"name": "linkToken",
|
|
137
|
+
"in": "header",
|
|
138
|
+
"required": true,
|
|
139
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
140
|
+
"schema": {
|
|
141
|
+
"type": "string"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"/openapi/queryTracks": {
|
|
148
|
+
"post": {
|
|
149
|
+
"tags": [
|
|
150
|
+
"API列表"
|
|
151
|
+
],
|
|
152
|
+
"summary": "查询轨迹",
|
|
153
|
+
"operationId": "queryTracks",
|
|
154
|
+
"requestBody": {
|
|
155
|
+
"content": {
|
|
156
|
+
"application/json": {
|
|
157
|
+
"schema": {
|
|
158
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiQueryTrackRequest"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"required": true
|
|
163
|
+
},
|
|
164
|
+
"responses": {
|
|
165
|
+
"200": {
|
|
166
|
+
"description": "OK",
|
|
167
|
+
"content": {
|
|
168
|
+
"*/*": {
|
|
169
|
+
"schema": {
|
|
170
|
+
"$ref": "#/components/schemas/CLCMRULLLROO_OpenApiTrackResponse"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"x-order": 4,
|
|
177
|
+
"parameters": [
|
|
178
|
+
{
|
|
179
|
+
"name": "linkToken",
|
|
180
|
+
"in": "header",
|
|
181
|
+
"required": true,
|
|
182
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
183
|
+
"schema": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
"/openapi/push": {
|
|
191
|
+
"post": {
|
|
192
|
+
"tags": [
|
|
193
|
+
"API列表"
|
|
194
|
+
],
|
|
195
|
+
"summary": "推送数据",
|
|
196
|
+
"operationId": "pushPost",
|
|
197
|
+
"parameters": [
|
|
198
|
+
{
|
|
199
|
+
"name": "event",
|
|
200
|
+
"in": "header",
|
|
201
|
+
"required": true,
|
|
202
|
+
"schema": {
|
|
203
|
+
"type": "string"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "serviceCode",
|
|
208
|
+
"in": "header",
|
|
209
|
+
"required": true,
|
|
210
|
+
"schema": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "linkToken",
|
|
216
|
+
"in": "header",
|
|
217
|
+
"required": true,
|
|
218
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
219
|
+
"schema": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"requestBody": {
|
|
225
|
+
"description": "请求体,由对接方定义标准格式,系统方将主动兼容格式",
|
|
226
|
+
"content": {
|
|
227
|
+
"application/json": {
|
|
228
|
+
"schema": {
|
|
229
|
+
"type": "string"
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
"responses": {
|
|
235
|
+
"200": {
|
|
236
|
+
"description": "OK",
|
|
237
|
+
"content": {
|
|
238
|
+
"*/*": {
|
|
239
|
+
"schema": {
|
|
240
|
+
"type": "object"
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"x-order": 7
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
"/openapi/print": {
|
|
250
|
+
"post": {
|
|
251
|
+
"tags": [
|
|
252
|
+
"API列表"
|
|
253
|
+
],
|
|
254
|
+
"summary": "打印文件",
|
|
255
|
+
"operationId": "print",
|
|
256
|
+
"requestBody": {
|
|
257
|
+
"content": {
|
|
258
|
+
"application/json": {
|
|
259
|
+
"schema": {
|
|
260
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiPrintRequest"
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"required": true
|
|
265
|
+
},
|
|
266
|
+
"responses": {
|
|
267
|
+
"200": {
|
|
268
|
+
"description": "OK",
|
|
269
|
+
"content": {
|
|
270
|
+
"*/*": {
|
|
271
|
+
"schema": {
|
|
272
|
+
"$ref": "#/components/schemas/CLCMRLLROO_OpenApiPrintResponse"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"x-order": 3,
|
|
279
|
+
"parameters": [
|
|
280
|
+
{
|
|
281
|
+
"name": "linkToken",
|
|
282
|
+
"in": "header",
|
|
283
|
+
"required": true,
|
|
284
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
285
|
+
"schema": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
]
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"/openapi/orderDetail": {
|
|
293
|
+
"post": {
|
|
294
|
+
"tags": [
|
|
295
|
+
"API列表"
|
|
296
|
+
],
|
|
297
|
+
"summary": "运单详情",
|
|
298
|
+
"operationId": "orderDetail",
|
|
299
|
+
"requestBody": {
|
|
300
|
+
"content": {
|
|
301
|
+
"application/json": {
|
|
302
|
+
"schema": {
|
|
303
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderDetailRequest"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
"required": true
|
|
308
|
+
},
|
|
309
|
+
"responses": {
|
|
310
|
+
"200": {
|
|
311
|
+
"description": "OK",
|
|
312
|
+
"content": {
|
|
313
|
+
"*/*": {
|
|
314
|
+
"schema": {
|
|
315
|
+
"$ref": "#/components/schemas/CLCMRLLROO_OpenApiOrderDetailResponse"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
"x-order": 5,
|
|
322
|
+
"parameters": [
|
|
323
|
+
{
|
|
324
|
+
"name": "linkToken",
|
|
325
|
+
"in": "header",
|
|
326
|
+
"required": true,
|
|
327
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
328
|
+
"schema": {
|
|
329
|
+
"type": "string"
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"/openapi/expressOrder": {
|
|
336
|
+
"post": {
|
|
337
|
+
"tags": [
|
|
338
|
+
"API列表"
|
|
339
|
+
],
|
|
340
|
+
"summary": "快递下单",
|
|
341
|
+
"operationId": "expressOrder",
|
|
342
|
+
"requestBody": {
|
|
343
|
+
"content": {
|
|
344
|
+
"application/json": {
|
|
345
|
+
"schema": {
|
|
346
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiExpressOrderRequest"
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"required": true
|
|
351
|
+
},
|
|
352
|
+
"responses": {
|
|
353
|
+
"200": {
|
|
354
|
+
"description": "OK",
|
|
355
|
+
"content": {
|
|
356
|
+
"*/*": {
|
|
357
|
+
"schema": {
|
|
358
|
+
"$ref": "#/components/schemas/CLCMRLLROO_OpenApiOrderResponse"
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"x-order": 1,
|
|
365
|
+
"parameters": [
|
|
366
|
+
{
|
|
367
|
+
"name": "linkToken",
|
|
368
|
+
"in": "header",
|
|
369
|
+
"required": true,
|
|
370
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
371
|
+
"schema": {
|
|
372
|
+
"type": "string"
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
},
|
|
378
|
+
"/openapi/dwsUploadFile": {
|
|
379
|
+
"post": {
|
|
380
|
+
"tags": [
|
|
381
|
+
"API列表"
|
|
382
|
+
],
|
|
383
|
+
"summary": "dws文件上传",
|
|
384
|
+
"operationId": "dwsUploadFile",
|
|
385
|
+
"parameters": [
|
|
386
|
+
{
|
|
387
|
+
"name": "serviceCode",
|
|
388
|
+
"in": "header",
|
|
389
|
+
"required": true,
|
|
390
|
+
"schema": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "linkToken",
|
|
396
|
+
"in": "header",
|
|
397
|
+
"required": true,
|
|
398
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
399
|
+
"schema": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
"requestBody": {
|
|
405
|
+
"description": "请求体,由对接方定义标准格式,系统方将主动兼容格式",
|
|
406
|
+
"content": {
|
|
407
|
+
"application/json": {
|
|
408
|
+
"schema": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
"required": true
|
|
414
|
+
},
|
|
415
|
+
"responses": {
|
|
416
|
+
"200": {
|
|
417
|
+
"description": "OK",
|
|
418
|
+
"content": {
|
|
419
|
+
"*/*": {
|
|
420
|
+
"schema": {
|
|
421
|
+
"type": "object"
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
"x-order": 9
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"/openapi/dwsUploadData": {
|
|
431
|
+
"post": {
|
|
432
|
+
"tags": [
|
|
433
|
+
"API列表"
|
|
434
|
+
],
|
|
435
|
+
"summary": "dws上传数据",
|
|
436
|
+
"operationId": "dwsUploadDataPost",
|
|
437
|
+
"parameters": [
|
|
438
|
+
{
|
|
439
|
+
"name": "serviceCode",
|
|
440
|
+
"in": "header",
|
|
441
|
+
"required": true,
|
|
442
|
+
"schema": {
|
|
443
|
+
"type": "string"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"name": "linkToken",
|
|
448
|
+
"in": "header",
|
|
449
|
+
"required": true,
|
|
450
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
451
|
+
"schema": {
|
|
452
|
+
"type": "string"
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"requestBody": {
|
|
457
|
+
"description": "请求体,由对接方定义标准格式,系统方将主动兼容格式",
|
|
458
|
+
"content": {
|
|
459
|
+
"application/json": {
|
|
460
|
+
"schema": {
|
|
461
|
+
"type": "string"
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"required": true
|
|
466
|
+
},
|
|
467
|
+
"responses": {
|
|
468
|
+
"200": {
|
|
469
|
+
"description": "OK",
|
|
470
|
+
"content": {
|
|
471
|
+
"*/*": {
|
|
472
|
+
"schema": {
|
|
473
|
+
"type": "object"
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"x-order": 8
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
"/openapi/deleteOrder": {
|
|
483
|
+
"post": {
|
|
484
|
+
"tags": [
|
|
485
|
+
"API列表"
|
|
486
|
+
],
|
|
487
|
+
"summary": "删除订单",
|
|
488
|
+
"operationId": "deleteOrder",
|
|
489
|
+
"requestBody": {
|
|
490
|
+
"content": {
|
|
491
|
+
"application/json": {
|
|
492
|
+
"schema": {
|
|
493
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiDeleteOrderRequest"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
},
|
|
497
|
+
"required": true
|
|
498
|
+
},
|
|
499
|
+
"responses": {
|
|
500
|
+
"200": {
|
|
501
|
+
"description": "OK",
|
|
502
|
+
"content": {
|
|
503
|
+
"*/*": {
|
|
504
|
+
"schema": {
|
|
505
|
+
"$ref": "#/components/schemas/CLCMRL_Integer"
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
},
|
|
511
|
+
"x-order": 6,
|
|
512
|
+
"parameters": [
|
|
513
|
+
{
|
|
514
|
+
"name": "linkToken",
|
|
515
|
+
"in": "header",
|
|
516
|
+
"required": true,
|
|
517
|
+
"description": "接口访问凭证,请按接口要求填写。",
|
|
518
|
+
"schema": {
|
|
519
|
+
"type": "string"
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
]
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"components": {
|
|
527
|
+
"schemas": {
|
|
528
|
+
"CLLRO_OpenApiUploadNoRequest": {
|
|
529
|
+
"required": [
|
|
530
|
+
"customerKey",
|
|
531
|
+
"customerNo",
|
|
532
|
+
"no",
|
|
533
|
+
"noType"
|
|
534
|
+
],
|
|
535
|
+
"type": "object",
|
|
536
|
+
"properties": {
|
|
537
|
+
"customerKey": {
|
|
538
|
+
"type": "string",
|
|
539
|
+
"description": "customerKey,请联系客服提供,保密使用,谨防泄漏",
|
|
540
|
+
"example": "DEMO_CUSTOMER_KEY_NOT_VALID"
|
|
541
|
+
},
|
|
542
|
+
"customerNo": {
|
|
543
|
+
"maxLength": 100,
|
|
544
|
+
"type": "string",
|
|
545
|
+
"description": "客户单号",
|
|
546
|
+
"example": "DEMO202611030001"
|
|
547
|
+
},
|
|
548
|
+
"noType": {
|
|
549
|
+
"type": "integer",
|
|
550
|
+
"description": "上传单号类型(2:转单号 9:FBA单号)",
|
|
551
|
+
"format": "int32",
|
|
552
|
+
"example": 2
|
|
553
|
+
},
|
|
554
|
+
"no": {
|
|
555
|
+
"type": "string",
|
|
556
|
+
"description": "上传单号",
|
|
557
|
+
"example": "LMS202611030001"
|
|
558
|
+
},
|
|
559
|
+
"pieces": {
|
|
560
|
+
"type": "array",
|
|
561
|
+
"description": "单件信息,上传转单号必填",
|
|
562
|
+
"example": [
|
|
563
|
+
{
|
|
564
|
+
"no": "LMS202611030001"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"no": "LMS202611030001"
|
|
568
|
+
}
|
|
569
|
+
],
|
|
570
|
+
"items": {
|
|
571
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiUploadNoRequest$UploadNoPieceRequest"
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"description": "上传单号请求",
|
|
576
|
+
"title": "上传单号请求"
|
|
577
|
+
},
|
|
578
|
+
"CLLRO_OpenApiUploadNoRequest$UploadNoPieceRequest": {
|
|
579
|
+
"required": [
|
|
580
|
+
"no"
|
|
581
|
+
],
|
|
582
|
+
"type": "object",
|
|
583
|
+
"properties": {
|
|
584
|
+
"no": {
|
|
585
|
+
"type": "string",
|
|
586
|
+
"description": "上传单号",
|
|
587
|
+
"example": "LMS202611030001"
|
|
588
|
+
}
|
|
589
|
+
},
|
|
590
|
+
"description": "单件信息请求",
|
|
591
|
+
"example": [
|
|
592
|
+
{
|
|
593
|
+
"no": "LMS202611030001"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"no": "LMS202611030001"
|
|
597
|
+
}
|
|
598
|
+
],
|
|
599
|
+
"title": "单件信息请求"
|
|
600
|
+
},
|
|
601
|
+
"CLCM_Result": {
|
|
602
|
+
"type": "object",
|
|
603
|
+
"properties": {
|
|
604
|
+
"code": {
|
|
605
|
+
"type": "integer",
|
|
606
|
+
"description": "返回码(0:成功 其他:失败),业务code需大于1000",
|
|
607
|
+
"format": "int32"
|
|
608
|
+
},
|
|
609
|
+
"data": {
|
|
610
|
+
"type": "object",
|
|
611
|
+
"description": "数据结果"
|
|
612
|
+
},
|
|
613
|
+
"msg": {
|
|
614
|
+
"type": "string",
|
|
615
|
+
"description": "错误消息"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"description": "Result",
|
|
619
|
+
"title": "Result"
|
|
620
|
+
},
|
|
621
|
+
"CLLRO_OpenApiUploadFileRequest": {
|
|
622
|
+
"required": [
|
|
623
|
+
"customerKey",
|
|
624
|
+
"customerNo",
|
|
625
|
+
"fileList"
|
|
626
|
+
],
|
|
627
|
+
"type": "object",
|
|
628
|
+
"properties": {
|
|
629
|
+
"customerKey": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"description": "customerKey,请联系客服提供,保密使用,谨防泄漏",
|
|
632
|
+
"example": "DEMO_CUSTOMER_KEY_NOT_VALID"
|
|
633
|
+
},
|
|
634
|
+
"customerNo": {
|
|
635
|
+
"maxLength": 100,
|
|
636
|
+
"type": "string",
|
|
637
|
+
"description": "客户单号",
|
|
638
|
+
"example": "DEMO202611030001"
|
|
639
|
+
},
|
|
640
|
+
"fileList": {
|
|
641
|
+
"type": "array",
|
|
642
|
+
"description": "文件信息",
|
|
643
|
+
"example": [
|
|
644
|
+
{
|
|
645
|
+
"type": 0,
|
|
646
|
+
"fileName": "commercial-invoice.pdf",
|
|
647
|
+
"base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
648
|
+
}
|
|
649
|
+
],
|
|
650
|
+
"items": {
|
|
651
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiUploadFileRequest$UploadFileModeRequest"
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"description": "上传文件请求",
|
|
656
|
+
"title": "上传文件请求"
|
|
657
|
+
},
|
|
658
|
+
"CLLRO_OpenApiUploadFileRequest$UploadFileModeRequest": {
|
|
659
|
+
"required": [
|
|
660
|
+
"base64",
|
|
661
|
+
"fileName",
|
|
662
|
+
"type"
|
|
663
|
+
],
|
|
664
|
+
"type": "object",
|
|
665
|
+
"properties": {
|
|
666
|
+
"type": {
|
|
667
|
+
"type": "integer",
|
|
668
|
+
"description": "文件类型(0:客户发票 70:报关文件 100:转单标签 110:转单发票 150:销售凭证 155:商检证明 185:产地证 205:交易证明)",
|
|
669
|
+
"format": "int32",
|
|
670
|
+
"example": 0
|
|
671
|
+
},
|
|
672
|
+
"fileName": {
|
|
673
|
+
"type": "string",
|
|
674
|
+
"description": "文件名(包含后缀)",
|
|
675
|
+
"example": "commercial-invoice.pdf"
|
|
676
|
+
},
|
|
677
|
+
"base64": {
|
|
678
|
+
"type": "string",
|
|
679
|
+
"description": "文件base64",
|
|
680
|
+
"example": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
681
|
+
}
|
|
682
|
+
},
|
|
683
|
+
"description": "文件信息请求",
|
|
684
|
+
"example": [
|
|
685
|
+
{
|
|
686
|
+
"type": 0,
|
|
687
|
+
"fileName": "commercial-invoice.pdf",
|
|
688
|
+
"base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
"title": "文件信息请求"
|
|
692
|
+
},
|
|
693
|
+
"CLLRO_OpenApiCommodityRequest": {
|
|
694
|
+
"type": "object",
|
|
695
|
+
"properties": {
|
|
696
|
+
"nameCn": {
|
|
697
|
+
"maxLength": 255,
|
|
698
|
+
"type": "string",
|
|
699
|
+
"description": "中文品名",
|
|
700
|
+
"example": "纯棉T恤"
|
|
701
|
+
},
|
|
702
|
+
"nameEn": {
|
|
703
|
+
"maxLength": 255,
|
|
704
|
+
"type": "string",
|
|
705
|
+
"description": "英文品名",
|
|
706
|
+
"example": "Cotton T-shirt"
|
|
707
|
+
},
|
|
708
|
+
"unitNetWeight": {
|
|
709
|
+
"type": "number",
|
|
710
|
+
"description": "单品名净重",
|
|
711
|
+
"example": 0.2
|
|
712
|
+
},
|
|
713
|
+
"sku": {
|
|
714
|
+
"maxLength": 100,
|
|
715
|
+
"type": "string",
|
|
716
|
+
"description": "SKU",
|
|
717
|
+
"example": "TSHIRT-WHITE-M"
|
|
718
|
+
},
|
|
719
|
+
"asin": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"description": "ASIN",
|
|
722
|
+
"example": "B0DEMO0001"
|
|
723
|
+
},
|
|
724
|
+
"fnSku": {
|
|
725
|
+
"type": "string",
|
|
726
|
+
"description": "FNSKU",
|
|
727
|
+
"example": "X00DEMO001"
|
|
728
|
+
},
|
|
729
|
+
"purposeCn": {
|
|
730
|
+
"maxLength": 100,
|
|
731
|
+
"type": "string",
|
|
732
|
+
"description": "中文用途",
|
|
733
|
+
"example": "日常穿着"
|
|
734
|
+
},
|
|
735
|
+
"purposeEn": {
|
|
736
|
+
"maxLength": 100,
|
|
737
|
+
"type": "string",
|
|
738
|
+
"description": "英文用途",
|
|
739
|
+
"example": "Daily wear"
|
|
740
|
+
},
|
|
741
|
+
"materialCn": {
|
|
742
|
+
"maxLength": 100,
|
|
743
|
+
"type": "string",
|
|
744
|
+
"description": "中文材质",
|
|
745
|
+
"example": "100%棉"
|
|
746
|
+
},
|
|
747
|
+
"materialEn": {
|
|
748
|
+
"maxLength": 100,
|
|
749
|
+
"type": "string",
|
|
750
|
+
"description": "英文材质",
|
|
751
|
+
"example": "100% cotton"
|
|
752
|
+
},
|
|
753
|
+
"quantity": {
|
|
754
|
+
"type": "integer",
|
|
755
|
+
"description": "数量",
|
|
756
|
+
"format": "int32",
|
|
757
|
+
"example": 10
|
|
758
|
+
},
|
|
759
|
+
"unit": {
|
|
760
|
+
"type": "integer",
|
|
761
|
+
"description": "单位(非必填,默认值0:PCS)",
|
|
762
|
+
"format": "int32",
|
|
763
|
+
"example": 0
|
|
764
|
+
},
|
|
765
|
+
"unitPrice": {
|
|
766
|
+
"type": "number",
|
|
767
|
+
"description": "单价",
|
|
768
|
+
"example": 20
|
|
769
|
+
},
|
|
770
|
+
"brand": {
|
|
771
|
+
"maxLength": 50,
|
|
772
|
+
"type": "string",
|
|
773
|
+
"description": "品牌",
|
|
774
|
+
"example": "DEMO"
|
|
775
|
+
},
|
|
776
|
+
"norms": {
|
|
777
|
+
"maxLength": 50,
|
|
778
|
+
"type": "string",
|
|
779
|
+
"description": "规格",
|
|
780
|
+
"example": "M / White"
|
|
781
|
+
},
|
|
782
|
+
"hsCode": {
|
|
783
|
+
"maxLength": 50,
|
|
784
|
+
"type": "string",
|
|
785
|
+
"description": "海关编码",
|
|
786
|
+
"example": "6109100000"
|
|
787
|
+
},
|
|
788
|
+
"origin": {
|
|
789
|
+
"type": "string",
|
|
790
|
+
"description": "原产地",
|
|
791
|
+
"example": "CN"
|
|
792
|
+
},
|
|
793
|
+
"link": {
|
|
794
|
+
"maxLength": 255,
|
|
795
|
+
"type": "string",
|
|
796
|
+
"description": "链接",
|
|
797
|
+
"example": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
798
|
+
},
|
|
799
|
+
"imageUrl": {
|
|
800
|
+
"maxLength": 500,
|
|
801
|
+
"type": "string",
|
|
802
|
+
"description": "图片地址",
|
|
803
|
+
"example": "https://files.example.com/products/cotton-t-shirt.jpg"
|
|
804
|
+
},
|
|
805
|
+
"importHsCode": {
|
|
806
|
+
"maxLength": 100,
|
|
807
|
+
"type": "string",
|
|
808
|
+
"description": "进口海关编码",
|
|
809
|
+
"example": "6109100012"
|
|
810
|
+
},
|
|
811
|
+
"declareElement": {
|
|
812
|
+
"maxLength": 200,
|
|
813
|
+
"type": "string",
|
|
814
|
+
"description": "申报要素",
|
|
815
|
+
"example": "品牌:DEMO;材质:100%棉;用途:日常穿着"
|
|
816
|
+
},
|
|
817
|
+
"model": {
|
|
818
|
+
"type": "string",
|
|
819
|
+
"description": "型号(长度:[255])",
|
|
820
|
+
"example": "TSHIRT-M"
|
|
821
|
+
},
|
|
822
|
+
"goodsDescs": {
|
|
823
|
+
"type": "array",
|
|
824
|
+
"description": "货物描述(带电、带磁等危险品服务,具体值咨询对接方)",
|
|
825
|
+
"example": [
|
|
826
|
+
"普货"
|
|
827
|
+
],
|
|
828
|
+
"items": {
|
|
829
|
+
"type": "string",
|
|
830
|
+
"description": "货物描述(带电、带磁等危险品服务,具体值咨询对接方)",
|
|
831
|
+
"example": "[\"普货\"]"
|
|
832
|
+
}
|
|
833
|
+
},
|
|
834
|
+
"productVersion": {
|
|
835
|
+
"type": "string",
|
|
836
|
+
"description": "产品证书版本ID(长度:[64])",
|
|
837
|
+
"example": "1.0"
|
|
838
|
+
},
|
|
839
|
+
"certificateId": {
|
|
840
|
+
"type": "string",
|
|
841
|
+
"description": "认证机构ID(长度:[64])",
|
|
842
|
+
"example": "DEMO-CERT-001"
|
|
843
|
+
},
|
|
844
|
+
"registryProductId": {
|
|
845
|
+
"type": "string",
|
|
846
|
+
"description": "注册产品ID(长度:[64])",
|
|
847
|
+
"example": "DEMO-REG-001"
|
|
848
|
+
},
|
|
849
|
+
"merchantProductId": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"description": "商户产品标识符 M-PID",
|
|
852
|
+
"example": "DEMO-TSHIRT-WHITE-M",
|
|
853
|
+
"x-added-at": "2026-11-03"
|
|
854
|
+
},
|
|
855
|
+
"nonStandardManufacturerProductId": {
|
|
856
|
+
"type": "string",
|
|
857
|
+
"description": "制造商内部SKU NS-PID",
|
|
858
|
+
"x-added-at": "2026-11-03"
|
|
859
|
+
},
|
|
860
|
+
"standardManufacturerProductId": {
|
|
861
|
+
"type": "string",
|
|
862
|
+
"description": "标准标识符 S-PID",
|
|
863
|
+
"example": "DEMO-STD-001",
|
|
864
|
+
"x-added-at": "2026-11-03"
|
|
865
|
+
}
|
|
866
|
+
},
|
|
867
|
+
"description": "商品信息请求",
|
|
868
|
+
"example": [
|
|
869
|
+
{
|
|
870
|
+
"nameCn": "纯棉T恤",
|
|
871
|
+
"nameEn": "Cotton T-shirt",
|
|
872
|
+
"unitNetWeight": 0.2,
|
|
873
|
+
"sku": "TSHIRT-WHITE-M",
|
|
874
|
+
"asin": "B0DEMO0001",
|
|
875
|
+
"fnSku": "X00DEMO001",
|
|
876
|
+
"purposeCn": "日常穿着",
|
|
877
|
+
"purposeEn": "Daily wear",
|
|
878
|
+
"materialCn": "100%棉",
|
|
879
|
+
"materialEn": "100% cotton",
|
|
880
|
+
"quantity": 10,
|
|
881
|
+
"unit": 0,
|
|
882
|
+
"unitPrice": 20,
|
|
883
|
+
"brand": "DEMO",
|
|
884
|
+
"norms": "M / White",
|
|
885
|
+
"hsCode": "6109100000",
|
|
886
|
+
"origin": "CN",
|
|
887
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
888
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
889
|
+
"importHsCode": "6109100012",
|
|
890
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
891
|
+
"model": "TSHIRT-M",
|
|
892
|
+
"goodsDescs": [
|
|
893
|
+
"普货"
|
|
894
|
+
],
|
|
895
|
+
"productVersion": "1.0",
|
|
896
|
+
"certificateId": "DEMO-CERT-001",
|
|
897
|
+
"registryProductId": "DEMO-REG-001",
|
|
898
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
899
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
900
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
901
|
+
}
|
|
902
|
+
],
|
|
903
|
+
"title": "商品信息请求"
|
|
904
|
+
},
|
|
905
|
+
"CLLRO_OpenApiDocumentOptionRequest": {
|
|
906
|
+
"type": "object",
|
|
907
|
+
"properties": {
|
|
908
|
+
"requiredPieceBarcode": {
|
|
909
|
+
"type": "integer",
|
|
910
|
+
"description": "是否需要入仓标签(0:不需要(默认) 1:需要)",
|
|
911
|
+
"format": "int32",
|
|
912
|
+
"example": 1
|
|
913
|
+
},
|
|
914
|
+
"requiredLabel": {
|
|
915
|
+
"type": "integer",
|
|
916
|
+
"description": "是否需要label(0:否 1:是(默认))",
|
|
917
|
+
"format": "int32",
|
|
918
|
+
"example": 1
|
|
919
|
+
},
|
|
920
|
+
"requiredInvoice": {
|
|
921
|
+
"type": "integer",
|
|
922
|
+
"description": "是否需要发票(0:不需要(默认) 1:需要)",
|
|
923
|
+
"format": "int32",
|
|
924
|
+
"example": 1
|
|
925
|
+
},
|
|
926
|
+
"requiredCopy": {
|
|
927
|
+
"type": "integer",
|
|
928
|
+
"description": "是否需要copy联(0:不需要(默认) 1:需要,仅UPS适用)",
|
|
929
|
+
"format": "int32",
|
|
930
|
+
"example": 0
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"description": "文档属性请求",
|
|
934
|
+
"example": {
|
|
935
|
+
"requiredPieceBarcode": 1,
|
|
936
|
+
"requiredLabel": 1,
|
|
937
|
+
"requiredInvoice": 1,
|
|
938
|
+
"requiredCopy": 0
|
|
939
|
+
},
|
|
940
|
+
"title": "文档属性请求"
|
|
941
|
+
},
|
|
942
|
+
"CLLRO_OpenApiOrderRequest$OpenApiFileRequest": {
|
|
943
|
+
"required": [
|
|
944
|
+
"base64",
|
|
945
|
+
"fileName",
|
|
946
|
+
"type"
|
|
947
|
+
],
|
|
948
|
+
"type": "object",
|
|
949
|
+
"properties": {
|
|
950
|
+
"type": {
|
|
951
|
+
"type": "integer",
|
|
952
|
+
"description": "文件类型(0:客户发票 150:销售凭证 155:商检证明 185:产地证 205:交易证明)",
|
|
953
|
+
"format": "int32",
|
|
954
|
+
"example": 0
|
|
955
|
+
},
|
|
956
|
+
"fileName": {
|
|
957
|
+
"type": "string",
|
|
958
|
+
"description": "文件名(包含后缀)",
|
|
959
|
+
"example": "commercial-invoice.pdf"
|
|
960
|
+
},
|
|
961
|
+
"base64": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"description": "文件base64",
|
|
964
|
+
"example": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
965
|
+
}
|
|
966
|
+
},
|
|
967
|
+
"description": "文件信息请求",
|
|
968
|
+
"example": [
|
|
969
|
+
{
|
|
970
|
+
"type": 0,
|
|
971
|
+
"fileName": "commercial-invoice.pdf",
|
|
972
|
+
"base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
973
|
+
}
|
|
974
|
+
],
|
|
975
|
+
"title": "文件信息请求"
|
|
976
|
+
},
|
|
977
|
+
"CLLRO_OpenApiOrderRequest$OpenApiImporterRequest": {
|
|
978
|
+
"type": "object",
|
|
979
|
+
"properties": {
|
|
980
|
+
"name": {
|
|
981
|
+
"type": "string",
|
|
982
|
+
"description": "名称",
|
|
983
|
+
"example": "Alex Smith"
|
|
984
|
+
},
|
|
985
|
+
"company": {
|
|
986
|
+
"type": "string",
|
|
987
|
+
"description": "公司",
|
|
988
|
+
"example": "Example Trading LLC"
|
|
989
|
+
},
|
|
990
|
+
"phone": {
|
|
991
|
+
"type": "string",
|
|
992
|
+
"description": "电话",
|
|
993
|
+
"example": "+1-213-555-0147"
|
|
994
|
+
},
|
|
995
|
+
"fax": {
|
|
996
|
+
"type": "string",
|
|
997
|
+
"description": "传真",
|
|
998
|
+
"example": "+1-213-555-0148"
|
|
999
|
+
},
|
|
1000
|
+
"email": {
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "邮箱",
|
|
1003
|
+
"example": "recipient@example.com"
|
|
1004
|
+
},
|
|
1005
|
+
"countryCode": {
|
|
1006
|
+
"type": "string",
|
|
1007
|
+
"description": "国家代码",
|
|
1008
|
+
"example": "US"
|
|
1009
|
+
},
|
|
1010
|
+
"state": {
|
|
1011
|
+
"type": "string",
|
|
1012
|
+
"description": "省",
|
|
1013
|
+
"example": "CA"
|
|
1014
|
+
},
|
|
1015
|
+
"city": {
|
|
1016
|
+
"type": "string",
|
|
1017
|
+
"description": "市",
|
|
1018
|
+
"example": "Los Angeles"
|
|
1019
|
+
},
|
|
1020
|
+
"postcode": {
|
|
1021
|
+
"type": "string",
|
|
1022
|
+
"description": "邮编",
|
|
1023
|
+
"example": "90001"
|
|
1024
|
+
},
|
|
1025
|
+
"address1": {
|
|
1026
|
+
"type": "string",
|
|
1027
|
+
"description": "地址1",
|
|
1028
|
+
"example": "123 Example Street"
|
|
1029
|
+
},
|
|
1030
|
+
"address2": {
|
|
1031
|
+
"type": "string",
|
|
1032
|
+
"description": "地址2",
|
|
1033
|
+
"example": "Suite 200"
|
|
1034
|
+
},
|
|
1035
|
+
"address3": {
|
|
1036
|
+
"type": "string",
|
|
1037
|
+
"description": "地址3",
|
|
1038
|
+
"example": "Building A"
|
|
1039
|
+
},
|
|
1040
|
+
"taxType1": {
|
|
1041
|
+
"type": "integer",
|
|
1042
|
+
"description": "税号类型1(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST)",
|
|
1043
|
+
"format": "int32",
|
|
1044
|
+
"example": 1
|
|
1045
|
+
},
|
|
1046
|
+
"taxNo1": {
|
|
1047
|
+
"type": "string",
|
|
1048
|
+
"description": "税号1",
|
|
1049
|
+
"example": "12-3456789"
|
|
1050
|
+
},
|
|
1051
|
+
"taxType2": {
|
|
1052
|
+
"type": "integer",
|
|
1053
|
+
"description": "税号类型2(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST)",
|
|
1054
|
+
"format": "int32",
|
|
1055
|
+
"example": 0
|
|
1056
|
+
},
|
|
1057
|
+
"taxNo2": {
|
|
1058
|
+
"type": "string",
|
|
1059
|
+
"description": "税号2",
|
|
1060
|
+
"example": "DEMO-TAX-002"
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"description": "进口商请求",
|
|
1064
|
+
"example": {
|
|
1065
|
+
"name": "Alex Smith",
|
|
1066
|
+
"company": "Example Trading LLC",
|
|
1067
|
+
"phone": "+1-213-555-0147",
|
|
1068
|
+
"fax": "+1-213-555-0148",
|
|
1069
|
+
"email": "recipient@example.com",
|
|
1070
|
+
"countryCode": "US",
|
|
1071
|
+
"state": "CA",
|
|
1072
|
+
"city": "Los Angeles",
|
|
1073
|
+
"postcode": "90001",
|
|
1074
|
+
"address1": "123 Example Street",
|
|
1075
|
+
"address2": "Suite 200",
|
|
1076
|
+
"address3": "Building A",
|
|
1077
|
+
"taxType1": 1,
|
|
1078
|
+
"taxNo1": "12-3456789",
|
|
1079
|
+
"taxType2": 0,
|
|
1080
|
+
"taxNo2": "DEMO-TAX-002"
|
|
1081
|
+
},
|
|
1082
|
+
"title": "进口商请求"
|
|
1083
|
+
},
|
|
1084
|
+
"CLLRO_OpenApiOrderRequest$OpenApiRecipientRequest": {
|
|
1085
|
+
"required": [
|
|
1086
|
+
"address1",
|
|
1087
|
+
"countryCode"
|
|
1088
|
+
],
|
|
1089
|
+
"type": "object",
|
|
1090
|
+
"properties": {
|
|
1091
|
+
"name": {
|
|
1092
|
+
"type": "string",
|
|
1093
|
+
"description": "姓名",
|
|
1094
|
+
"example": "Alex Smith"
|
|
1095
|
+
},
|
|
1096
|
+
"company": {
|
|
1097
|
+
"type": "string",
|
|
1098
|
+
"description": "公司",
|
|
1099
|
+
"example": "Example Trading LLC"
|
|
1100
|
+
},
|
|
1101
|
+
"phone": {
|
|
1102
|
+
"type": "string",
|
|
1103
|
+
"description": "电话",
|
|
1104
|
+
"example": "+1-213-555-0147"
|
|
1105
|
+
},
|
|
1106
|
+
"email": {
|
|
1107
|
+
"type": "string",
|
|
1108
|
+
"description": "邮箱",
|
|
1109
|
+
"example": "recipient@example.com"
|
|
1110
|
+
},
|
|
1111
|
+
"countryCode": {
|
|
1112
|
+
"type": "string",
|
|
1113
|
+
"description": "国家代码",
|
|
1114
|
+
"example": "US"
|
|
1115
|
+
},
|
|
1116
|
+
"state": {
|
|
1117
|
+
"type": "string",
|
|
1118
|
+
"description": "省/州简码",
|
|
1119
|
+
"example": "CA"
|
|
1120
|
+
},
|
|
1121
|
+
"city": {
|
|
1122
|
+
"type": "string",
|
|
1123
|
+
"description": "市",
|
|
1124
|
+
"example": "Los Angeles"
|
|
1125
|
+
},
|
|
1126
|
+
"postcode": {
|
|
1127
|
+
"type": "string",
|
|
1128
|
+
"description": "邮编",
|
|
1129
|
+
"example": "90001"
|
|
1130
|
+
},
|
|
1131
|
+
"address1": {
|
|
1132
|
+
"type": "string",
|
|
1133
|
+
"description": "地址1",
|
|
1134
|
+
"example": "123 Example Street"
|
|
1135
|
+
},
|
|
1136
|
+
"address2": {
|
|
1137
|
+
"type": "string",
|
|
1138
|
+
"description": "地址2",
|
|
1139
|
+
"example": "Suite 200"
|
|
1140
|
+
},
|
|
1141
|
+
"address3": {
|
|
1142
|
+
"type": "string",
|
|
1143
|
+
"description": "地址3",
|
|
1144
|
+
"example": "Building A"
|
|
1145
|
+
},
|
|
1146
|
+
"taxType1": {
|
|
1147
|
+
"type": "integer",
|
|
1148
|
+
"description": "税号类型1(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST 11:CNPJ 12:CPF)",
|
|
1149
|
+
"format": "int32",
|
|
1150
|
+
"example": 1
|
|
1151
|
+
},
|
|
1152
|
+
"taxNo1": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"description": "税号1",
|
|
1155
|
+
"example": "12-3456789"
|
|
1156
|
+
},
|
|
1157
|
+
"taxType2": {
|
|
1158
|
+
"type": "integer",
|
|
1159
|
+
"description": "税号类型2(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST 11:CNPJ 12:CPF)",
|
|
1160
|
+
"format": "int32",
|
|
1161
|
+
"example": 0
|
|
1162
|
+
},
|
|
1163
|
+
"taxNo2": {
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"description": "税号2",
|
|
1166
|
+
"example": "DEMO-TAX-002"
|
|
1167
|
+
},
|
|
1168
|
+
"suburb": {
|
|
1169
|
+
"type": "string",
|
|
1170
|
+
"description": "郊区",
|
|
1171
|
+
"example": "Florence"
|
|
1172
|
+
},
|
|
1173
|
+
"houseNumber": {
|
|
1174
|
+
"type": "string",
|
|
1175
|
+
"description": "门牌号",
|
|
1176
|
+
"example": "123"
|
|
1177
|
+
},
|
|
1178
|
+
"fbaWarehouseCode": {
|
|
1179
|
+
"type": "string",
|
|
1180
|
+
"description": "FBA仓库代码",
|
|
1181
|
+
"example": "ONT8"
|
|
1182
|
+
},
|
|
1183
|
+
"partyType": {
|
|
1184
|
+
"type": "integer",
|
|
1185
|
+
"description": "贸易主体类型 1:企业/机构 2:个人/自然人",
|
|
1186
|
+
"format": "int32",
|
|
1187
|
+
"example": 1
|
|
1188
|
+
},
|
|
1189
|
+
"cardType": {
|
|
1190
|
+
"type": "integer",
|
|
1191
|
+
"description": "证件类型 1:身份证 2:护照",
|
|
1192
|
+
"format": "int32",
|
|
1193
|
+
"example": 1
|
|
1194
|
+
},
|
|
1195
|
+
"cardNo": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"description": "证件号码",
|
|
1198
|
+
"example": "DEMO-CERT-001"
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"description": "收件人请求",
|
|
1202
|
+
"example": {
|
|
1203
|
+
"name": "Alex Smith",
|
|
1204
|
+
"company": "Example Trading LLC",
|
|
1205
|
+
"phone": "+1-213-555-0147",
|
|
1206
|
+
"email": "recipient@example.com",
|
|
1207
|
+
"countryCode": "US",
|
|
1208
|
+
"state": "CA",
|
|
1209
|
+
"city": "Los Angeles",
|
|
1210
|
+
"postcode": "90001",
|
|
1211
|
+
"address1": "123 Example Street",
|
|
1212
|
+
"address2": "Suite 200",
|
|
1213
|
+
"address3": "Building A",
|
|
1214
|
+
"taxType1": 1,
|
|
1215
|
+
"taxNo1": "12-3456789",
|
|
1216
|
+
"taxType2": 0,
|
|
1217
|
+
"taxNo2": "DEMO-TAX-002",
|
|
1218
|
+
"suburb": "Florence",
|
|
1219
|
+
"houseNumber": "123",
|
|
1220
|
+
"fbaWarehouseCode": "ONT8",
|
|
1221
|
+
"partyType": 1,
|
|
1222
|
+
"cardType": 1,
|
|
1223
|
+
"cardNo": "DEMO-CERT-001"
|
|
1224
|
+
},
|
|
1225
|
+
"title": "收件人请求"
|
|
1226
|
+
},
|
|
1227
|
+
"CLLRO_OpenApiOrderRequest$OpenApiSenderRequest": {
|
|
1228
|
+
"type": "object",
|
|
1229
|
+
"properties": {
|
|
1230
|
+
"name": {
|
|
1231
|
+
"type": "string",
|
|
1232
|
+
"description": "姓名",
|
|
1233
|
+
"example": "李明"
|
|
1234
|
+
},
|
|
1235
|
+
"company": {
|
|
1236
|
+
"type": "string",
|
|
1237
|
+
"description": "公司",
|
|
1238
|
+
"example": "深圳示例贸易有限公司"
|
|
1239
|
+
},
|
|
1240
|
+
"phone": {
|
|
1241
|
+
"type": "string",
|
|
1242
|
+
"description": "电话",
|
|
1243
|
+
"example": "+86-13800000000"
|
|
1244
|
+
},
|
|
1245
|
+
"email": {
|
|
1246
|
+
"type": "string",
|
|
1247
|
+
"description": "邮箱",
|
|
1248
|
+
"example": "sender@example.com"
|
|
1249
|
+
},
|
|
1250
|
+
"countryCode": {
|
|
1251
|
+
"type": "string",
|
|
1252
|
+
"description": "国家代码",
|
|
1253
|
+
"example": "CN"
|
|
1254
|
+
},
|
|
1255
|
+
"state": {
|
|
1256
|
+
"type": "string",
|
|
1257
|
+
"description": "省/州简码",
|
|
1258
|
+
"example": "GD"
|
|
1259
|
+
},
|
|
1260
|
+
"city": {
|
|
1261
|
+
"type": "string",
|
|
1262
|
+
"description": "市",
|
|
1263
|
+
"example": "Shenzhen"
|
|
1264
|
+
},
|
|
1265
|
+
"postcode": {
|
|
1266
|
+
"type": "string",
|
|
1267
|
+
"description": "邮编",
|
|
1268
|
+
"example": "518000"
|
|
1269
|
+
},
|
|
1270
|
+
"address1": {
|
|
1271
|
+
"type": "string",
|
|
1272
|
+
"description": "地址1",
|
|
1273
|
+
"example": "No. 1 Example Road, Nanshan District"
|
|
1274
|
+
},
|
|
1275
|
+
"address2": {
|
|
1276
|
+
"type": "string",
|
|
1277
|
+
"description": "地址2",
|
|
1278
|
+
"example": "Building A"
|
|
1279
|
+
},
|
|
1280
|
+
"address3": {
|
|
1281
|
+
"type": "string",
|
|
1282
|
+
"description": "地址3",
|
|
1283
|
+
"example": "Room 101"
|
|
1284
|
+
},
|
|
1285
|
+
"suburb": {
|
|
1286
|
+
"type": "string",
|
|
1287
|
+
"description": "郊区",
|
|
1288
|
+
"example": "Nanshan"
|
|
1289
|
+
},
|
|
1290
|
+
"taxType1": {
|
|
1291
|
+
"type": "integer",
|
|
1292
|
+
"description": "税号类型1(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST 11:CNPJ 12:CPF)",
|
|
1293
|
+
"format": "int32",
|
|
1294
|
+
"example": 1
|
|
1295
|
+
},
|
|
1296
|
+
"taxNo1": {
|
|
1297
|
+
"type": "string",
|
|
1298
|
+
"description": "税号1",
|
|
1299
|
+
"example": "DEMO-CN-TAX-001"
|
|
1300
|
+
},
|
|
1301
|
+
"taxType2": {
|
|
1302
|
+
"type": "integer",
|
|
1303
|
+
"description": "税号类型2(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST 11:CNPJ 12:CPF)",
|
|
1304
|
+
"format": "int32",
|
|
1305
|
+
"example": 0
|
|
1306
|
+
},
|
|
1307
|
+
"taxNo2": {
|
|
1308
|
+
"type": "string",
|
|
1309
|
+
"description": "税号2",
|
|
1310
|
+
"example": "DEMO-TAX-002"
|
|
1311
|
+
},
|
|
1312
|
+
"partyType": {
|
|
1313
|
+
"type": "integer",
|
|
1314
|
+
"description": "贸易主体类型 1:企业/机构 2:个人/自然人",
|
|
1315
|
+
"format": "int32",
|
|
1316
|
+
"example": 1
|
|
1317
|
+
}
|
|
1318
|
+
},
|
|
1319
|
+
"description": "发件人请求",
|
|
1320
|
+
"example": {
|
|
1321
|
+
"name": "李明",
|
|
1322
|
+
"company": "深圳示例贸易有限公司",
|
|
1323
|
+
"phone": "+86-13800000000",
|
|
1324
|
+
"email": "sender@example.com",
|
|
1325
|
+
"countryCode": "CN",
|
|
1326
|
+
"state": "GD",
|
|
1327
|
+
"city": "Shenzhen",
|
|
1328
|
+
"postcode": "518000",
|
|
1329
|
+
"address1": "No. 1 Example Road, Nanshan District",
|
|
1330
|
+
"address2": "Building A",
|
|
1331
|
+
"address3": "Room 101",
|
|
1332
|
+
"suburb": "Nanshan",
|
|
1333
|
+
"taxType1": 1,
|
|
1334
|
+
"taxNo1": "DEMO-CN-TAX-001",
|
|
1335
|
+
"taxType2": 0,
|
|
1336
|
+
"taxNo2": "DEMO-TAX-002",
|
|
1337
|
+
"partyType": 1
|
|
1338
|
+
},
|
|
1339
|
+
"title": "发件人请求"
|
|
1340
|
+
},
|
|
1341
|
+
"CLLRO_OpenApiOrderRequest$OpenApiTaxPayorRequest": {
|
|
1342
|
+
"type": "object",
|
|
1343
|
+
"properties": {
|
|
1344
|
+
"type": {
|
|
1345
|
+
"type": "integer",
|
|
1346
|
+
"description": "支付方式(0:寄付(PP) 1:到付(CC) 2:第三方付(TP),默认到付(CC))",
|
|
1347
|
+
"format": "int32",
|
|
1348
|
+
"example": 0
|
|
1349
|
+
},
|
|
1350
|
+
"accountNumber": {
|
|
1351
|
+
"type": "string",
|
|
1352
|
+
"description": "账号",
|
|
1353
|
+
"example": "DEMO123456"
|
|
1354
|
+
},
|
|
1355
|
+
"name": {
|
|
1356
|
+
"type": "string",
|
|
1357
|
+
"description": "名称",
|
|
1358
|
+
"example": "Alex Smith"
|
|
1359
|
+
},
|
|
1360
|
+
"company": {
|
|
1361
|
+
"type": "string",
|
|
1362
|
+
"description": "公司",
|
|
1363
|
+
"example": "Example Trading LLC"
|
|
1364
|
+
},
|
|
1365
|
+
"phone": {
|
|
1366
|
+
"type": "string",
|
|
1367
|
+
"description": "电话",
|
|
1368
|
+
"example": "+1-213-555-0147"
|
|
1369
|
+
},
|
|
1370
|
+
"fax": {
|
|
1371
|
+
"type": "string",
|
|
1372
|
+
"description": "传真",
|
|
1373
|
+
"example": "+1-213-555-0148"
|
|
1374
|
+
},
|
|
1375
|
+
"email": {
|
|
1376
|
+
"type": "string",
|
|
1377
|
+
"description": "邮箱",
|
|
1378
|
+
"example": "recipient@example.com"
|
|
1379
|
+
},
|
|
1380
|
+
"countryCode": {
|
|
1381
|
+
"type": "string",
|
|
1382
|
+
"description": "国家代码",
|
|
1383
|
+
"example": "US"
|
|
1384
|
+
},
|
|
1385
|
+
"state": {
|
|
1386
|
+
"type": "string",
|
|
1387
|
+
"description": "省",
|
|
1388
|
+
"example": "CA"
|
|
1389
|
+
},
|
|
1390
|
+
"city": {
|
|
1391
|
+
"type": "string",
|
|
1392
|
+
"description": "市",
|
|
1393
|
+
"example": "Los Angeles"
|
|
1394
|
+
},
|
|
1395
|
+
"postcode": {
|
|
1396
|
+
"type": "string",
|
|
1397
|
+
"description": "邮编",
|
|
1398
|
+
"example": "90001"
|
|
1399
|
+
},
|
|
1400
|
+
"address1": {
|
|
1401
|
+
"type": "string",
|
|
1402
|
+
"description": "地址1",
|
|
1403
|
+
"example": "123 Example Street"
|
|
1404
|
+
},
|
|
1405
|
+
"address2": {
|
|
1406
|
+
"type": "string",
|
|
1407
|
+
"description": "地址2",
|
|
1408
|
+
"example": "Suite 200"
|
|
1409
|
+
},
|
|
1410
|
+
"address3": {
|
|
1411
|
+
"type": "string",
|
|
1412
|
+
"description": "地址3",
|
|
1413
|
+
"example": "Building A"
|
|
1414
|
+
}
|
|
1415
|
+
},
|
|
1416
|
+
"description": "税金支付人请求",
|
|
1417
|
+
"example": {
|
|
1418
|
+
"type": 0,
|
|
1419
|
+
"accountNumber": "DEMO123456",
|
|
1420
|
+
"name": "Alex Smith",
|
|
1421
|
+
"company": "Example Trading LLC",
|
|
1422
|
+
"phone": "+1-213-555-0147",
|
|
1423
|
+
"fax": "+1-213-555-0148",
|
|
1424
|
+
"email": "recipient@example.com",
|
|
1425
|
+
"countryCode": "US",
|
|
1426
|
+
"state": "CA",
|
|
1427
|
+
"city": "Los Angeles",
|
|
1428
|
+
"postcode": "90001",
|
|
1429
|
+
"address1": "123 Example Street",
|
|
1430
|
+
"address2": "Suite 200",
|
|
1431
|
+
"address3": "Building A"
|
|
1432
|
+
},
|
|
1433
|
+
"title": "税金支付人请求"
|
|
1434
|
+
},
|
|
1435
|
+
"CLLRO_OpenApiOrderRequest$OpenApiWaybillInfoRequest": {
|
|
1436
|
+
"type": "object",
|
|
1437
|
+
"properties": {
|
|
1438
|
+
"productCode": {
|
|
1439
|
+
"type": "string",
|
|
1440
|
+
"description": "产品代码",
|
|
1441
|
+
"example": "US-EXPRESS-DEMO"
|
|
1442
|
+
},
|
|
1443
|
+
"declareValue": {
|
|
1444
|
+
"type": "number",
|
|
1445
|
+
"description": "申报价值",
|
|
1446
|
+
"example": 200
|
|
1447
|
+
},
|
|
1448
|
+
"declareCurrency": {
|
|
1449
|
+
"type": "string",
|
|
1450
|
+
"description": "申报币种",
|
|
1451
|
+
"example": "USD"
|
|
1452
|
+
},
|
|
1453
|
+
"orderRemark": {
|
|
1454
|
+
"type": "string",
|
|
1455
|
+
"description": "下单备注",
|
|
1456
|
+
"example": "普通货物,请妥善包装"
|
|
1457
|
+
},
|
|
1458
|
+
"tradeClause": {
|
|
1459
|
+
"type": "integer",
|
|
1460
|
+
"description": "贸易条款(0:DAP 1:DDP 2:EXW 3:FOB 4:CIF 5:CFR 6:DDU 7:FCA 8:CPT 9:CIP 10:DAF 11:DAT 12:DEQ 13:DES 14:FAS 15:DPU)",
|
|
1461
|
+
"format": "int32",
|
|
1462
|
+
"example": 0
|
|
1463
|
+
},
|
|
1464
|
+
"needInsure": {
|
|
1465
|
+
"type": "integer",
|
|
1466
|
+
"description": "是否需要保险 0:否(默认) 1:是",
|
|
1467
|
+
"format": "int32",
|
|
1468
|
+
"example": 0
|
|
1469
|
+
},
|
|
1470
|
+
"declareType": {
|
|
1471
|
+
"type": "integer",
|
|
1472
|
+
"description": "报关方式(0:其他 1:单独报关 2:合并报关 3:买单报关)",
|
|
1473
|
+
"format": "int32",
|
|
1474
|
+
"example": 0
|
|
1475
|
+
},
|
|
1476
|
+
"packageType": {
|
|
1477
|
+
"type": "integer",
|
|
1478
|
+
"description": "包裹类型(0:包裹(WPX)(默认) 1:文件(DOC) 2:包裹袋(PAK))",
|
|
1479
|
+
"format": "int32",
|
|
1480
|
+
"example": 0
|
|
1481
|
+
},
|
|
1482
|
+
"goodsDescs": {
|
|
1483
|
+
"type": "array",
|
|
1484
|
+
"description": "货物描述(带电、带磁等危险品服务,具体值咨询对接方)",
|
|
1485
|
+
"example": [
|
|
1486
|
+
"普货"
|
|
1487
|
+
],
|
|
1488
|
+
"items": {
|
|
1489
|
+
"type": "string",
|
|
1490
|
+
"description": "货物描述(带电、带磁等危险品服务,具体值咨询对接方)",
|
|
1491
|
+
"example": "[\"普货\"]"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
"isPaperLess": {
|
|
1495
|
+
"type": "integer",
|
|
1496
|
+
"description": "是否无纸化(0:否 1:是(默认))",
|
|
1497
|
+
"format": "int32",
|
|
1498
|
+
"example": 1
|
|
1499
|
+
},
|
|
1500
|
+
"isSaturdayDelivery": {
|
|
1501
|
+
"type": "integer",
|
|
1502
|
+
"description": "是否周六派送(0:否(默认) 1:是)",
|
|
1503
|
+
"format": "int32",
|
|
1504
|
+
"example": 0
|
|
1505
|
+
},
|
|
1506
|
+
"exportReason": {
|
|
1507
|
+
"type": "integer",
|
|
1508
|
+
"description": "出口原因(0:SALE 销售 1:GIFT 礼品 2:SAMPLE 样品 3:RETURN 退货 4:REPAIR 维修 5:REPLACEMENT 换货 6:PERSONAL_EFFECTS 个人物品 20:OTHER 其他)",
|
|
1509
|
+
"format": "int32",
|
|
1510
|
+
"example": 0
|
|
1511
|
+
},
|
|
1512
|
+
"shipDate": {
|
|
1513
|
+
"pattern": "\\s*|[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])",
|
|
1514
|
+
"type": "string",
|
|
1515
|
+
"description": "寄件日期,格式yyyy-MM-dd",
|
|
1516
|
+
"example": "2026-11-03"
|
|
1517
|
+
},
|
|
1518
|
+
"signatureType": {
|
|
1519
|
+
"type": "integer",
|
|
1520
|
+
"description": "签名服务类型(0:无需签名(默认) 1:普通签名 2成人签名)",
|
|
1521
|
+
"format": "int32",
|
|
1522
|
+
"example": 0
|
|
1523
|
+
},
|
|
1524
|
+
"declareFreightFee": {
|
|
1525
|
+
"type": "number",
|
|
1526
|
+
"description": "申报运费",
|
|
1527
|
+
"example": 30
|
|
1528
|
+
},
|
|
1529
|
+
"declareOtherFee": {
|
|
1530
|
+
"type": "number",
|
|
1531
|
+
"description": "申报其他费用",
|
|
1532
|
+
"example": 5
|
|
1533
|
+
},
|
|
1534
|
+
"declareHandlingFee": {
|
|
1535
|
+
"type": "number",
|
|
1536
|
+
"description": "申报手续费用",
|
|
1537
|
+
"example": 2
|
|
1538
|
+
},
|
|
1539
|
+
"declareInsuranceFee": {
|
|
1540
|
+
"type": "number",
|
|
1541
|
+
"description": "申报保险费用",
|
|
1542
|
+
"example": 3
|
|
1543
|
+
},
|
|
1544
|
+
"invoiceNumber": {
|
|
1545
|
+
"type": "string",
|
|
1546
|
+
"description": "发票号码",
|
|
1547
|
+
"example": "INV202611030001"
|
|
1548
|
+
},
|
|
1549
|
+
"invoiceRemark": {
|
|
1550
|
+
"type": "string",
|
|
1551
|
+
"description": "发票备注",
|
|
1552
|
+
"example": "Commercial invoice for cotton T-shirts"
|
|
1553
|
+
},
|
|
1554
|
+
"labelDesc": {
|
|
1555
|
+
"type": "string",
|
|
1556
|
+
"description": "制单备注",
|
|
1557
|
+
"example": "BOX001 / Cotton T-shirts"
|
|
1558
|
+
}
|
|
1559
|
+
},
|
|
1560
|
+
"description": "运单信息请求",
|
|
1561
|
+
"example": {
|
|
1562
|
+
"productCode": "US-EXPRESS-DEMO",
|
|
1563
|
+
"declareValue": 200,
|
|
1564
|
+
"declareCurrency": "USD",
|
|
1565
|
+
"orderRemark": "普通货物,请妥善包装",
|
|
1566
|
+
"tradeClause": 0,
|
|
1567
|
+
"needInsure": 0,
|
|
1568
|
+
"declareType": 0,
|
|
1569
|
+
"packageType": 0,
|
|
1570
|
+
"goodsDescs": [
|
|
1571
|
+
"普货"
|
|
1572
|
+
],
|
|
1573
|
+
"isPaperLess": 1,
|
|
1574
|
+
"isSaturdayDelivery": 0,
|
|
1575
|
+
"exportReason": 0,
|
|
1576
|
+
"shipDate": "2026-11-03",
|
|
1577
|
+
"signatureType": 0,
|
|
1578
|
+
"declareFreightFee": 30,
|
|
1579
|
+
"declareOtherFee": 5,
|
|
1580
|
+
"declareHandlingFee": 2,
|
|
1581
|
+
"declareInsuranceFee": 3,
|
|
1582
|
+
"invoiceNumber": "INV202611030001",
|
|
1583
|
+
"invoiceRemark": "Commercial invoice for cotton T-shirts",
|
|
1584
|
+
"labelDesc": "BOX001 / Cotton T-shirts"
|
|
1585
|
+
},
|
|
1586
|
+
"title": "运单信息请求"
|
|
1587
|
+
},
|
|
1588
|
+
"CLLRO_OpenApiSpecialLineOrderRequest": {
|
|
1589
|
+
"required": [
|
|
1590
|
+
"boxes",
|
|
1591
|
+
"customerKey",
|
|
1592
|
+
"customerNo",
|
|
1593
|
+
"info",
|
|
1594
|
+
"recipient"
|
|
1595
|
+
],
|
|
1596
|
+
"type": "object",
|
|
1597
|
+
"properties": {
|
|
1598
|
+
"customerKey": {
|
|
1599
|
+
"type": "string",
|
|
1600
|
+
"description": "customerKey,请联系客服提供,保密使用,谨防泄漏",
|
|
1601
|
+
"example": "DEMO_CUSTOMER_KEY_NOT_VALID"
|
|
1602
|
+
},
|
|
1603
|
+
"customerNo": {
|
|
1604
|
+
"maxLength": 100,
|
|
1605
|
+
"type": "string",
|
|
1606
|
+
"description": "客户单号",
|
|
1607
|
+
"example": "DEMO202611030001"
|
|
1608
|
+
},
|
|
1609
|
+
"customerExtraNo": {
|
|
1610
|
+
"maxLength": 100,
|
|
1611
|
+
"type": "string",
|
|
1612
|
+
"description": "客户额外单号",
|
|
1613
|
+
"example": "PO202611030001"
|
|
1614
|
+
},
|
|
1615
|
+
"bookingConfirmationNumber": {
|
|
1616
|
+
"type": "string",
|
|
1617
|
+
"description": "大货预约编号(用于FedEx IPF、IEF等Freight服务)",
|
|
1618
|
+
"example": "DEMO-FRT-20261103-001"
|
|
1619
|
+
},
|
|
1620
|
+
"info": {
|
|
1621
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiWaybillInfoRequest"
|
|
1622
|
+
},
|
|
1623
|
+
"recipient": {
|
|
1624
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiRecipientRequest"
|
|
1625
|
+
},
|
|
1626
|
+
"sender": {
|
|
1627
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiSenderRequest"
|
|
1628
|
+
},
|
|
1629
|
+
"taxPayor": {
|
|
1630
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiTaxPayorRequest"
|
|
1631
|
+
},
|
|
1632
|
+
"importer": {
|
|
1633
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiImporterRequest"
|
|
1634
|
+
},
|
|
1635
|
+
"mode": {
|
|
1636
|
+
"type": "integer",
|
|
1637
|
+
"description": "模式(0:同时制单 1:仅下单)",
|
|
1638
|
+
"format": "int32",
|
|
1639
|
+
"example": 0
|
|
1640
|
+
},
|
|
1641
|
+
"documentOption": {
|
|
1642
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiDocumentOptionRequest"
|
|
1643
|
+
},
|
|
1644
|
+
"ecomPlatformType": {
|
|
1645
|
+
"type": "string",
|
|
1646
|
+
"description": "电商平台类型(DHGATE:敦煌 WISH:wish EBAY:ebay ALI-EXPRESS:速卖通 JD:京东 TEMU:TEMU TIKTOK:tiktok AMAZON:亚马逊 SHOPEE:虾皮 LAZADA:来赞达 SHEIN:希音 SHOPIFY:SHOPIFY WALMART:沃尔玛 OZON:OZON JOOM:JOOM ALIBABA:阿里巴巴国际站 MERCADO:美客多 ETSY:ETSY SHOPLAZZA:店匠 WOOCOMMERCE:WOOCOMMERCE SHOPYY:SHOPYY UEESHOP:UEESHOP SHOPLINE:SHOPLINE CDISCOUNT:CDISCOUNT DARAZ:达拉兹 COUPANG:酷澎 ALLEGRO:ALLEGRO JUMIA:JUMIA MAGENTO:MAGENTO BIGCOMMERCE:BIGCOMMERCE KILIMALL:KILIMALL GEARBEST:GEARBEST TIKI:TIKI SHOPBASE:SHOPBASE KAUFLAND:KAUFLAND FUNPINPIN:FUNPINPIN ALLVALUE:有赞 SHOPEXP:shopexpress FNAC:FNAC RAKUTEN:乐天 QOO10:趣天 1688:1688 OTHER:其他来源(例如:手工订单))",
|
|
1647
|
+
"example": "AMAZON"
|
|
1648
|
+
},
|
|
1649
|
+
"ecomErpType": {
|
|
1650
|
+
"type": "string",
|
|
1651
|
+
"description": "电商erp类型(DIAN-XIAO-MI:店小秘 MABANG:马帮 WXW:旺销王 TONG-TOOL:通途 QQZS:交易助手 WDJL:网店精灵 MGDZ:芒果店长 SU-MOOL:速猫 SH:赛盒 YI-CANG:易仓 MIAO-SHOU:妙手 LX:领星)",
|
|
1652
|
+
"example": "WXW"
|
|
1653
|
+
},
|
|
1654
|
+
"ecomEarliestTimeBuyLabel": {
|
|
1655
|
+
"type": "integer",
|
|
1656
|
+
"description": "电商最早可买单时间(毫秒时间戳)",
|
|
1657
|
+
"format": "int64",
|
|
1658
|
+
"example": 1793671200000
|
|
1659
|
+
},
|
|
1660
|
+
"ecomSendDealLineTime": {
|
|
1661
|
+
"type": "integer",
|
|
1662
|
+
"description": "电商发货截止时间(毫秒时间戳)",
|
|
1663
|
+
"format": "int64",
|
|
1664
|
+
"example": 1793844000000
|
|
1665
|
+
},
|
|
1666
|
+
"ecomBuyLabelAreaCode": {
|
|
1667
|
+
"type": "string",
|
|
1668
|
+
"description": "电商买单仓库代码",
|
|
1669
|
+
"example": "US"
|
|
1670
|
+
},
|
|
1671
|
+
"ecomBuyLabelChannel": {
|
|
1672
|
+
"type": "string",
|
|
1673
|
+
"description": "电商买单渠道",
|
|
1674
|
+
"example": "US-AIR-DEMO"
|
|
1675
|
+
},
|
|
1676
|
+
"ecomInfo": {
|
|
1677
|
+
"type": "object",
|
|
1678
|
+
"properties": {
|
|
1679
|
+
"ecomBuyLabelUrl": {
|
|
1680
|
+
"type": "string",
|
|
1681
|
+
"description": "电商买单链接"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"additionalProperties": {
|
|
1685
|
+
"type": "object",
|
|
1686
|
+
"description": "电商信息",
|
|
1687
|
+
"example": {
|
|
1688
|
+
"ecomBuyLabelUrl": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
1689
|
+
}
|
|
1690
|
+
},
|
|
1691
|
+
"description": "电商信息",
|
|
1692
|
+
"example": {
|
|
1693
|
+
"ecomBuyLabelUrl": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
1694
|
+
}
|
|
1695
|
+
},
|
|
1696
|
+
"files": {
|
|
1697
|
+
"maxItems": 4,
|
|
1698
|
+
"minItems": 0,
|
|
1699
|
+
"type": "array",
|
|
1700
|
+
"description": "文件信息",
|
|
1701
|
+
"example": [
|
|
1702
|
+
{
|
|
1703
|
+
"type": 0,
|
|
1704
|
+
"fileName": "commercial-invoice.pdf",
|
|
1705
|
+
"base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
1706
|
+
}
|
|
1707
|
+
],
|
|
1708
|
+
"items": {
|
|
1709
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiFileRequest"
|
|
1710
|
+
}
|
|
1711
|
+
},
|
|
1712
|
+
"boxes": {
|
|
1713
|
+
"type": "array",
|
|
1714
|
+
"description": "装箱信息",
|
|
1715
|
+
"example": [
|
|
1716
|
+
{
|
|
1717
|
+
"boxNo": "BOX001",
|
|
1718
|
+
"actualWeight": 5,
|
|
1719
|
+
"length": 40,
|
|
1720
|
+
"width": 30,
|
|
1721
|
+
"height": 25,
|
|
1722
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
1723
|
+
"fbaReferenceId": "1234567890",
|
|
1724
|
+
"purchaseOrderNumber": "PO202611030001",
|
|
1725
|
+
"commodities": [
|
|
1726
|
+
{
|
|
1727
|
+
"nameCn": "纯棉T恤",
|
|
1728
|
+
"nameEn": "Cotton T-shirt",
|
|
1729
|
+
"unitNetWeight": 0.2,
|
|
1730
|
+
"sku": "TSHIRT-WHITE-M",
|
|
1731
|
+
"asin": "B0DEMO0001",
|
|
1732
|
+
"fnSku": "X00DEMO001",
|
|
1733
|
+
"purposeCn": "日常穿着",
|
|
1734
|
+
"purposeEn": "Daily wear",
|
|
1735
|
+
"materialCn": "100%棉",
|
|
1736
|
+
"materialEn": "100% cotton",
|
|
1737
|
+
"quantity": 5,
|
|
1738
|
+
"unit": 0,
|
|
1739
|
+
"unitPrice": 20,
|
|
1740
|
+
"brand": "DEMO",
|
|
1741
|
+
"norms": "M / White",
|
|
1742
|
+
"hsCode": "6109100000",
|
|
1743
|
+
"origin": "CN",
|
|
1744
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
1745
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
1746
|
+
"importHsCode": "6109100012",
|
|
1747
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
1748
|
+
"model": "TSHIRT-M",
|
|
1749
|
+
"goodsDescs": [
|
|
1750
|
+
"普货"
|
|
1751
|
+
],
|
|
1752
|
+
"productVersion": "1.0",
|
|
1753
|
+
"certificateId": "DEMO-CERT-001",
|
|
1754
|
+
"registryProductId": "DEMO-REG-001",
|
|
1755
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
1756
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
1757
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
1758
|
+
}
|
|
1759
|
+
]
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
"boxNo": "BOX002",
|
|
1763
|
+
"actualWeight": 5,
|
|
1764
|
+
"length": 40,
|
|
1765
|
+
"width": 30,
|
|
1766
|
+
"height": 25,
|
|
1767
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
1768
|
+
"fbaReferenceId": "1234567890",
|
|
1769
|
+
"purchaseOrderNumber": "PO202611030001",
|
|
1770
|
+
"commodities": [
|
|
1771
|
+
{
|
|
1772
|
+
"nameCn": "纯棉T恤",
|
|
1773
|
+
"nameEn": "Cotton T-shirt",
|
|
1774
|
+
"unitNetWeight": 0.2,
|
|
1775
|
+
"sku": "TSHIRT-WHITE-M",
|
|
1776
|
+
"asin": "B0DEMO0001",
|
|
1777
|
+
"fnSku": "X00DEMO001",
|
|
1778
|
+
"purposeCn": "日常穿着",
|
|
1779
|
+
"purposeEn": "Daily wear",
|
|
1780
|
+
"materialCn": "100%棉",
|
|
1781
|
+
"materialEn": "100% cotton",
|
|
1782
|
+
"quantity": 5,
|
|
1783
|
+
"unit": 0,
|
|
1784
|
+
"unitPrice": 20,
|
|
1785
|
+
"brand": "DEMO",
|
|
1786
|
+
"norms": "M / White",
|
|
1787
|
+
"hsCode": "6109100000",
|
|
1788
|
+
"origin": "CN",
|
|
1789
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
1790
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
1791
|
+
"importHsCode": "6109100012",
|
|
1792
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
1793
|
+
"model": "TSHIRT-M",
|
|
1794
|
+
"goodsDescs": [
|
|
1795
|
+
"普货"
|
|
1796
|
+
],
|
|
1797
|
+
"productVersion": "1.0",
|
|
1798
|
+
"certificateId": "DEMO-CERT-001",
|
|
1799
|
+
"registryProductId": "DEMO-REG-001",
|
|
1800
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
1801
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
1802
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
1803
|
+
}
|
|
1804
|
+
]
|
|
1805
|
+
}
|
|
1806
|
+
],
|
|
1807
|
+
"items": {
|
|
1808
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiSpecialLineOrderRequest$OpenApiOrderBoxRequest"
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
},
|
|
1812
|
+
"description": "专线下单请求",
|
|
1813
|
+
"title": "专线下单请求"
|
|
1814
|
+
},
|
|
1815
|
+
"CLLRO_OpenApiSpecialLineOrderRequest$OpenApiOrderBoxRequest": {
|
|
1816
|
+
"type": "object",
|
|
1817
|
+
"properties": {
|
|
1818
|
+
"boxNo": {
|
|
1819
|
+
"type": "string",
|
|
1820
|
+
"description": "箱号(客户自定义)",
|
|
1821
|
+
"example": "BOX001"
|
|
1822
|
+
},
|
|
1823
|
+
"actualWeight": {
|
|
1824
|
+
"type": "number",
|
|
1825
|
+
"description": "重量",
|
|
1826
|
+
"example": 5
|
|
1827
|
+
},
|
|
1828
|
+
"length": {
|
|
1829
|
+
"type": "number",
|
|
1830
|
+
"description": "长度",
|
|
1831
|
+
"example": 40
|
|
1832
|
+
},
|
|
1833
|
+
"width": {
|
|
1834
|
+
"type": "number",
|
|
1835
|
+
"description": "宽度",
|
|
1836
|
+
"example": 30
|
|
1837
|
+
},
|
|
1838
|
+
"height": {
|
|
1839
|
+
"type": "number",
|
|
1840
|
+
"description": "高度",
|
|
1841
|
+
"example": 25
|
|
1842
|
+
},
|
|
1843
|
+
"fbaShipmentId": {
|
|
1844
|
+
"maxLength": 50,
|
|
1845
|
+
"type": "string",
|
|
1846
|
+
"description": "FBA货件ID(FBA shipmentId)",
|
|
1847
|
+
"example": "FBADEMO00001"
|
|
1848
|
+
},
|
|
1849
|
+
"fbaReferenceId": {
|
|
1850
|
+
"maxLength": 100,
|
|
1851
|
+
"type": "string",
|
|
1852
|
+
"description": "FBA内部参考ID(FBA Amazon Reference ID)",
|
|
1853
|
+
"example": "1234567890"
|
|
1854
|
+
},
|
|
1855
|
+
"purchaseOrderNumber": {
|
|
1856
|
+
"maxLength": 100,
|
|
1857
|
+
"type": "string",
|
|
1858
|
+
"description": "PO预约号",
|
|
1859
|
+
"example": "PO202611030001"
|
|
1860
|
+
},
|
|
1861
|
+
"commodities": {
|
|
1862
|
+
"type": "array",
|
|
1863
|
+
"description": "商品信息",
|
|
1864
|
+
"example": [
|
|
1865
|
+
{
|
|
1866
|
+
"nameCn": "纯棉T恤",
|
|
1867
|
+
"nameEn": "Cotton T-shirt",
|
|
1868
|
+
"unitNetWeight": 0.2,
|
|
1869
|
+
"sku": "TSHIRT-WHITE-M",
|
|
1870
|
+
"asin": "B0DEMO0001",
|
|
1871
|
+
"fnSku": "X00DEMO001",
|
|
1872
|
+
"purposeCn": "日常穿着",
|
|
1873
|
+
"purposeEn": "Daily wear",
|
|
1874
|
+
"materialCn": "100%棉",
|
|
1875
|
+
"materialEn": "100% cotton",
|
|
1876
|
+
"quantity": 10,
|
|
1877
|
+
"unit": 0,
|
|
1878
|
+
"unitPrice": 20,
|
|
1879
|
+
"brand": "DEMO",
|
|
1880
|
+
"norms": "M / White",
|
|
1881
|
+
"hsCode": "6109100000",
|
|
1882
|
+
"origin": "CN",
|
|
1883
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
1884
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
1885
|
+
"importHsCode": "6109100012",
|
|
1886
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
1887
|
+
"model": "TSHIRT-M",
|
|
1888
|
+
"goodsDescs": [
|
|
1889
|
+
"普货"
|
|
1890
|
+
],
|
|
1891
|
+
"productVersion": "1.0",
|
|
1892
|
+
"certificateId": "DEMO-CERT-001",
|
|
1893
|
+
"registryProductId": "DEMO-REG-001",
|
|
1894
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
1895
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
1896
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
1897
|
+
}
|
|
1898
|
+
],
|
|
1899
|
+
"items": {
|
|
1900
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiCommodityRequest"
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
"description": "货物装箱明细请求",
|
|
1905
|
+
"example": [
|
|
1906
|
+
{
|
|
1907
|
+
"boxNo": "BOX001",
|
|
1908
|
+
"actualWeight": 5,
|
|
1909
|
+
"length": 40,
|
|
1910
|
+
"width": 30,
|
|
1911
|
+
"height": 25,
|
|
1912
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
1913
|
+
"fbaReferenceId": "1234567890",
|
|
1914
|
+
"purchaseOrderNumber": "PO202611030001",
|
|
1915
|
+
"commodities": [
|
|
1916
|
+
{
|
|
1917
|
+
"nameCn": "纯棉T恤",
|
|
1918
|
+
"nameEn": "Cotton T-shirt",
|
|
1919
|
+
"unitNetWeight": 0.2,
|
|
1920
|
+
"sku": "TSHIRT-WHITE-M",
|
|
1921
|
+
"asin": "B0DEMO0001",
|
|
1922
|
+
"fnSku": "X00DEMO001",
|
|
1923
|
+
"purposeCn": "日常穿着",
|
|
1924
|
+
"purposeEn": "Daily wear",
|
|
1925
|
+
"materialCn": "100%棉",
|
|
1926
|
+
"materialEn": "100% cotton",
|
|
1927
|
+
"quantity": 5,
|
|
1928
|
+
"unit": 0,
|
|
1929
|
+
"unitPrice": 20,
|
|
1930
|
+
"brand": "DEMO",
|
|
1931
|
+
"norms": "M / White",
|
|
1932
|
+
"hsCode": "6109100000",
|
|
1933
|
+
"origin": "CN",
|
|
1934
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
1935
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
1936
|
+
"importHsCode": "6109100012",
|
|
1937
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
1938
|
+
"model": "TSHIRT-M",
|
|
1939
|
+
"goodsDescs": [
|
|
1940
|
+
"普货"
|
|
1941
|
+
],
|
|
1942
|
+
"productVersion": "1.0",
|
|
1943
|
+
"certificateId": "DEMO-CERT-001",
|
|
1944
|
+
"registryProductId": "DEMO-REG-001",
|
|
1945
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
1946
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
1947
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
1948
|
+
}
|
|
1949
|
+
]
|
|
1950
|
+
},
|
|
1951
|
+
{
|
|
1952
|
+
"boxNo": "BOX002",
|
|
1953
|
+
"actualWeight": 5,
|
|
1954
|
+
"length": 40,
|
|
1955
|
+
"width": 30,
|
|
1956
|
+
"height": 25,
|
|
1957
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
1958
|
+
"fbaReferenceId": "1234567890",
|
|
1959
|
+
"purchaseOrderNumber": "PO202611030001",
|
|
1960
|
+
"commodities": [
|
|
1961
|
+
{
|
|
1962
|
+
"nameCn": "纯棉T恤",
|
|
1963
|
+
"nameEn": "Cotton T-shirt",
|
|
1964
|
+
"unitNetWeight": 0.2,
|
|
1965
|
+
"sku": "TSHIRT-WHITE-M",
|
|
1966
|
+
"asin": "B0DEMO0001",
|
|
1967
|
+
"fnSku": "X00DEMO001",
|
|
1968
|
+
"purposeCn": "日常穿着",
|
|
1969
|
+
"purposeEn": "Daily wear",
|
|
1970
|
+
"materialCn": "100%棉",
|
|
1971
|
+
"materialEn": "100% cotton",
|
|
1972
|
+
"quantity": 5,
|
|
1973
|
+
"unit": 0,
|
|
1974
|
+
"unitPrice": 20,
|
|
1975
|
+
"brand": "DEMO",
|
|
1976
|
+
"norms": "M / White",
|
|
1977
|
+
"hsCode": "6109100000",
|
|
1978
|
+
"origin": "CN",
|
|
1979
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
1980
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
1981
|
+
"importHsCode": "6109100012",
|
|
1982
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
1983
|
+
"model": "TSHIRT-M",
|
|
1984
|
+
"goodsDescs": [
|
|
1985
|
+
"普货"
|
|
1986
|
+
],
|
|
1987
|
+
"productVersion": "1.0",
|
|
1988
|
+
"certificateId": "DEMO-CERT-001",
|
|
1989
|
+
"registryProductId": "DEMO-REG-001",
|
|
1990
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
1991
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
1992
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
1993
|
+
}
|
|
1994
|
+
]
|
|
1995
|
+
}
|
|
1996
|
+
],
|
|
1997
|
+
"title": "货物装箱明细请求"
|
|
1998
|
+
},
|
|
1999
|
+
"CLCMRLLROO_OpenApiOrderResponse": {
|
|
2000
|
+
"type": "object",
|
|
2001
|
+
"properties": {
|
|
2002
|
+
"code": {
|
|
2003
|
+
"type": "integer",
|
|
2004
|
+
"description": "返回码(0:成功 其他:失败),业务code需大于1000",
|
|
2005
|
+
"format": "int32"
|
|
2006
|
+
},
|
|
2007
|
+
"data": {
|
|
2008
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderResponse"
|
|
2009
|
+
},
|
|
2010
|
+
"msg": {
|
|
2011
|
+
"type": "string",
|
|
2012
|
+
"description": "错误消息"
|
|
2013
|
+
}
|
|
2014
|
+
},
|
|
2015
|
+
"description": "Result",
|
|
2016
|
+
"title": "Result"
|
|
2017
|
+
},
|
|
2018
|
+
"CLLROO_OpenApiOrderDetailResponse": {
|
|
2019
|
+
"type": "object",
|
|
2020
|
+
"properties": {
|
|
2021
|
+
"id": {
|
|
2022
|
+
"type": "integer",
|
|
2023
|
+
"description": "运单id",
|
|
2024
|
+
"format": "int64",
|
|
2025
|
+
"example": 100000001
|
|
2026
|
+
},
|
|
2027
|
+
"customerName": {
|
|
2028
|
+
"type": "string",
|
|
2029
|
+
"description": "客户名称",
|
|
2030
|
+
"example": "示例贸易有限公司"
|
|
2031
|
+
},
|
|
2032
|
+
"customerNo": {
|
|
2033
|
+
"type": "string",
|
|
2034
|
+
"description": "客户单号",
|
|
2035
|
+
"example": "DEMO202611030001"
|
|
2036
|
+
},
|
|
2037
|
+
"trackNo": {
|
|
2038
|
+
"type": "string",
|
|
2039
|
+
"description": "转单号",
|
|
2040
|
+
"example": "1ZDEMO000000000001"
|
|
2041
|
+
},
|
|
2042
|
+
"waybillNo": {
|
|
2043
|
+
"type": "string",
|
|
2044
|
+
"description": "运单号",
|
|
2045
|
+
"example": "LMS202611030001"
|
|
2046
|
+
},
|
|
2047
|
+
"orderTime": {
|
|
2048
|
+
"type": "integer",
|
|
2049
|
+
"description": "下单时间(时间戳)",
|
|
2050
|
+
"format": "int64",
|
|
2051
|
+
"example": 1793671200000
|
|
2052
|
+
},
|
|
2053
|
+
"status": {
|
|
2054
|
+
"type": "integer",
|
|
2055
|
+
"description": "状态",
|
|
2056
|
+
"format": "int32",
|
|
2057
|
+
"example": 200
|
|
2058
|
+
},
|
|
2059
|
+
"fetchNoStatus": {
|
|
2060
|
+
"type": "integer",
|
|
2061
|
+
"description": "制单状态(0:未制单 1:制单中 2:成功)",
|
|
2062
|
+
"format": "int32",
|
|
2063
|
+
"example": 2
|
|
2064
|
+
},
|
|
2065
|
+
"fetchTrackNoErrorMsg": {
|
|
2066
|
+
"type": "string",
|
|
2067
|
+
"description": "制单错误消息(注:正在获取中表示标签制单正在获取,需结合制单状态判断)"
|
|
2068
|
+
},
|
|
2069
|
+
"productName": {
|
|
2070
|
+
"type": "string",
|
|
2071
|
+
"description": "产品名称",
|
|
2072
|
+
"example": "美国快递示例产品"
|
|
2073
|
+
},
|
|
2074
|
+
"productCode": {
|
|
2075
|
+
"type": "string",
|
|
2076
|
+
"description": "产品代码",
|
|
2077
|
+
"example": "US-EXPRESS-DEMO"
|
|
2078
|
+
},
|
|
2079
|
+
"pieceCount": {
|
|
2080
|
+
"type": "integer",
|
|
2081
|
+
"description": "件数",
|
|
2082
|
+
"format": "int32",
|
|
2083
|
+
"example": 2
|
|
2084
|
+
},
|
|
2085
|
+
"actualWeight": {
|
|
2086
|
+
"type": "number",
|
|
2087
|
+
"description": "实重",
|
|
2088
|
+
"example": 10
|
|
2089
|
+
},
|
|
2090
|
+
"volumeWeight": {
|
|
2091
|
+
"type": "number",
|
|
2092
|
+
"description": "材积重",
|
|
2093
|
+
"example": 10
|
|
2094
|
+
},
|
|
2095
|
+
"chargeWeight": {
|
|
2096
|
+
"type": "number",
|
|
2097
|
+
"description": "计费重",
|
|
2098
|
+
"example": 10
|
|
2099
|
+
},
|
|
2100
|
+
"orderRemark": {
|
|
2101
|
+
"type": "string",
|
|
2102
|
+
"description": "下单备注(长度:[255])",
|
|
2103
|
+
"example": "普通货物,请妥善包装"
|
|
2104
|
+
},
|
|
2105
|
+
"tradeClause": {
|
|
2106
|
+
"type": "integer",
|
|
2107
|
+
"description": "贸易条款(0:DAP 1:DDP 2:EXW 3:FOB 4:CIF 5:CFR 6:DDU)",
|
|
2108
|
+
"format": "int32",
|
|
2109
|
+
"example": 0
|
|
2110
|
+
},
|
|
2111
|
+
"needInsure": {
|
|
2112
|
+
"type": "integer",
|
|
2113
|
+
"description": "是否需要保险 0:否 1:是",
|
|
2114
|
+
"format": "int32",
|
|
2115
|
+
"example": 0
|
|
2116
|
+
},
|
|
2117
|
+
"declareType": {
|
|
2118
|
+
"type": "integer",
|
|
2119
|
+
"description": "报关方式(0:其他 1:单独报关 2:合并报关 3:买单报关)",
|
|
2120
|
+
"format": "int32",
|
|
2121
|
+
"example": 0
|
|
2122
|
+
},
|
|
2123
|
+
"packageType": {
|
|
2124
|
+
"type": "integer",
|
|
2125
|
+
"description": "包裹类型(0:包裹(WPX) 1:文件(DOC) 2:包裹袋(PAK))",
|
|
2126
|
+
"format": "int32",
|
|
2127
|
+
"example": 0
|
|
2128
|
+
},
|
|
2129
|
+
"dangerousTypes": {
|
|
2130
|
+
"type": "array",
|
|
2131
|
+
"description": "危险品类型",
|
|
2132
|
+
"example": [
|
|
2133
|
+
0
|
|
2134
|
+
],
|
|
2135
|
+
"items": {
|
|
2136
|
+
"type": "integer",
|
|
2137
|
+
"description": "危险品类型",
|
|
2138
|
+
"format": "int32"
|
|
2139
|
+
}
|
|
2140
|
+
},
|
|
2141
|
+
"goodsDescs": {
|
|
2142
|
+
"type": "array",
|
|
2143
|
+
"description": "货物描述(带电、带磁等危险品服务,具体值咨询对接方)",
|
|
2144
|
+
"example": [
|
|
2145
|
+
"普货"
|
|
2146
|
+
],
|
|
2147
|
+
"items": {
|
|
2148
|
+
"type": "string",
|
|
2149
|
+
"description": "货物描述(带电、带磁等危险品服务,具体值咨询对接方)",
|
|
2150
|
+
"example": "[\"普货\"]"
|
|
2151
|
+
}
|
|
2152
|
+
},
|
|
2153
|
+
"isPaperLess": {
|
|
2154
|
+
"type": "integer",
|
|
2155
|
+
"description": "是否无纸化(0:否 1:是)",
|
|
2156
|
+
"format": "int32",
|
|
2157
|
+
"example": 1
|
|
2158
|
+
},
|
|
2159
|
+
"isSaturdayDelivery": {
|
|
2160
|
+
"type": "integer",
|
|
2161
|
+
"description": "是否周六派送(0:否(默认) 1:是)",
|
|
2162
|
+
"format": "int32",
|
|
2163
|
+
"example": 0
|
|
2164
|
+
},
|
|
2165
|
+
"exportReason": {
|
|
2166
|
+
"type": "integer",
|
|
2167
|
+
"description": "出口原因",
|
|
2168
|
+
"format": "int32",
|
|
2169
|
+
"example": 0
|
|
2170
|
+
},
|
|
2171
|
+
"shipDate": {
|
|
2172
|
+
"type": "string",
|
|
2173
|
+
"description": "寄件日期,格式yyyy-MM-dd",
|
|
2174
|
+
"example": "2026-11-03"
|
|
2175
|
+
},
|
|
2176
|
+
"seventeenNo": {
|
|
2177
|
+
"type": "string",
|
|
2178
|
+
"description": "17单号",
|
|
2179
|
+
"example": "DEMO202611030001"
|
|
2180
|
+
},
|
|
2181
|
+
"carrier": {
|
|
2182
|
+
"type": "string",
|
|
2183
|
+
"description": "尾程服务商",
|
|
2184
|
+
"example": "UPS"
|
|
2185
|
+
},
|
|
2186
|
+
"receiveWarehouseName": {
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"description": "收货仓库name",
|
|
2189
|
+
"example": "深圳示例仓"
|
|
2190
|
+
},
|
|
2191
|
+
"pieces": {
|
|
2192
|
+
"type": "array",
|
|
2193
|
+
"description": "子单信息",
|
|
2194
|
+
"example": [
|
|
2195
|
+
{
|
|
2196
|
+
"id": 100000001,
|
|
2197
|
+
"subNo": "1ZDEMO000000000002",
|
|
2198
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2199
|
+
"weight": 5,
|
|
2200
|
+
"length": 40,
|
|
2201
|
+
"width": 30,
|
|
2202
|
+
"height": 25,
|
|
2203
|
+
"boxNo": "BOX001",
|
|
2204
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2205
|
+
"fbaReferenceId": "1234567890",
|
|
2206
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"id": 100000002,
|
|
2210
|
+
"subNo": "1ZDEMO000000000003",
|
|
2211
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2212
|
+
"weight": 5,
|
|
2213
|
+
"length": 40,
|
|
2214
|
+
"width": 30,
|
|
2215
|
+
"height": 25,
|
|
2216
|
+
"boxNo": "BOX002",
|
|
2217
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2218
|
+
"fbaReferenceId": "1234567890",
|
|
2219
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
2220
|
+
}
|
|
2221
|
+
],
|
|
2222
|
+
"items": {
|
|
2223
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse$OpenApiPieceResponse"
|
|
2224
|
+
}
|
|
2225
|
+
},
|
|
2226
|
+
"originPort": {
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"description": "起运地机场代码/目的港",
|
|
2229
|
+
"example": "SZX"
|
|
2230
|
+
},
|
|
2231
|
+
"destinationPort": {
|
|
2232
|
+
"type": "string",
|
|
2233
|
+
"description": "目的地机场代码/目的港",
|
|
2234
|
+
"example": "LAX"
|
|
2235
|
+
},
|
|
2236
|
+
"receiveTime": {
|
|
2237
|
+
"type": "integer",
|
|
2238
|
+
"description": "收货时间(时间戳)",
|
|
2239
|
+
"format": "int64",
|
|
2240
|
+
"example": 1793685600000
|
|
2241
|
+
},
|
|
2242
|
+
"receiveGoodsType": {
|
|
2243
|
+
"type": "integer",
|
|
2244
|
+
"description": "货物类型",
|
|
2245
|
+
"format": "int32",
|
|
2246
|
+
"example": 0
|
|
2247
|
+
},
|
|
2248
|
+
"fbaShipmentId": {
|
|
2249
|
+
"type": "string",
|
|
2250
|
+
"description": "FBA货件ID",
|
|
2251
|
+
"example": "FBADEMO00001"
|
|
2252
|
+
},
|
|
2253
|
+
"recipient": {
|
|
2254
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse$OpenApiRecipientResponse"
|
|
2255
|
+
},
|
|
2256
|
+
"invoice": {
|
|
2257
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse$OpenApiInvoiceResponse"
|
|
2258
|
+
},
|
|
2259
|
+
"fees": {
|
|
2260
|
+
"type": "array",
|
|
2261
|
+
"description": "费用信息",
|
|
2262
|
+
"example": [
|
|
2263
|
+
{
|
|
2264
|
+
"subjectName": "运费",
|
|
2265
|
+
"subjectCode": "FREIGHT",
|
|
2266
|
+
"value": 35,
|
|
2267
|
+
"currency": "USD",
|
|
2268
|
+
"conversionValue": 35,
|
|
2269
|
+
"formula": "10 * 3.5",
|
|
2270
|
+
"remark": "示例订单,请按约定时效派送"
|
|
2271
|
+
}
|
|
2272
|
+
],
|
|
2273
|
+
"items": {
|
|
2274
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse$OpenApiFeeResponse"
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
},
|
|
2278
|
+
"description": "开放接口运单详情响应",
|
|
2279
|
+
"example": {
|
|
2280
|
+
"id": 100000001,
|
|
2281
|
+
"customerName": "示例贸易有限公司",
|
|
2282
|
+
"customerNo": "DEMO202611030001",
|
|
2283
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2284
|
+
"waybillNo": "LMS202611030001",
|
|
2285
|
+
"orderTime": 1793671200000,
|
|
2286
|
+
"status": 200,
|
|
2287
|
+
"fetchNoStatus": 2,
|
|
2288
|
+
"fetchTrackNoErrorMsg": "",
|
|
2289
|
+
"productName": "美国快递示例产品",
|
|
2290
|
+
"productCode": "US-EXPRESS-DEMO",
|
|
2291
|
+
"pieceCount": 2,
|
|
2292
|
+
"actualWeight": 10,
|
|
2293
|
+
"volumeWeight": 10,
|
|
2294
|
+
"chargeWeight": 10,
|
|
2295
|
+
"orderRemark": "普通货物,请妥善包装",
|
|
2296
|
+
"tradeClause": 0,
|
|
2297
|
+
"needInsure": 0,
|
|
2298
|
+
"declareType": 0,
|
|
2299
|
+
"packageType": 0,
|
|
2300
|
+
"dangerousTypes": [
|
|
2301
|
+
0
|
|
2302
|
+
],
|
|
2303
|
+
"goodsDescs": [
|
|
2304
|
+
"普货"
|
|
2305
|
+
],
|
|
2306
|
+
"isPaperLess": 1,
|
|
2307
|
+
"isSaturdayDelivery": 0,
|
|
2308
|
+
"exportReason": 0,
|
|
2309
|
+
"shipDate": "2026-11-03",
|
|
2310
|
+
"seventeenNo": "DEMO202611030001",
|
|
2311
|
+
"carrier": "UPS",
|
|
2312
|
+
"receiveWarehouseName": "深圳示例仓",
|
|
2313
|
+
"pieces": [
|
|
2314
|
+
{
|
|
2315
|
+
"id": 100000001,
|
|
2316
|
+
"subNo": "1ZDEMO000000000002",
|
|
2317
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2318
|
+
"weight": 5,
|
|
2319
|
+
"length": 40,
|
|
2320
|
+
"width": 30,
|
|
2321
|
+
"height": 25,
|
|
2322
|
+
"boxNo": "BOX001",
|
|
2323
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2324
|
+
"fbaReferenceId": "1234567890",
|
|
2325
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
2326
|
+
},
|
|
2327
|
+
{
|
|
2328
|
+
"id": 100000002,
|
|
2329
|
+
"subNo": "1ZDEMO000000000003",
|
|
2330
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2331
|
+
"weight": 5,
|
|
2332
|
+
"length": 40,
|
|
2333
|
+
"width": 30,
|
|
2334
|
+
"height": 25,
|
|
2335
|
+
"boxNo": "BOX002",
|
|
2336
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2337
|
+
"fbaReferenceId": "1234567890",
|
|
2338
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
2339
|
+
}
|
|
2340
|
+
],
|
|
2341
|
+
"originPort": "SZX",
|
|
2342
|
+
"destinationPort": "LAX",
|
|
2343
|
+
"receiveTime": 1793685600000,
|
|
2344
|
+
"receiveGoodsType": 0,
|
|
2345
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2346
|
+
"recipient": {
|
|
2347
|
+
"name": "Alex Smith",
|
|
2348
|
+
"company": "Example Trading LLC",
|
|
2349
|
+
"phone": "+1-213-555-0147",
|
|
2350
|
+
"email": "recipient@example.com",
|
|
2351
|
+
"countryCode": "US",
|
|
2352
|
+
"state": "CA",
|
|
2353
|
+
"city": "Los Angeles",
|
|
2354
|
+
"postcode": "90001",
|
|
2355
|
+
"address1": "123 Example Street",
|
|
2356
|
+
"address2": "Suite 200",
|
|
2357
|
+
"address3": "Building A",
|
|
2358
|
+
"taxType1": 1,
|
|
2359
|
+
"taxNo1": "12-3456789",
|
|
2360
|
+
"taxType2": 0,
|
|
2361
|
+
"taxNo2": "DEMO-TAX-002",
|
|
2362
|
+
"suburb": "Florence",
|
|
2363
|
+
"houseNumber": "123",
|
|
2364
|
+
"fbaWarehouseCode": "ONT8",
|
|
2365
|
+
"remoteLevel": "非偏远",
|
|
2366
|
+
"addressType": 0,
|
|
2367
|
+
"partyType": 1
|
|
2368
|
+
},
|
|
2369
|
+
"invoice": {
|
|
2370
|
+
"declareValue": 200,
|
|
2371
|
+
"declareCurrency": "USD",
|
|
2372
|
+
"declareFreightFee": 30,
|
|
2373
|
+
"declareOtherFee": 5,
|
|
2374
|
+
"declareHandlingFee": 2,
|
|
2375
|
+
"declareInsuranceFee": 3,
|
|
2376
|
+
"declareTotalValue": 240,
|
|
2377
|
+
"invoiceNumber": "INV202611030001",
|
|
2378
|
+
"invoiceRemark": "Commercial invoice for cotton T-shirts"
|
|
2379
|
+
},
|
|
2380
|
+
"fees": [
|
|
2381
|
+
{
|
|
2382
|
+
"subjectName": "运费",
|
|
2383
|
+
"subjectCode": "FREIGHT",
|
|
2384
|
+
"value": 35,
|
|
2385
|
+
"currency": "USD",
|
|
2386
|
+
"conversionValue": 35,
|
|
2387
|
+
"formula": "10 * 3.5",
|
|
2388
|
+
"remark": "示例订单,请按约定时效派送"
|
|
2389
|
+
}
|
|
2390
|
+
]
|
|
2391
|
+
},
|
|
2392
|
+
"title": "开放接口运单详情响应"
|
|
2393
|
+
},
|
|
2394
|
+
"CLLROO_OpenApiOrderDetailResponse$OpenApiFeeResponse": {
|
|
2395
|
+
"type": "object",
|
|
2396
|
+
"properties": {
|
|
2397
|
+
"subjectName": {
|
|
2398
|
+
"type": "string",
|
|
2399
|
+
"description": "科目名称",
|
|
2400
|
+
"example": "运费"
|
|
2401
|
+
},
|
|
2402
|
+
"subjectCode": {
|
|
2403
|
+
"type": "string",
|
|
2404
|
+
"description": "科目代码",
|
|
2405
|
+
"example": "FREIGHT"
|
|
2406
|
+
},
|
|
2407
|
+
"value": {
|
|
2408
|
+
"type": "number",
|
|
2409
|
+
"description": "原币金额",
|
|
2410
|
+
"example": 35
|
|
2411
|
+
},
|
|
2412
|
+
"currency": {
|
|
2413
|
+
"type": "string",
|
|
2414
|
+
"description": "币种",
|
|
2415
|
+
"example": "USD"
|
|
2416
|
+
},
|
|
2417
|
+
"conversionValue": {
|
|
2418
|
+
"type": "number",
|
|
2419
|
+
"description": "维护本币金额",
|
|
2420
|
+
"example": 35
|
|
2421
|
+
},
|
|
2422
|
+
"formula": {
|
|
2423
|
+
"type": "string",
|
|
2424
|
+
"description": "公式",
|
|
2425
|
+
"example": "10 * 3.5"
|
|
2426
|
+
},
|
|
2427
|
+
"remark": {
|
|
2428
|
+
"type": "string",
|
|
2429
|
+
"description": "备注",
|
|
2430
|
+
"example": "示例订单,请按约定时效派送"
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
"description": "费用响应",
|
|
2434
|
+
"example": [
|
|
2435
|
+
{
|
|
2436
|
+
"subjectName": "运费",
|
|
2437
|
+
"subjectCode": "FREIGHT",
|
|
2438
|
+
"value": 35,
|
|
2439
|
+
"currency": "USD",
|
|
2440
|
+
"conversionValue": 35,
|
|
2441
|
+
"formula": "10 * 3.5",
|
|
2442
|
+
"remark": "示例订单,请按约定时效派送"
|
|
2443
|
+
}
|
|
2444
|
+
],
|
|
2445
|
+
"title": "费用响应"
|
|
2446
|
+
},
|
|
2447
|
+
"CLLROO_OpenApiOrderDetailResponse$OpenApiInvoiceResponse": {
|
|
2448
|
+
"type": "object",
|
|
2449
|
+
"properties": {
|
|
2450
|
+
"declareValue": {
|
|
2451
|
+
"type": "number",
|
|
2452
|
+
"description": "申报价值",
|
|
2453
|
+
"example": 200
|
|
2454
|
+
},
|
|
2455
|
+
"declareCurrency": {
|
|
2456
|
+
"type": "string",
|
|
2457
|
+
"description": "申报币种",
|
|
2458
|
+
"example": "USD"
|
|
2459
|
+
},
|
|
2460
|
+
"declareFreightFee": {
|
|
2461
|
+
"type": "number",
|
|
2462
|
+
"description": "申报运费",
|
|
2463
|
+
"example": 30
|
|
2464
|
+
},
|
|
2465
|
+
"declareOtherFee": {
|
|
2466
|
+
"type": "number",
|
|
2467
|
+
"description": "申报其他费用",
|
|
2468
|
+
"example": 5
|
|
2469
|
+
},
|
|
2470
|
+
"declareHandlingFee": {
|
|
2471
|
+
"type": "number",
|
|
2472
|
+
"description": "申报手续费",
|
|
2473
|
+
"example": 2
|
|
2474
|
+
},
|
|
2475
|
+
"declareInsuranceFee": {
|
|
2476
|
+
"type": "number",
|
|
2477
|
+
"description": "申报保险费用",
|
|
2478
|
+
"example": 3
|
|
2479
|
+
},
|
|
2480
|
+
"declareTotalValue": {
|
|
2481
|
+
"type": "number",
|
|
2482
|
+
"description": "申报总金额",
|
|
2483
|
+
"example": 240
|
|
2484
|
+
},
|
|
2485
|
+
"invoiceNumber": {
|
|
2486
|
+
"type": "string",
|
|
2487
|
+
"description": "发票号码",
|
|
2488
|
+
"example": "INV202611030001"
|
|
2489
|
+
},
|
|
2490
|
+
"invoiceRemark": {
|
|
2491
|
+
"type": "string",
|
|
2492
|
+
"description": "发票备注",
|
|
2493
|
+
"example": "Commercial invoice for cotton T-shirts"
|
|
2494
|
+
}
|
|
2495
|
+
},
|
|
2496
|
+
"description": "发票信息响应",
|
|
2497
|
+
"example": {
|
|
2498
|
+
"declareValue": 200,
|
|
2499
|
+
"declareCurrency": "USD",
|
|
2500
|
+
"declareFreightFee": 30,
|
|
2501
|
+
"declareOtherFee": 5,
|
|
2502
|
+
"declareHandlingFee": 2,
|
|
2503
|
+
"declareInsuranceFee": 3,
|
|
2504
|
+
"declareTotalValue": 240,
|
|
2505
|
+
"invoiceNumber": "INV202611030001",
|
|
2506
|
+
"invoiceRemark": "Commercial invoice for cotton T-shirts"
|
|
2507
|
+
},
|
|
2508
|
+
"title": "发票信息响应"
|
|
2509
|
+
},
|
|
2510
|
+
"CLLROO_OpenApiOrderDetailResponse$OpenApiPieceResponse": {
|
|
2511
|
+
"type": "object",
|
|
2512
|
+
"properties": {
|
|
2513
|
+
"id": {
|
|
2514
|
+
"type": "integer",
|
|
2515
|
+
"description": "子单id",
|
|
2516
|
+
"format": "int64",
|
|
2517
|
+
"example": 100000001
|
|
2518
|
+
},
|
|
2519
|
+
"subNo": {
|
|
2520
|
+
"type": "string",
|
|
2521
|
+
"description": "子单号",
|
|
2522
|
+
"example": "1ZDEMO000000000002"
|
|
2523
|
+
},
|
|
2524
|
+
"trackNo": {
|
|
2525
|
+
"type": "string",
|
|
2526
|
+
"description": "子转单号",
|
|
2527
|
+
"example": "1ZDEMO000000000001"
|
|
2528
|
+
},
|
|
2529
|
+
"weight": {
|
|
2530
|
+
"type": "number",
|
|
2531
|
+
"description": "实重",
|
|
2532
|
+
"example": 5
|
|
2533
|
+
},
|
|
2534
|
+
"length": {
|
|
2535
|
+
"type": "number",
|
|
2536
|
+
"description": "长度",
|
|
2537
|
+
"example": 40
|
|
2538
|
+
},
|
|
2539
|
+
"width": {
|
|
2540
|
+
"type": "number",
|
|
2541
|
+
"description": "宽度",
|
|
2542
|
+
"example": 30
|
|
2543
|
+
},
|
|
2544
|
+
"height": {
|
|
2545
|
+
"type": "number",
|
|
2546
|
+
"description": "高度",
|
|
2547
|
+
"example": 25
|
|
2548
|
+
},
|
|
2549
|
+
"boxNo": {
|
|
2550
|
+
"type": "string",
|
|
2551
|
+
"description": "箱号(客户自定义)",
|
|
2552
|
+
"example": "BOX001"
|
|
2553
|
+
},
|
|
2554
|
+
"fbaShipmentId": {
|
|
2555
|
+
"type": "string",
|
|
2556
|
+
"description": "FBA货件ID(FBA shipmentId)",
|
|
2557
|
+
"example": "FBADEMO00001"
|
|
2558
|
+
},
|
|
2559
|
+
"fbaReferenceId": {
|
|
2560
|
+
"type": "string",
|
|
2561
|
+
"description": "FBA内部参考ID(FBA Amazon Reference ID)",
|
|
2562
|
+
"example": "1234567890"
|
|
2563
|
+
},
|
|
2564
|
+
"purchaseOrderNumber": {
|
|
2565
|
+
"type": "string",
|
|
2566
|
+
"description": "PO预约号",
|
|
2567
|
+
"example": "PO202611030001"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2570
|
+
"description": "单件明细响应",
|
|
2571
|
+
"example": [
|
|
2572
|
+
{
|
|
2573
|
+
"id": 100000001,
|
|
2574
|
+
"subNo": "1ZDEMO000000000002",
|
|
2575
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2576
|
+
"weight": 5,
|
|
2577
|
+
"length": 40,
|
|
2578
|
+
"width": 30,
|
|
2579
|
+
"height": 25,
|
|
2580
|
+
"boxNo": "BOX001",
|
|
2581
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2582
|
+
"fbaReferenceId": "1234567890",
|
|
2583
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
2584
|
+
},
|
|
2585
|
+
{
|
|
2586
|
+
"id": 100000002,
|
|
2587
|
+
"subNo": "1ZDEMO000000000003",
|
|
2588
|
+
"trackNo": "1ZDEMO000000000001",
|
|
2589
|
+
"weight": 5,
|
|
2590
|
+
"length": 40,
|
|
2591
|
+
"width": 30,
|
|
2592
|
+
"height": 25,
|
|
2593
|
+
"boxNo": "BOX002",
|
|
2594
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
2595
|
+
"fbaReferenceId": "1234567890",
|
|
2596
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
2597
|
+
}
|
|
2598
|
+
],
|
|
2599
|
+
"title": "单件明细响应"
|
|
2600
|
+
},
|
|
2601
|
+
"CLLROO_OpenApiOrderDetailResponse$OpenApiRecipientResponse": {
|
|
2602
|
+
"required": [
|
|
2603
|
+
"address1",
|
|
2604
|
+
"countryCode"
|
|
2605
|
+
],
|
|
2606
|
+
"type": "object",
|
|
2607
|
+
"properties": {
|
|
2608
|
+
"name": {
|
|
2609
|
+
"type": "string",
|
|
2610
|
+
"description": "姓名",
|
|
2611
|
+
"example": "Alex Smith"
|
|
2612
|
+
},
|
|
2613
|
+
"company": {
|
|
2614
|
+
"type": "string",
|
|
2615
|
+
"description": "公司",
|
|
2616
|
+
"example": "Example Trading LLC"
|
|
2617
|
+
},
|
|
2618
|
+
"phone": {
|
|
2619
|
+
"type": "string",
|
|
2620
|
+
"description": "电话",
|
|
2621
|
+
"example": "+1-213-555-0147"
|
|
2622
|
+
},
|
|
2623
|
+
"email": {
|
|
2624
|
+
"type": "string",
|
|
2625
|
+
"description": "邮箱",
|
|
2626
|
+
"example": "recipient@example.com"
|
|
2627
|
+
},
|
|
2628
|
+
"countryCode": {
|
|
2629
|
+
"type": "string",
|
|
2630
|
+
"description": "国家代码",
|
|
2631
|
+
"example": "US"
|
|
2632
|
+
},
|
|
2633
|
+
"state": {
|
|
2634
|
+
"type": "string",
|
|
2635
|
+
"description": "省",
|
|
2636
|
+
"example": "CA"
|
|
2637
|
+
},
|
|
2638
|
+
"city": {
|
|
2639
|
+
"type": "string",
|
|
2640
|
+
"description": "市",
|
|
2641
|
+
"example": "Los Angeles"
|
|
2642
|
+
},
|
|
2643
|
+
"postcode": {
|
|
2644
|
+
"type": "string",
|
|
2645
|
+
"description": "邮编",
|
|
2646
|
+
"example": "90001"
|
|
2647
|
+
},
|
|
2648
|
+
"address1": {
|
|
2649
|
+
"type": "string",
|
|
2650
|
+
"description": "地址1",
|
|
2651
|
+
"example": "123 Example Street"
|
|
2652
|
+
},
|
|
2653
|
+
"address2": {
|
|
2654
|
+
"type": "string",
|
|
2655
|
+
"description": "地址2",
|
|
2656
|
+
"example": "Suite 200"
|
|
2657
|
+
},
|
|
2658
|
+
"address3": {
|
|
2659
|
+
"type": "string",
|
|
2660
|
+
"description": "地址3",
|
|
2661
|
+
"example": "Building A"
|
|
2662
|
+
},
|
|
2663
|
+
"taxType1": {
|
|
2664
|
+
"type": "integer",
|
|
2665
|
+
"description": "税号类型1(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST)",
|
|
2666
|
+
"format": "int32",
|
|
2667
|
+
"example": 1
|
|
2668
|
+
},
|
|
2669
|
+
"taxNo1": {
|
|
2670
|
+
"type": "string",
|
|
2671
|
+
"description": "税号1",
|
|
2672
|
+
"example": "12-3456789"
|
|
2673
|
+
},
|
|
2674
|
+
"taxType2": {
|
|
2675
|
+
"type": "integer",
|
|
2676
|
+
"description": "税号类型2(0:VAT 1:EIN 2:GSIN 3:IEC 4:EORI 5:IOSS 6:TAX 7:NIF 8:ABN 9:TFN 10:GST)",
|
|
2677
|
+
"format": "int32",
|
|
2678
|
+
"example": 0
|
|
2679
|
+
},
|
|
2680
|
+
"taxNo2": {
|
|
2681
|
+
"type": "string",
|
|
2682
|
+
"description": "税号2",
|
|
2683
|
+
"example": "DEMO-TAX-002"
|
|
2684
|
+
},
|
|
2685
|
+
"suburb": {
|
|
2686
|
+
"type": "string",
|
|
2687
|
+
"description": "郊区",
|
|
2688
|
+
"example": "Florence"
|
|
2689
|
+
},
|
|
2690
|
+
"houseNumber": {
|
|
2691
|
+
"type": "string",
|
|
2692
|
+
"description": "门牌号",
|
|
2693
|
+
"example": "123"
|
|
2694
|
+
},
|
|
2695
|
+
"fbaWarehouseCode": {
|
|
2696
|
+
"type": "string",
|
|
2697
|
+
"description": "FBA仓库代码",
|
|
2698
|
+
"example": "ONT8"
|
|
2699
|
+
},
|
|
2700
|
+
"remoteLevel": {
|
|
2701
|
+
"type": "string",
|
|
2702
|
+
"description": "偏远等级",
|
|
2703
|
+
"example": "非偏远"
|
|
2704
|
+
},
|
|
2705
|
+
"addressType": {
|
|
2706
|
+
"type": "integer",
|
|
2707
|
+
"description": "地址类型(1:商业 2:住宅 3:混合 4:未知 5:FBA)",
|
|
2708
|
+
"format": "int32",
|
|
2709
|
+
"example": 0
|
|
2710
|
+
},
|
|
2711
|
+
"partyType": {
|
|
2712
|
+
"type": "integer",
|
|
2713
|
+
"description": "贸易主体类型 1:企业/机构 2:个人/自然人",
|
|
2714
|
+
"format": "int32",
|
|
2715
|
+
"example": 1
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
"description": "收件人响应",
|
|
2719
|
+
"example": {
|
|
2720
|
+
"name": "Alex Smith",
|
|
2721
|
+
"company": "Example Trading LLC",
|
|
2722
|
+
"phone": "+1-213-555-0147",
|
|
2723
|
+
"email": "recipient@example.com",
|
|
2724
|
+
"countryCode": "US",
|
|
2725
|
+
"state": "CA",
|
|
2726
|
+
"city": "Los Angeles",
|
|
2727
|
+
"postcode": "90001",
|
|
2728
|
+
"address1": "123 Example Street",
|
|
2729
|
+
"address2": "Suite 200",
|
|
2730
|
+
"address3": "Building A",
|
|
2731
|
+
"taxType1": 1,
|
|
2732
|
+
"taxNo1": "12-3456789",
|
|
2733
|
+
"taxType2": 0,
|
|
2734
|
+
"taxNo2": "DEMO-TAX-002",
|
|
2735
|
+
"suburb": "Florence",
|
|
2736
|
+
"houseNumber": "123",
|
|
2737
|
+
"fbaWarehouseCode": "ONT8",
|
|
2738
|
+
"remoteLevel": "非偏远",
|
|
2739
|
+
"addressType": 0,
|
|
2740
|
+
"partyType": 1
|
|
2741
|
+
},
|
|
2742
|
+
"title": "收件人响应"
|
|
2743
|
+
},
|
|
2744
|
+
"CLLROO_OpenApiOrderResponse": {
|
|
2745
|
+
"type": "object",
|
|
2746
|
+
"properties": {
|
|
2747
|
+
"id": {
|
|
2748
|
+
"type": "integer",
|
|
2749
|
+
"description": "运单id",
|
|
2750
|
+
"format": "int64",
|
|
2751
|
+
"example": 100000001
|
|
2752
|
+
},
|
|
2753
|
+
"waybillNo": {
|
|
2754
|
+
"type": "string",
|
|
2755
|
+
"description": "运单号",
|
|
2756
|
+
"example": "LMS202611030001"
|
|
2757
|
+
},
|
|
2758
|
+
"trackNo": {
|
|
2759
|
+
"type": "string",
|
|
2760
|
+
"description": "转单号",
|
|
2761
|
+
"example": "1ZDEMO000000000001"
|
|
2762
|
+
},
|
|
2763
|
+
"pieceBarcodeUrl": {
|
|
2764
|
+
"type": "string",
|
|
2765
|
+
"description": "入仓标签(链接有效期5分钟)",
|
|
2766
|
+
"example": "https://files.example.com/DEMO202611030001/barcode.pdf"
|
|
2767
|
+
},
|
|
2768
|
+
"labelUrl": {
|
|
2769
|
+
"type": "string",
|
|
2770
|
+
"description": "转单面单(链接有效期5分钟)",
|
|
2771
|
+
"example": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
2772
|
+
},
|
|
2773
|
+
"invoiceUrl": {
|
|
2774
|
+
"type": "string",
|
|
2775
|
+
"description": "发票(链接有效期5分钟)",
|
|
2776
|
+
"example": "https://files.example.com/DEMO202611030001/invoice.pdf"
|
|
2777
|
+
},
|
|
2778
|
+
"copyUrl": {
|
|
2779
|
+
"type": "string",
|
|
2780
|
+
"description": "copy联(仅ups有效,链接有效期5分钟)",
|
|
2781
|
+
"example": "https://files.example.com/DEMO202611030001/copy.pdf"
|
|
2782
|
+
},
|
|
2783
|
+
"info": {
|
|
2784
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse"
|
|
2785
|
+
}
|
|
2786
|
+
},
|
|
2787
|
+
"description": "开放接口下单响应",
|
|
2788
|
+
"title": "开放接口下单响应"
|
|
2789
|
+
},
|
|
2790
|
+
"CLLRO_OpenApiQueryTrackRequest": {
|
|
2791
|
+
"required": [
|
|
2792
|
+
"nos"
|
|
2793
|
+
],
|
|
2794
|
+
"type": "object",
|
|
2795
|
+
"properties": {
|
|
2796
|
+
"nos": {
|
|
2797
|
+
"maxItems": 30,
|
|
2798
|
+
"minItems": 0,
|
|
2799
|
+
"type": "array",
|
|
2800
|
+
"description": "单号",
|
|
2801
|
+
"example": [
|
|
2802
|
+
"LMS202611030001"
|
|
2803
|
+
],
|
|
2804
|
+
"items": {
|
|
2805
|
+
"type": "string",
|
|
2806
|
+
"description": "单号",
|
|
2807
|
+
"example": "[\"LMS202611030001\"]"
|
|
2808
|
+
}
|
|
2809
|
+
},
|
|
2810
|
+
"noType": {
|
|
2811
|
+
"type": "integer",
|
|
2812
|
+
"description": "单号类型(0:运单号 1:客户单号 2:转单号 12:17单号)",
|
|
2813
|
+
"format": "int32",
|
|
2814
|
+
"example": 0
|
|
2815
|
+
}
|
|
2816
|
+
},
|
|
2817
|
+
"description": "轨迹查询请求",
|
|
2818
|
+
"title": "轨迹查询请求"
|
|
2819
|
+
},
|
|
2820
|
+
"CLCMRULLLROO_OpenApiTrackResponse": {
|
|
2821
|
+
"type": "object",
|
|
2822
|
+
"properties": {
|
|
2823
|
+
"code": {
|
|
2824
|
+
"type": "integer",
|
|
2825
|
+
"description": "返回码(0:成功 其他:失败),业务code需大于1000",
|
|
2826
|
+
"format": "int32"
|
|
2827
|
+
},
|
|
2828
|
+
"data": {
|
|
2829
|
+
"type": "array",
|
|
2830
|
+
"description": "数据结果",
|
|
2831
|
+
"items": {
|
|
2832
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiTrackResponse"
|
|
2833
|
+
}
|
|
2834
|
+
},
|
|
2835
|
+
"msg": {
|
|
2836
|
+
"type": "string",
|
|
2837
|
+
"description": "错误消息"
|
|
2838
|
+
}
|
|
2839
|
+
},
|
|
2840
|
+
"description": "Result",
|
|
2841
|
+
"title": "Result"
|
|
2842
|
+
},
|
|
2843
|
+
"CLLROO_OpenApiTrackResponse": {
|
|
2844
|
+
"type": "object",
|
|
2845
|
+
"properties": {
|
|
2846
|
+
"no": {
|
|
2847
|
+
"type": "string",
|
|
2848
|
+
"description": "单号",
|
|
2849
|
+
"example": "LMS202611030001"
|
|
2850
|
+
},
|
|
2851
|
+
"detail": {
|
|
2852
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse"
|
|
2853
|
+
},
|
|
2854
|
+
"estimatedDeliveryAt": {
|
|
2855
|
+
"type": "integer",
|
|
2856
|
+
"description": "预计签收时间",
|
|
2857
|
+
"format": "int64",
|
|
2858
|
+
"example": 1794103200000
|
|
2859
|
+
},
|
|
2860
|
+
"timeCost": {
|
|
2861
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiTrackTimeCostResponse"
|
|
2862
|
+
},
|
|
2863
|
+
"lastTrack": {
|
|
2864
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiTrackResponse$TrackItem"
|
|
2865
|
+
},
|
|
2866
|
+
"trackItems": {
|
|
2867
|
+
"type": "array",
|
|
2868
|
+
"description": "轨迹列表",
|
|
2869
|
+
"example": [
|
|
2870
|
+
{
|
|
2871
|
+
"time": 1794103200000,
|
|
2872
|
+
"status": 200,
|
|
2873
|
+
"description": "Delivered, signed by recipient",
|
|
2874
|
+
"location": "Los Angeles, CA, US"
|
|
2875
|
+
}
|
|
2876
|
+
],
|
|
2877
|
+
"items": {
|
|
2878
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiTrackResponse$TrackItem"
|
|
2879
|
+
}
|
|
2880
|
+
},
|
|
2881
|
+
"locationUrl": {
|
|
2882
|
+
"type": "string",
|
|
2883
|
+
"description": "定位Url",
|
|
2884
|
+
"example": "https://tracking.example.com/DEMO202611030001"
|
|
2885
|
+
}
|
|
2886
|
+
},
|
|
2887
|
+
"description": "查询轨迹响应",
|
|
2888
|
+
"title": "查询轨迹响应"
|
|
2889
|
+
},
|
|
2890
|
+
"CLLROO_OpenApiTrackResponse$TrackItem": {
|
|
2891
|
+
"type": "object",
|
|
2892
|
+
"properties": {
|
|
2893
|
+
"time": {
|
|
2894
|
+
"type": "integer",
|
|
2895
|
+
"description": "轨迹时间",
|
|
2896
|
+
"format": "int64",
|
|
2897
|
+
"example": 1794103200000
|
|
2898
|
+
},
|
|
2899
|
+
"status": {
|
|
2900
|
+
"type": "integer",
|
|
2901
|
+
"description": "节点状态(100:待提取 110:已提取(PickedUp) 112:已离港(Departure) 114:已到港(Arrival) 120:运输途中(InTransit) 130:派送途中(OutForDelivery) 140:到达待取(AvailableForPickup) 150:投递失败(DeliveryFailure) 200:已签收(Delivered) 210:待退货(Returning) 220:已退货(Returned) 230:异常(Exception) 240:已完结)",
|
|
2902
|
+
"format": "int32",
|
|
2903
|
+
"example": 200
|
|
2904
|
+
},
|
|
2905
|
+
"description": {
|
|
2906
|
+
"type": "string",
|
|
2907
|
+
"description": "描述信息",
|
|
2908
|
+
"example": "Delivered, signed by recipient"
|
|
2909
|
+
},
|
|
2910
|
+
"location": {
|
|
2911
|
+
"type": "string",
|
|
2912
|
+
"description": "位置信息",
|
|
2913
|
+
"example": "Los Angeles, CA, US"
|
|
2914
|
+
}
|
|
2915
|
+
},
|
|
2916
|
+
"description": "轨迹信息",
|
|
2917
|
+
"example": [
|
|
2918
|
+
{
|
|
2919
|
+
"time": 1794103200000,
|
|
2920
|
+
"status": 200,
|
|
2921
|
+
"description": "Delivered, signed by recipient",
|
|
2922
|
+
"location": "Los Angeles, CA, US"
|
|
2923
|
+
}
|
|
2924
|
+
],
|
|
2925
|
+
"title": "轨迹信息"
|
|
2926
|
+
},
|
|
2927
|
+
"CLLROO_OpenApiTrackTimeCostResponse": {
|
|
2928
|
+
"type": "object",
|
|
2929
|
+
"properties": {
|
|
2930
|
+
"pickUpTimeCost": {
|
|
2931
|
+
"type": "integer",
|
|
2932
|
+
"description": "提货时效",
|
|
2933
|
+
"format": "int64",
|
|
2934
|
+
"example": 86400000
|
|
2935
|
+
},
|
|
2936
|
+
"warehouseTimeCost": {
|
|
2937
|
+
"type": "integer",
|
|
2938
|
+
"description": "仓库时效",
|
|
2939
|
+
"format": "int64",
|
|
2940
|
+
"example": 86400000
|
|
2941
|
+
},
|
|
2942
|
+
"headTimeCost": {
|
|
2943
|
+
"type": "integer",
|
|
2944
|
+
"description": "头程时效",
|
|
2945
|
+
"format": "int64",
|
|
2946
|
+
"example": 86400000
|
|
2947
|
+
},
|
|
2948
|
+
"clearanceTimeCost": {
|
|
2949
|
+
"type": "integer",
|
|
2950
|
+
"description": "清关时效",
|
|
2951
|
+
"format": "int64",
|
|
2952
|
+
"example": 86400000
|
|
2953
|
+
},
|
|
2954
|
+
"deliverTimeCost": {
|
|
2955
|
+
"type": "integer",
|
|
2956
|
+
"description": "派送时效",
|
|
2957
|
+
"format": "int64",
|
|
2958
|
+
"example": 86400000
|
|
2959
|
+
}
|
|
2960
|
+
},
|
|
2961
|
+
"description": "时效响应",
|
|
2962
|
+
"example": {
|
|
2963
|
+
"pickUpTimeCost": 86400000,
|
|
2964
|
+
"warehouseTimeCost": 86400000,
|
|
2965
|
+
"headTimeCost": 86400000,
|
|
2966
|
+
"clearanceTimeCost": 86400000,
|
|
2967
|
+
"deliverTimeCost": 86400000
|
|
2968
|
+
},
|
|
2969
|
+
"title": "时效响应"
|
|
2970
|
+
},
|
|
2971
|
+
"CLLRO_OpenApiPrintRequest": {
|
|
2972
|
+
"required": [
|
|
2973
|
+
"no",
|
|
2974
|
+
"noType",
|
|
2975
|
+
"type"
|
|
2976
|
+
],
|
|
2977
|
+
"type": "object",
|
|
2978
|
+
"properties": {
|
|
2979
|
+
"type": {
|
|
2980
|
+
"type": "integer",
|
|
2981
|
+
"description": "文件类型(100:转单标签 110:转单发票 120:备份联 130:入仓标签 304:联邦副联)",
|
|
2982
|
+
"format": "int32",
|
|
2983
|
+
"example": 100
|
|
2984
|
+
},
|
|
2985
|
+
"no": {
|
|
2986
|
+
"type": "string",
|
|
2987
|
+
"description": "单号",
|
|
2988
|
+
"example": "LMS202611030001"
|
|
2989
|
+
},
|
|
2990
|
+
"noType": {
|
|
2991
|
+
"type": "integer",
|
|
2992
|
+
"description": "单号类型(0:运单号 1:客户单号 2:转单号)",
|
|
2993
|
+
"format": "int32",
|
|
2994
|
+
"example": 0
|
|
2995
|
+
},
|
|
2996
|
+
"copyCount": {
|
|
2997
|
+
"maximum": 10,
|
|
2998
|
+
"type": "integer",
|
|
2999
|
+
"description": "份数",
|
|
3000
|
+
"format": "int32",
|
|
3001
|
+
"example": 1
|
|
3002
|
+
}
|
|
3003
|
+
},
|
|
3004
|
+
"description": "开放接口打印请求",
|
|
3005
|
+
"title": "开放接口打印请求"
|
|
3006
|
+
},
|
|
3007
|
+
"CLCMRLLROO_OpenApiPrintResponse": {
|
|
3008
|
+
"type": "object",
|
|
3009
|
+
"properties": {
|
|
3010
|
+
"code": {
|
|
3011
|
+
"type": "integer",
|
|
3012
|
+
"description": "返回码(0:成功 其他:失败),业务code需大于1000",
|
|
3013
|
+
"format": "int32"
|
|
3014
|
+
},
|
|
3015
|
+
"data": {
|
|
3016
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiPrintResponse"
|
|
3017
|
+
},
|
|
3018
|
+
"msg": {
|
|
3019
|
+
"type": "string",
|
|
3020
|
+
"description": "错误消息"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
"description": "Result",
|
|
3024
|
+
"title": "Result"
|
|
3025
|
+
},
|
|
3026
|
+
"CLLROO_OpenApiPrintResponse": {
|
|
3027
|
+
"type": "object",
|
|
3028
|
+
"properties": {
|
|
3029
|
+
"url": {
|
|
3030
|
+
"type": "string",
|
|
3031
|
+
"description": "访问地址",
|
|
3032
|
+
"example": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
3033
|
+
}
|
|
3034
|
+
},
|
|
3035
|
+
"description": "打印响应",
|
|
3036
|
+
"title": "打印响应"
|
|
3037
|
+
},
|
|
3038
|
+
"CLLRO_OpenApiOrderDetailRequest": {
|
|
3039
|
+
"required": [
|
|
3040
|
+
"no"
|
|
3041
|
+
],
|
|
3042
|
+
"type": "object",
|
|
3043
|
+
"properties": {
|
|
3044
|
+
"customerKey": {
|
|
3045
|
+
"type": "string",
|
|
3046
|
+
"description": "customerKey,请联系客服提供,保密使用,谨防泄漏",
|
|
3047
|
+
"example": "DEMO_CUSTOMER_KEY_NOT_VALID"
|
|
3048
|
+
},
|
|
3049
|
+
"no": {
|
|
3050
|
+
"type": "string",
|
|
3051
|
+
"description": "单号",
|
|
3052
|
+
"example": "LMS202611030001"
|
|
3053
|
+
},
|
|
3054
|
+
"noType": {
|
|
3055
|
+
"type": "integer",
|
|
3056
|
+
"description": "单号类型(0:运单号 1:客户单号 2:转单号)",
|
|
3057
|
+
"format": "int32",
|
|
3058
|
+
"example": 0
|
|
3059
|
+
}
|
|
3060
|
+
},
|
|
3061
|
+
"description": "订单详情请求",
|
|
3062
|
+
"title": "订单详情请求"
|
|
3063
|
+
},
|
|
3064
|
+
"CLCMRLLROO_OpenApiOrderDetailResponse": {
|
|
3065
|
+
"type": "object",
|
|
3066
|
+
"properties": {
|
|
3067
|
+
"code": {
|
|
3068
|
+
"type": "integer",
|
|
3069
|
+
"description": "返回码(0:成功 其他:失败),业务code需大于1000",
|
|
3070
|
+
"format": "int32"
|
|
3071
|
+
},
|
|
3072
|
+
"data": {
|
|
3073
|
+
"$ref": "#/components/schemas/CLLROO_OpenApiOrderDetailResponse"
|
|
3074
|
+
},
|
|
3075
|
+
"msg": {
|
|
3076
|
+
"type": "string",
|
|
3077
|
+
"description": "错误消息"
|
|
3078
|
+
}
|
|
3079
|
+
},
|
|
3080
|
+
"description": "Result",
|
|
3081
|
+
"title": "Result"
|
|
3082
|
+
},
|
|
3083
|
+
"CLLRO_OpenApiExpressOrderRequest": {
|
|
3084
|
+
"required": [
|
|
3085
|
+
"customerKey",
|
|
3086
|
+
"customerNo",
|
|
3087
|
+
"info",
|
|
3088
|
+
"pieces",
|
|
3089
|
+
"recipient"
|
|
3090
|
+
],
|
|
3091
|
+
"type": "object",
|
|
3092
|
+
"properties": {
|
|
3093
|
+
"customerKey": {
|
|
3094
|
+
"type": "string",
|
|
3095
|
+
"description": "customerKey,请联系客服提供,保密使用,谨防泄漏",
|
|
3096
|
+
"example": "DEMO_CUSTOMER_KEY_NOT_VALID"
|
|
3097
|
+
},
|
|
3098
|
+
"customerNo": {
|
|
3099
|
+
"maxLength": 100,
|
|
3100
|
+
"type": "string",
|
|
3101
|
+
"description": "客户单号",
|
|
3102
|
+
"example": "DEMO202611030001"
|
|
3103
|
+
},
|
|
3104
|
+
"customerExtraNo": {
|
|
3105
|
+
"maxLength": 100,
|
|
3106
|
+
"type": "string",
|
|
3107
|
+
"description": "客户额外单号",
|
|
3108
|
+
"example": "PO202611030001"
|
|
3109
|
+
},
|
|
3110
|
+
"bookingConfirmationNumber": {
|
|
3111
|
+
"type": "string",
|
|
3112
|
+
"description": "大货预约编号(用于FedEx IPF、IEF等Freight服务)",
|
|
3113
|
+
"example": "DEMO-FRT-20261103-001"
|
|
3114
|
+
},
|
|
3115
|
+
"info": {
|
|
3116
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiWaybillInfoRequest"
|
|
3117
|
+
},
|
|
3118
|
+
"recipient": {
|
|
3119
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiRecipientRequest"
|
|
3120
|
+
},
|
|
3121
|
+
"sender": {
|
|
3122
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiSenderRequest"
|
|
3123
|
+
},
|
|
3124
|
+
"taxPayor": {
|
|
3125
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiTaxPayorRequest"
|
|
3126
|
+
},
|
|
3127
|
+
"importer": {
|
|
3128
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiImporterRequest"
|
|
3129
|
+
},
|
|
3130
|
+
"mode": {
|
|
3131
|
+
"type": "integer",
|
|
3132
|
+
"description": "模式(0:同时制单 1:仅下单)",
|
|
3133
|
+
"format": "int32",
|
|
3134
|
+
"example": 0
|
|
3135
|
+
},
|
|
3136
|
+
"documentOption": {
|
|
3137
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiDocumentOptionRequest"
|
|
3138
|
+
},
|
|
3139
|
+
"ecomPlatformType": {
|
|
3140
|
+
"type": "string",
|
|
3141
|
+
"description": "电商平台类型(DHGATE:敦煌 WISH:wish EBAY:ebay ALI-EXPRESS:速卖通 JD:京东 TEMU:TEMU TIKTOK:tiktok AMAZON:亚马逊 SHOPEE:虾皮 LAZADA:来赞达 SHEIN:希音 SHOPIFY:SHOPIFY WALMART:沃尔玛 OZON:OZON JOOM:JOOM ALIBABA:阿里巴巴国际站 MERCADO:美客多 ETSY:ETSY SHOPLAZZA:店匠 WOOCOMMERCE:WOOCOMMERCE SHOPYY:SHOPYY UEESHOP:UEESHOP SHOPLINE:SHOPLINE CDISCOUNT:CDISCOUNT DARAZ:达拉兹 COUPANG:酷澎 ALLEGRO:ALLEGRO JUMIA:JUMIA MAGENTO:MAGENTO BIGCOMMERCE:BIGCOMMERCE KILIMALL:KILIMALL GEARBEST:GEARBEST TIKI:TIKI SHOPBASE:SHOPBASE KAUFLAND:KAUFLAND FUNPINPIN:FUNPINPIN ALLVALUE:有赞 SHOPEXP:shopexpress FNAC:FNAC RAKUTEN:乐天 QOO10:趣天 1688:1688 OTHER:其他来源(例如:手工订单))",
|
|
3142
|
+
"example": "AMAZON"
|
|
3143
|
+
},
|
|
3144
|
+
"ecomErpType": {
|
|
3145
|
+
"type": "string",
|
|
3146
|
+
"description": "电商erp类型(DIAN-XIAO-MI:店小秘 MABANG:马帮 WXW:旺销王 TONG-TOOL:通途 QQZS:交易助手 WDJL:网店精灵 MGDZ:芒果店长 SU-MOOL:速猫 SH:赛盒 YI-CANG:易仓 MIAO-SHOU:妙手 LX:领星)",
|
|
3147
|
+
"example": "WXW"
|
|
3148
|
+
},
|
|
3149
|
+
"ecomEarliestTimeBuyLabel": {
|
|
3150
|
+
"type": "integer",
|
|
3151
|
+
"description": "电商最早可买单时间(毫秒时间戳)",
|
|
3152
|
+
"format": "int64",
|
|
3153
|
+
"example": 1793671200000
|
|
3154
|
+
},
|
|
3155
|
+
"ecomSendDealLineTime": {
|
|
3156
|
+
"type": "integer",
|
|
3157
|
+
"description": "电商发货截止时间(毫秒时间戳)",
|
|
3158
|
+
"format": "int64",
|
|
3159
|
+
"example": 1793844000000
|
|
3160
|
+
},
|
|
3161
|
+
"ecomBuyLabelAreaCode": {
|
|
3162
|
+
"type": "string",
|
|
3163
|
+
"description": "电商买单仓库代码",
|
|
3164
|
+
"example": "US"
|
|
3165
|
+
},
|
|
3166
|
+
"ecomBuyLabelChannel": {
|
|
3167
|
+
"type": "string",
|
|
3168
|
+
"description": "电商买单渠道",
|
|
3169
|
+
"example": "US-AIR-DEMO"
|
|
3170
|
+
},
|
|
3171
|
+
"ecomInfo": {
|
|
3172
|
+
"type": "object",
|
|
3173
|
+
"properties": {
|
|
3174
|
+
"ecomBuyLabelUrl": {
|
|
3175
|
+
"type": "string",
|
|
3176
|
+
"description": "电商买单链接"
|
|
3177
|
+
}
|
|
3178
|
+
},
|
|
3179
|
+
"additionalProperties": {
|
|
3180
|
+
"type": "object",
|
|
3181
|
+
"description": "电商信息",
|
|
3182
|
+
"example": {
|
|
3183
|
+
"ecomBuyLabelUrl": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
3184
|
+
}
|
|
3185
|
+
},
|
|
3186
|
+
"description": "电商信息",
|
|
3187
|
+
"example": {
|
|
3188
|
+
"ecomBuyLabelUrl": "https://files.example.com/DEMO202611030001/label.pdf"
|
|
3189
|
+
}
|
|
3190
|
+
},
|
|
3191
|
+
"files": {
|
|
3192
|
+
"maxItems": 4,
|
|
3193
|
+
"minItems": 0,
|
|
3194
|
+
"type": "array",
|
|
3195
|
+
"description": "文件信息",
|
|
3196
|
+
"example": [
|
|
3197
|
+
{
|
|
3198
|
+
"type": 0,
|
|
3199
|
+
"fileName": "commercial-invoice.pdf",
|
|
3200
|
+
"base64": "JVBERi0xLjQKMSAwIG9iago8PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj4KZW5kb2JqCjIgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9LaWRzIFszIDAgUl0gL0NvdW50IDEgPj4KZW5kb2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2UgL1BhcmVudCAyIDAgUiAvTWVkaWFCb3ggWzAgMCA2MTIgNzkyXSAvUmVzb3VyY2VzIDw8IC9Gb250IDw8IC9GMSA0IDAgUiA+PiA+PiAvQ29udGVudHMgNSAwIFIgPj4KZW5kb2JqCjQgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+CmVuZG9iago1IDAgb2JqCjw8IC9MZW5ndGggODUgPj4Kc3RyZWFtCkJUIC9GMSAxMiBUZiA1MCA3NjAgVGQgKERFTU8gQ09NTUVSQ0lBTCBJTlZPSUNFIC0gSU5WMjAyNjExMDMwMDAxIC0gVVNEIDIwMC4wMCkgVGogRVQKZW5kc3RyZWFtCmVuZG9iagp4cmVmCjAgNgowMDAwMDAwMDAwIDY1NTM1IGYgCjAwMDAwMDAwMDkgMDAwMDAgbiAKMDAwMDAwMDA1OCAwMDAwMCBuIAowMDAwMDAwMTE1IDAwMDAwIG4gCjAwMDAwMDAyNDEgMDAwMDAgbiAKMDAwMDAwMDMxMSAwMDAwMCBuIAp0cmFpbGVyCjw8IC9TaXplIDYgL1Jvb3QgMSAwIFIgPj4Kc3RhcnR4cmVmCjQ0NgolJUVPRgo="
|
|
3201
|
+
}
|
|
3202
|
+
],
|
|
3203
|
+
"items": {
|
|
3204
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiOrderRequest$OpenApiFileRequest"
|
|
3205
|
+
}
|
|
3206
|
+
},
|
|
3207
|
+
"pieces": {
|
|
3208
|
+
"type": "array",
|
|
3209
|
+
"description": "单件信息",
|
|
3210
|
+
"example": [
|
|
3211
|
+
{
|
|
3212
|
+
"boxNo": "BOX001",
|
|
3213
|
+
"weight": 5,
|
|
3214
|
+
"length": 40,
|
|
3215
|
+
"width": 30,
|
|
3216
|
+
"height": 25,
|
|
3217
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
3218
|
+
"fbaReferenceId": "1234567890",
|
|
3219
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
3220
|
+
},
|
|
3221
|
+
{
|
|
3222
|
+
"boxNo": "BOX002",
|
|
3223
|
+
"weight": 5,
|
|
3224
|
+
"length": 40,
|
|
3225
|
+
"width": 30,
|
|
3226
|
+
"height": 25,
|
|
3227
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
3228
|
+
"fbaReferenceId": "1234567890",
|
|
3229
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
3230
|
+
}
|
|
3231
|
+
],
|
|
3232
|
+
"items": {
|
|
3233
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiExpressOrderRequest$OpenApiOrderPieceRequest"
|
|
3234
|
+
}
|
|
3235
|
+
},
|
|
3236
|
+
"commodities": {
|
|
3237
|
+
"type": "array",
|
|
3238
|
+
"description": "商品信息",
|
|
3239
|
+
"example": [
|
|
3240
|
+
{
|
|
3241
|
+
"nameCn": "纯棉T恤",
|
|
3242
|
+
"nameEn": "Cotton T-shirt",
|
|
3243
|
+
"unitNetWeight": 0.2,
|
|
3244
|
+
"sku": "TSHIRT-WHITE-M",
|
|
3245
|
+
"asin": "B0DEMO0001",
|
|
3246
|
+
"fnSku": "X00DEMO001",
|
|
3247
|
+
"purposeCn": "日常穿着",
|
|
3248
|
+
"purposeEn": "Daily wear",
|
|
3249
|
+
"materialCn": "100%棉",
|
|
3250
|
+
"materialEn": "100% cotton",
|
|
3251
|
+
"quantity": 10,
|
|
3252
|
+
"unit": 0,
|
|
3253
|
+
"unitPrice": 20,
|
|
3254
|
+
"brand": "DEMO",
|
|
3255
|
+
"norms": "M / White",
|
|
3256
|
+
"hsCode": "6109100000",
|
|
3257
|
+
"origin": "CN",
|
|
3258
|
+
"link": "https://files.example.com/DEMO202611030001/label.pdf",
|
|
3259
|
+
"imageUrl": "https://files.example.com/products/cotton-t-shirt.jpg",
|
|
3260
|
+
"importHsCode": "6109100012",
|
|
3261
|
+
"declareElement": "品牌:DEMO;材质:100%棉;用途:日常穿着",
|
|
3262
|
+
"model": "TSHIRT-M",
|
|
3263
|
+
"goodsDescs": [
|
|
3264
|
+
"普货"
|
|
3265
|
+
],
|
|
3266
|
+
"productVersion": "1.0",
|
|
3267
|
+
"certificateId": "DEMO-CERT-001",
|
|
3268
|
+
"registryProductId": "DEMO-REG-001",
|
|
3269
|
+
"merchantProductId": "DEMO-TSHIRT-WHITE-M",
|
|
3270
|
+
"nonStandardManufacturerProductId": "DEMO-STYLE-001",
|
|
3271
|
+
"standardManufacturerProductId": "DEMO-STD-001"
|
|
3272
|
+
}
|
|
3273
|
+
],
|
|
3274
|
+
"items": {
|
|
3275
|
+
"$ref": "#/components/schemas/CLLRO_OpenApiCommodityRequest"
|
|
3276
|
+
}
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3279
|
+
"description": "快递下单请求",
|
|
3280
|
+
"title": "快递下单请求"
|
|
3281
|
+
},
|
|
3282
|
+
"CLLRO_OpenApiExpressOrderRequest$OpenApiOrderPieceRequest": {
|
|
3283
|
+
"type": "object",
|
|
3284
|
+
"properties": {
|
|
3285
|
+
"boxNo": {
|
|
3286
|
+
"type": "string",
|
|
3287
|
+
"description": "箱号(客户自定义)",
|
|
3288
|
+
"example": "BOX001"
|
|
3289
|
+
},
|
|
3290
|
+
"weight": {
|
|
3291
|
+
"minimum": 0,
|
|
3292
|
+
"exclusiveMinimum": false,
|
|
3293
|
+
"type": "number",
|
|
3294
|
+
"description": "实重",
|
|
3295
|
+
"example": 5
|
|
3296
|
+
},
|
|
3297
|
+
"length": {
|
|
3298
|
+
"minimum": 0,
|
|
3299
|
+
"exclusiveMinimum": false,
|
|
3300
|
+
"type": "number",
|
|
3301
|
+
"description": "长度",
|
|
3302
|
+
"example": 40
|
|
3303
|
+
},
|
|
3304
|
+
"width": {
|
|
3305
|
+
"minimum": 0,
|
|
3306
|
+
"exclusiveMinimum": false,
|
|
3307
|
+
"type": "number",
|
|
3308
|
+
"description": "宽度",
|
|
3309
|
+
"example": 30
|
|
3310
|
+
},
|
|
3311
|
+
"height": {
|
|
3312
|
+
"minimum": 0,
|
|
3313
|
+
"exclusiveMinimum": false,
|
|
3314
|
+
"type": "number",
|
|
3315
|
+
"description": "高度",
|
|
3316
|
+
"example": 25
|
|
3317
|
+
},
|
|
3318
|
+
"fbaShipmentId": {
|
|
3319
|
+
"maxLength": 50,
|
|
3320
|
+
"type": "string",
|
|
3321
|
+
"description": "FBA货件ID(FBA shipmentId)",
|
|
3322
|
+
"example": "FBADEMO00001"
|
|
3323
|
+
},
|
|
3324
|
+
"fbaReferenceId": {
|
|
3325
|
+
"maxLength": 100,
|
|
3326
|
+
"type": "string",
|
|
3327
|
+
"description": "FBA内部参考ID(FBA Amazon Reference ID)",
|
|
3328
|
+
"example": "1234567890"
|
|
3329
|
+
},
|
|
3330
|
+
"purchaseOrderNumber": {
|
|
3331
|
+
"maxLength": 100,
|
|
3332
|
+
"type": "string",
|
|
3333
|
+
"description": "PO预约号",
|
|
3334
|
+
"example": "PO202611030001"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
3337
|
+
"description": "单件信息请求",
|
|
3338
|
+
"example": [
|
|
3339
|
+
{
|
|
3340
|
+
"boxNo": "BOX001",
|
|
3341
|
+
"weight": 5,
|
|
3342
|
+
"length": 40,
|
|
3343
|
+
"width": 30,
|
|
3344
|
+
"height": 25,
|
|
3345
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
3346
|
+
"fbaReferenceId": "1234567890",
|
|
3347
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"boxNo": "BOX002",
|
|
3351
|
+
"weight": 5,
|
|
3352
|
+
"length": 40,
|
|
3353
|
+
"width": 30,
|
|
3354
|
+
"height": 25,
|
|
3355
|
+
"fbaShipmentId": "FBADEMO00001",
|
|
3356
|
+
"fbaReferenceId": "1234567890",
|
|
3357
|
+
"purchaseOrderNumber": "PO202611030001"
|
|
3358
|
+
}
|
|
3359
|
+
],
|
|
3360
|
+
"title": "单件信息请求"
|
|
3361
|
+
},
|
|
3362
|
+
"CLLRO_OpenApiDeleteOrderRequest": {
|
|
3363
|
+
"required": [
|
|
3364
|
+
"customerKey",
|
|
3365
|
+
"no"
|
|
3366
|
+
],
|
|
3367
|
+
"type": "object",
|
|
3368
|
+
"properties": {
|
|
3369
|
+
"customerKey": {
|
|
3370
|
+
"type": "string",
|
|
3371
|
+
"description": "customerKey,请联系客服提供,保密使用",
|
|
3372
|
+
"example": "DEMO_CUSTOMER_KEY_NOT_VALID"
|
|
3373
|
+
},
|
|
3374
|
+
"no": {
|
|
3375
|
+
"type": "string",
|
|
3376
|
+
"description": "单号",
|
|
3377
|
+
"example": "LMS202611030001"
|
|
3378
|
+
},
|
|
3379
|
+
"noType": {
|
|
3380
|
+
"type": "integer",
|
|
3381
|
+
"description": "单号类型(0:运单号 1:客户单号 2:转单号)",
|
|
3382
|
+
"format": "int32",
|
|
3383
|
+
"example": 0
|
|
3384
|
+
}
|
|
3385
|
+
},
|
|
3386
|
+
"description": "删除订单请求",
|
|
3387
|
+
"title": "删除订单请求"
|
|
3388
|
+
},
|
|
3389
|
+
"CLCMRL_Integer": {
|
|
3390
|
+
"type": "object",
|
|
3391
|
+
"properties": {
|
|
3392
|
+
"code": {
|
|
3393
|
+
"type": "integer",
|
|
3394
|
+
"description": "返回码(0:成功 其他:失败),业务code需大于1000",
|
|
3395
|
+
"format": "int32"
|
|
3396
|
+
},
|
|
3397
|
+
"data": {
|
|
3398
|
+
"type": "integer",
|
|
3399
|
+
"description": "数据结果",
|
|
3400
|
+
"format": "int32"
|
|
3401
|
+
},
|
|
3402
|
+
"msg": {
|
|
3403
|
+
"type": "string",
|
|
3404
|
+
"description": "错误消息"
|
|
3405
|
+
}
|
|
3406
|
+
},
|
|
3407
|
+
"description": "Result",
|
|
3408
|
+
"title": "Result"
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
"x-openapi": {
|
|
3413
|
+
"x-setting": {
|
|
3414
|
+
"customCode": 200,
|
|
3415
|
+
"language": "zh-CN",
|
|
3416
|
+
"enableSwaggerModels": false,
|
|
3417
|
+
"swaggerModelName": "Swagger Models",
|
|
3418
|
+
"enableReloadCacheParameter": false,
|
|
3419
|
+
"enableAfterScript": true,
|
|
3420
|
+
"enableDocumentManage": false,
|
|
3421
|
+
"enableVersion": false,
|
|
3422
|
+
"enableRequestCache": true,
|
|
3423
|
+
"enableFilterMultipartApis": false,
|
|
3424
|
+
"enableFilterMultipartApiMethodType": "POST",
|
|
3425
|
+
"enableHost": false,
|
|
3426
|
+
"enableHostText": "",
|
|
3427
|
+
"enableDynamicParameter": false,
|
|
3428
|
+
"enableDebug": false,
|
|
3429
|
+
"enableFooter": true,
|
|
3430
|
+
"enableFooterCustom": false,
|
|
3431
|
+
"enableSearch": true,
|
|
3432
|
+
"enableOpenApi": true,
|
|
3433
|
+
"enableHomeCustom": false,
|
|
3434
|
+
"enableGroup": true,
|
|
3435
|
+
"enableResponseCode": true
|
|
3436
|
+
},
|
|
3437
|
+
"x-markdownFiles": []
|
|
3438
|
+
}
|
|
3439
|
+
}
|