@things-factory/operato-hub 4.3.231 → 4.3.232
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/config.development.js +76 -105
- package/dist-server/routers/api/restful-apis/v1/utils/params.js +2 -0
- package/dist-server/routers/api/restful-apis/v1/utils/params.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/add-release-order.js +5 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/add-release-order.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-details.js +1 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-details.js.map +1 -1
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-list.js +1 -0
- package/dist-server/routers/api/restful-apis/v1/warehouse/get-release-order-list.js.map +1 -1
- package/dist-server/routers/internal/powrup-router.js +73 -0
- package/dist-server/routers/internal/powrup-router.js.map +1 -1
- package/openapi/v1/outbound.yaml +409 -390
- package/package.json +4 -4
- package/server/routers/api/restful-apis/v1/utils/params.ts +2 -0
- package/server/routers/api/restful-apis/v1/warehouse/add-release-order.ts +8 -4
- package/server/routers/api/restful-apis/v1/warehouse/get-release-order-details.ts +1 -0
- package/server/routers/api/restful-apis/v1/warehouse/get-release-order-list.ts +1 -0
- package/server/routers/internal/powrup-router.ts +88 -0
package/openapi/v1/outbound.yaml
CHANGED
|
@@ -1,135 +1,138 @@
|
|
|
1
1
|
definitions:
|
|
2
|
-
# AddReleaseOrder
|
|
2
|
+
# AddReleaseOrder
|
|
3
3
|
AddReleaseOrder:
|
|
4
4
|
type: 'object'
|
|
5
|
-
properties:
|
|
5
|
+
properties:
|
|
6
6
|
data:
|
|
7
7
|
type: 'object'
|
|
8
8
|
properties:
|
|
9
|
-
id:
|
|
9
|
+
id:
|
|
10
10
|
type: 'string'
|
|
11
11
|
example: 'd4065b22-b002-4fdd-94c1-6df7a2d36fed'
|
|
12
|
-
roNo:
|
|
12
|
+
roNo:
|
|
13
13
|
type: 'string'
|
|
14
14
|
example: 'RO-2022710116761'
|
|
15
|
-
refNo:
|
|
15
|
+
refNo:
|
|
16
16
|
type: 'string'
|
|
17
17
|
example: '2206308RFYKUCV'
|
|
18
|
-
refNo2:
|
|
18
|
+
refNo2:
|
|
19
19
|
type: 'string'
|
|
20
20
|
example: '2206308RFYKUCV'
|
|
21
|
-
refNo3:
|
|
21
|
+
refNo3:
|
|
22
|
+
type: 'string'
|
|
23
|
+
example: 'string'
|
|
24
|
+
refOrderId:
|
|
22
25
|
type: 'string'
|
|
23
26
|
example: 'string'
|
|
24
|
-
status:
|
|
27
|
+
status:
|
|
25
28
|
type: 'string'
|
|
26
29
|
example: 'PENDING_WORKSHEET'
|
|
27
|
-
truckNo:
|
|
30
|
+
truckNo:
|
|
28
31
|
type: 'string'
|
|
29
32
|
example: 'string'
|
|
30
|
-
ownTransport:
|
|
33
|
+
ownTransport:
|
|
31
34
|
type: 'boolean'
|
|
32
35
|
example: true
|
|
33
|
-
crossDocking:
|
|
36
|
+
crossDocking:
|
|
34
37
|
type: 'boolean'
|
|
35
38
|
example: false
|
|
36
|
-
marketplaceOrderStatus:
|
|
39
|
+
marketplaceOrderStatus:
|
|
37
40
|
type: 'string'
|
|
38
41
|
example: 'ready_to_ship'
|
|
39
|
-
billingAddress:
|
|
42
|
+
billingAddress:
|
|
40
43
|
type: 'string'
|
|
41
44
|
example: 'string'
|
|
42
|
-
deliveryAddress1:
|
|
45
|
+
deliveryAddress1:
|
|
43
46
|
type: 'string'
|
|
44
47
|
example: 'No 14 Lorong 9A Tman Peruda Fasa 1B Kuala Muda 08000 Kedah'
|
|
45
|
-
deliveryAddress2:
|
|
48
|
+
deliveryAddress2:
|
|
46
49
|
type: 'string'
|
|
47
50
|
example: 'string'
|
|
48
|
-
deliveryAddress3:
|
|
51
|
+
deliveryAddress3:
|
|
49
52
|
type: 'string'
|
|
50
53
|
example: 'string'
|
|
51
|
-
deliveryAddress4:
|
|
54
|
+
deliveryAddress4:
|
|
52
55
|
type: 'string'
|
|
53
56
|
example: 'string'
|
|
54
|
-
deliveryAddress5:
|
|
57
|
+
deliveryAddress5:
|
|
55
58
|
type: 'string'
|
|
56
59
|
example: 'string'
|
|
57
|
-
attentionTo:
|
|
60
|
+
attentionTo:
|
|
58
61
|
type: 'string'
|
|
59
62
|
example: 'Rokiah bt Bakar'
|
|
60
|
-
attentionCompany:
|
|
63
|
+
attentionCompany:
|
|
61
64
|
type: 'string'
|
|
62
65
|
example: 'string'
|
|
63
|
-
city:
|
|
66
|
+
city:
|
|
64
67
|
type: 'string'
|
|
65
68
|
example: 'Kuala Muda'
|
|
66
|
-
state:
|
|
69
|
+
state:
|
|
67
70
|
type: 'string'
|
|
68
71
|
example: 'Kedah'
|
|
69
|
-
postalCode:
|
|
72
|
+
postalCode:
|
|
70
73
|
type: 'string'
|
|
71
74
|
example: '08000'
|
|
72
|
-
country:
|
|
75
|
+
country:
|
|
73
76
|
type: 'string'
|
|
74
77
|
example: 'Malaysia'
|
|
75
|
-
phone1:
|
|
78
|
+
phone1:
|
|
76
79
|
type: 'string'
|
|
77
80
|
example: '60174396110'
|
|
78
|
-
phone2:
|
|
81
|
+
phone2:
|
|
79
82
|
type: 'string'
|
|
80
83
|
example: 'string'
|
|
81
|
-
email:
|
|
84
|
+
email:
|
|
82
85
|
type: 'string'
|
|
83
86
|
example: 'string'
|
|
84
|
-
transporter:
|
|
87
|
+
transporter:
|
|
85
88
|
type: 'string'
|
|
86
89
|
example: 'Others (West Malaysia)'
|
|
87
|
-
trackingNo:
|
|
90
|
+
trackingNo:
|
|
88
91
|
type: 'string'
|
|
89
92
|
example: 'SBOP220701000290101'
|
|
90
|
-
airwayBill:
|
|
93
|
+
airwayBill:
|
|
91
94
|
type: 'string'
|
|
92
95
|
example: 'string'
|
|
93
|
-
invoice:
|
|
96
|
+
invoice:
|
|
94
97
|
type: 'string'
|
|
95
98
|
example: 'string'
|
|
96
|
-
type:
|
|
99
|
+
type:
|
|
97
100
|
type: 'string'
|
|
98
|
-
enum: [b2c,b2b]
|
|
99
|
-
packageId:
|
|
101
|
+
enum: [b2c, b2b]
|
|
102
|
+
packageId:
|
|
100
103
|
type: 'string'
|
|
101
104
|
example: 'string'
|
|
102
|
-
storeName:
|
|
105
|
+
storeName:
|
|
103
106
|
type: 'string'
|
|
104
107
|
example: 'string'
|
|
105
|
-
storeId:
|
|
108
|
+
storeId:
|
|
106
109
|
type: 'string'
|
|
107
110
|
example: 'string'
|
|
108
|
-
routeId:
|
|
111
|
+
routeId:
|
|
109
112
|
type: 'string'
|
|
110
113
|
example: 'string'
|
|
111
|
-
stopId:
|
|
114
|
+
stopId:
|
|
112
115
|
type: 'string'
|
|
113
116
|
example: 'string'
|
|
114
|
-
exportOption:
|
|
117
|
+
exportOption:
|
|
115
118
|
type: 'boolean'
|
|
116
119
|
example: false
|
|
117
|
-
releaseDate:
|
|
120
|
+
releaseDate:
|
|
118
121
|
type: 'string'
|
|
119
122
|
example: '2022-07-01'
|
|
120
|
-
collectionOrderNo:
|
|
123
|
+
collectionOrderNo:
|
|
121
124
|
type: 'string'
|
|
122
125
|
example: '2206308RFYKUCV'
|
|
123
126
|
bizplace:
|
|
124
127
|
type: 'object'
|
|
125
128
|
properties:
|
|
126
|
-
name:
|
|
129
|
+
name:
|
|
127
130
|
type: 'string'
|
|
128
131
|
example: 'FNBM E-commerce'
|
|
129
132
|
domain:
|
|
130
133
|
type: 'object'
|
|
131
|
-
properties:
|
|
132
|
-
name:
|
|
134
|
+
properties:
|
|
135
|
+
name:
|
|
133
136
|
type: 'string'
|
|
134
137
|
example: 'SeeBuu Warehouse'
|
|
135
138
|
orderInventories:
|
|
@@ -140,133 +143,136 @@ definitions:
|
|
|
140
143
|
product:
|
|
141
144
|
type: 'object'
|
|
142
145
|
properties:
|
|
143
|
-
name:
|
|
146
|
+
name:
|
|
144
147
|
type: 'string'
|
|
145
148
|
example: 'SS ROSE SOYA (A) ASP 1L X 12'
|
|
146
|
-
sku:
|
|
149
|
+
sku:
|
|
147
150
|
type: 'string'
|
|
148
151
|
example: '1172790'
|
|
149
|
-
batchId:
|
|
152
|
+
batchId:
|
|
150
153
|
type: 'string'
|
|
151
154
|
example: '11/2023'
|
|
152
|
-
packingType:
|
|
155
|
+
packingType:
|
|
153
156
|
type: 'string'
|
|
154
157
|
example: 'CARTON'
|
|
155
|
-
packingSize:
|
|
158
|
+
packingSize:
|
|
156
159
|
type: 'integer'
|
|
157
160
|
format: 'double'
|
|
158
161
|
example: 1
|
|
159
|
-
releaseQty:
|
|
162
|
+
releaseQty:
|
|
160
163
|
type: 'integer'
|
|
161
164
|
example: 1
|
|
162
|
-
releaseUomValue:
|
|
165
|
+
releaseUomValue:
|
|
163
166
|
type: 'integer'
|
|
164
167
|
example: 12
|
|
165
168
|
xml:
|
|
166
169
|
name: 'AddReleaseOrder'
|
|
167
170
|
|
|
168
|
-
# CancelReleaseOrder
|
|
171
|
+
# CancelReleaseOrder
|
|
169
172
|
CancelReleaseOrder:
|
|
170
173
|
type: 'object'
|
|
171
|
-
properties:
|
|
172
|
-
data:
|
|
174
|
+
properties:
|
|
175
|
+
data:
|
|
173
176
|
type: 'object'
|
|
174
177
|
properties:
|
|
175
|
-
ro:
|
|
178
|
+
ro:
|
|
176
179
|
type: 'string'
|
|
177
180
|
example: 'xxxxx'
|
|
178
181
|
xml:
|
|
179
182
|
name: 'CancelReleaseOrder'
|
|
180
183
|
|
|
181
|
-
# UpdateReleaseOrderDetails
|
|
184
|
+
# UpdateReleaseOrderDetails
|
|
182
185
|
UpdateReleaseOrderDetails:
|
|
183
186
|
type: 'object'
|
|
184
|
-
properties:
|
|
185
|
-
data:
|
|
187
|
+
properties:
|
|
188
|
+
data:
|
|
186
189
|
type: 'object'
|
|
187
190
|
properties:
|
|
188
|
-
id:
|
|
191
|
+
id:
|
|
189
192
|
type: 'string'
|
|
190
193
|
example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
|
|
191
|
-
roNo:
|
|
194
|
+
roNo:
|
|
192
195
|
type: 'string'
|
|
193
196
|
example: 'xxxxx'
|
|
194
|
-
collectionOrderNo:
|
|
197
|
+
collectionOrderNo:
|
|
198
|
+
type: 'string'
|
|
199
|
+
example: 'string'
|
|
200
|
+
refNo:
|
|
195
201
|
type: 'string'
|
|
196
202
|
example: 'string'
|
|
197
|
-
|
|
203
|
+
refNo2:
|
|
198
204
|
type: 'string'
|
|
199
205
|
example: 'string'
|
|
200
|
-
|
|
206
|
+
refNo3:
|
|
201
207
|
type: 'string'
|
|
202
208
|
example: 'string'
|
|
203
|
-
|
|
209
|
+
refOrderId:
|
|
204
210
|
type: 'string'
|
|
205
211
|
example: 'string'
|
|
206
|
-
marketplaceOrderStatus:
|
|
212
|
+
marketplaceOrderStatus:
|
|
207
213
|
type: 'string'
|
|
208
214
|
example: 'string'
|
|
209
|
-
billingAddress:
|
|
215
|
+
billingAddress:
|
|
210
216
|
type: 'string'
|
|
211
217
|
example: 'string'
|
|
212
|
-
deliveryAddress1:
|
|
218
|
+
deliveryAddress1:
|
|
213
219
|
type: 'string'
|
|
214
220
|
example: 'string'
|
|
215
|
-
attentionTo:
|
|
221
|
+
attentionTo:
|
|
216
222
|
type: 'string'
|
|
217
223
|
example: 'string'
|
|
218
|
-
city:
|
|
224
|
+
city:
|
|
219
225
|
type: 'string'
|
|
220
226
|
example: 'string'
|
|
221
|
-
country:
|
|
227
|
+
country:
|
|
222
228
|
type: 'string'
|
|
223
229
|
example: 'string'
|
|
224
|
-
postalCode:
|
|
230
|
+
postalCode:
|
|
225
231
|
type: 'string'
|
|
226
232
|
example: 'string'
|
|
227
|
-
phone1:
|
|
233
|
+
phone1:
|
|
228
234
|
type: 'string'
|
|
229
235
|
example: 'string'
|
|
230
|
-
transporter:
|
|
236
|
+
transporter:
|
|
231
237
|
type: 'string'
|
|
232
238
|
example: 'string'
|
|
233
|
-
trackingNo:
|
|
239
|
+
trackingNo:
|
|
234
240
|
type: 'string'
|
|
235
241
|
example: 'string'
|
|
236
|
-
airwayBill:
|
|
242
|
+
airwayBill:
|
|
237
243
|
type: 'string'
|
|
238
244
|
example: 'string'
|
|
239
|
-
invoice:
|
|
245
|
+
invoice:
|
|
240
246
|
type: 'string'
|
|
241
247
|
example: 'string'
|
|
242
|
-
shippingOrder:
|
|
248
|
+
shippingOrder:
|
|
243
249
|
type: 'object'
|
|
244
250
|
properties:
|
|
245
|
-
shipName:
|
|
251
|
+
shipName:
|
|
246
252
|
type: 'string'
|
|
247
253
|
example: 'string'
|
|
248
|
-
containerNo:
|
|
254
|
+
containerNo:
|
|
249
255
|
type: 'string'
|
|
250
256
|
example: 'string'
|
|
251
|
-
loadType:
|
|
257
|
+
loadType:
|
|
252
258
|
type: 'string'
|
|
253
259
|
example: 'string'
|
|
254
|
-
from:
|
|
260
|
+
from:
|
|
255
261
|
type: 'string'
|
|
256
262
|
example: 'string'
|
|
257
|
-
to:
|
|
263
|
+
to:
|
|
258
264
|
type: 'string'
|
|
259
265
|
example: 'string'
|
|
260
|
-
containerArrivalDate:
|
|
266
|
+
containerArrivalDate:
|
|
261
267
|
type: 'string'
|
|
262
268
|
example: '2020-02-14'
|
|
263
|
-
containerLeavingDate:
|
|
269
|
+
containerLeavingDate:
|
|
264
270
|
type: 'string'
|
|
265
271
|
example: '2020-02-14'
|
|
266
272
|
xml:
|
|
267
273
|
name: 'UpdateReleaseOrderDetails'
|
|
268
274
|
|
|
269
|
-
# GetReleaseOrderList
|
|
275
|
+
# GetReleaseOrderList
|
|
270
276
|
GetReleaseOrderList:
|
|
271
277
|
type: 'object'
|
|
272
278
|
properties:
|
|
@@ -275,303 +281,309 @@ definitions:
|
|
|
275
281
|
items:
|
|
276
282
|
type: 'object'
|
|
277
283
|
properties:
|
|
278
|
-
id:
|
|
284
|
+
id:
|
|
279
285
|
type: 'string'
|
|
280
286
|
example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
|
|
281
|
-
roNo:
|
|
287
|
+
roNo:
|
|
282
288
|
type: 'string'
|
|
283
289
|
example: 'xxxxxx'
|
|
284
|
-
refNo:
|
|
290
|
+
refNo:
|
|
285
291
|
type: 'string'
|
|
286
292
|
example: 'INV-0001'
|
|
287
|
-
refNo2:
|
|
293
|
+
refNo2:
|
|
288
294
|
type: 'string'
|
|
289
295
|
example: 'INV-0001'
|
|
290
|
-
refNo3:
|
|
296
|
+
refNo3:
|
|
291
297
|
type: 'string'
|
|
292
298
|
example: 'INV-0001'
|
|
293
|
-
|
|
299
|
+
refOrderId:
|
|
294
300
|
type: 'string'
|
|
295
|
-
|
|
296
|
-
|
|
301
|
+
example: 'string'
|
|
302
|
+
type:
|
|
303
|
+
type: 'string'
|
|
304
|
+
enum: [b2b, b2c]
|
|
305
|
+
releaseDate:
|
|
297
306
|
type: 'string'
|
|
298
307
|
example: '2019-10-31'
|
|
299
|
-
collectionOrderNo:
|
|
308
|
+
collectionOrderNo:
|
|
300
309
|
type: 'string'
|
|
301
310
|
example: 'CO-2020219301'
|
|
302
|
-
ownTransport:
|
|
311
|
+
ownTransport:
|
|
303
312
|
type: 'boolean'
|
|
304
313
|
example: false
|
|
305
|
-
exportOption:
|
|
314
|
+
exportOption:
|
|
306
315
|
type: 'boolean'
|
|
307
316
|
example: false
|
|
308
|
-
transporter:
|
|
317
|
+
transporter:
|
|
309
318
|
type: 'string'
|
|
310
319
|
example: 'DHL eCommerce'
|
|
311
|
-
trackingNo:
|
|
320
|
+
trackingNo:
|
|
312
321
|
type: 'string'
|
|
313
322
|
example: 'TA-2220100301'
|
|
314
|
-
marketplaceOrderStatus:
|
|
323
|
+
marketplaceOrderStatus:
|
|
315
324
|
type: 'string'
|
|
316
325
|
example: 'Ready To Ship'
|
|
317
|
-
airwayBill:
|
|
326
|
+
airwayBill:
|
|
318
327
|
type: 'string'
|
|
319
328
|
example: 'https://pdfurl.com'
|
|
320
|
-
invoice:
|
|
329
|
+
invoice:
|
|
321
330
|
type: 'string'
|
|
322
331
|
example: 'https://pdfurl.com'
|
|
323
|
-
storeName:
|
|
332
|
+
storeName:
|
|
324
333
|
type: 'string'
|
|
325
334
|
example: 'Demo Store'
|
|
326
|
-
storeId:
|
|
335
|
+
storeId:
|
|
327
336
|
type: 'string'
|
|
328
337
|
example: '1949'
|
|
329
|
-
routeId:
|
|
338
|
+
routeId:
|
|
330
339
|
type: 'string'
|
|
331
340
|
example: 'CTR-07'
|
|
332
|
-
stopId:
|
|
341
|
+
stopId:
|
|
333
342
|
type: 'string'
|
|
334
343
|
example: '24'
|
|
335
344
|
status:
|
|
336
345
|
type: 'string'
|
|
337
346
|
example: 'PICKING'
|
|
338
|
-
billTo:
|
|
347
|
+
billTo:
|
|
339
348
|
type: 'object'
|
|
340
349
|
properties:
|
|
341
|
-
billingAddress:
|
|
350
|
+
billingAddress:
|
|
342
351
|
type: 'string'
|
|
343
352
|
example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia '
|
|
344
353
|
deliverTo:
|
|
345
354
|
type: 'object'
|
|
346
|
-
properties:
|
|
347
|
-
deliveryAddress1:
|
|
355
|
+
properties:
|
|
356
|
+
deliveryAddress1:
|
|
348
357
|
type: 'string'
|
|
349
358
|
example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia'
|
|
350
|
-
deliveryAddress2:
|
|
359
|
+
deliveryAddress2:
|
|
351
360
|
type: 'string'
|
|
352
361
|
example: '-'
|
|
353
|
-
deliveryAddress3:
|
|
362
|
+
deliveryAddress3:
|
|
354
363
|
type: 'string'
|
|
355
364
|
example: '-'
|
|
356
|
-
deliveryAddress4:
|
|
365
|
+
deliveryAddress4:
|
|
357
366
|
type: 'string'
|
|
358
367
|
example: '-'
|
|
359
|
-
deliveryAddress5:
|
|
368
|
+
deliveryAddress5:
|
|
360
369
|
type: 'string'
|
|
361
370
|
example: '-'
|
|
362
|
-
attentionTo:
|
|
371
|
+
attentionTo:
|
|
363
372
|
type: 'string'
|
|
364
373
|
example: 'Annie'
|
|
365
|
-
attentionCompany:
|
|
374
|
+
attentionCompany:
|
|
366
375
|
type: 'string'
|
|
367
376
|
example: 'ABC SDN BHD'
|
|
368
|
-
city:
|
|
377
|
+
city:
|
|
369
378
|
type: 'string'
|
|
370
379
|
example: 'Shah Alam'
|
|
371
|
-
state:
|
|
380
|
+
state:
|
|
372
381
|
type: 'string'
|
|
373
382
|
example: 'Selangor'
|
|
374
|
-
postalCode:
|
|
383
|
+
postalCode:
|
|
375
384
|
type: 'string'
|
|
376
385
|
example: '41700'
|
|
377
|
-
country:
|
|
386
|
+
country:
|
|
378
387
|
type: 'string'
|
|
379
388
|
example: 'Malaysia'
|
|
380
|
-
phone1:
|
|
389
|
+
phone1:
|
|
381
390
|
type: 'string'
|
|
382
391
|
example: '011-30303030'
|
|
383
|
-
phone2:
|
|
392
|
+
phone2:
|
|
384
393
|
type: 'string'
|
|
385
394
|
example: '011-20203030'
|
|
386
|
-
email:
|
|
395
|
+
email:
|
|
387
396
|
type: 'string'
|
|
388
397
|
example: 'abc@hatio.asia'
|
|
389
|
-
orderInventories:
|
|
398
|
+
orderInventories:
|
|
390
399
|
type: 'array'
|
|
391
400
|
items:
|
|
392
401
|
type: 'object'
|
|
393
402
|
properties:
|
|
394
|
-
product:
|
|
403
|
+
product:
|
|
395
404
|
type: 'object'
|
|
396
405
|
properties:
|
|
397
|
-
sku:
|
|
406
|
+
sku:
|
|
398
407
|
type: 'string'
|
|
399
408
|
example: 'PANADOL-201020'
|
|
400
|
-
refCode:
|
|
409
|
+
refCode:
|
|
401
410
|
type: 'string'
|
|
402
411
|
example: '201020'
|
|
403
|
-
batchId:
|
|
404
|
-
type: 'string'
|
|
412
|
+
batchId:
|
|
413
|
+
type: 'string'
|
|
405
414
|
example: 'B374727-1-1-1'
|
|
406
|
-
packingType:
|
|
407
|
-
type: 'string'
|
|
415
|
+
packingType:
|
|
416
|
+
type: 'string'
|
|
408
417
|
example: 'CARTON'
|
|
409
|
-
releaseQty:
|
|
410
|
-
type: 'integer'
|
|
418
|
+
releaseQty:
|
|
419
|
+
type: 'integer'
|
|
411
420
|
example: 1
|
|
412
|
-
packingSize:
|
|
421
|
+
packingSize:
|
|
413
422
|
type: 'integer'
|
|
414
423
|
example: 24
|
|
415
|
-
totalCount:
|
|
424
|
+
totalCount:
|
|
416
425
|
type: 'integer'
|
|
417
426
|
example: 35
|
|
418
|
-
limit:
|
|
427
|
+
limit:
|
|
419
428
|
type: 'integer'
|
|
420
429
|
example: 100
|
|
421
|
-
offset:
|
|
430
|
+
offset:
|
|
422
431
|
type: 'integer'
|
|
423
432
|
example: 0
|
|
424
433
|
xml:
|
|
425
434
|
name: 'GetReleaseOrderList'
|
|
426
435
|
|
|
427
|
-
# GetReleaseOrderDetails
|
|
436
|
+
# GetReleaseOrderDetails
|
|
428
437
|
GetReleaseOrderDetails:
|
|
429
438
|
type: 'object'
|
|
430
439
|
properties:
|
|
431
|
-
data:
|
|
440
|
+
data:
|
|
432
441
|
type: 'object'
|
|
433
442
|
properties:
|
|
434
|
-
id:
|
|
443
|
+
id:
|
|
435
444
|
type: 'string'
|
|
436
445
|
example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626'
|
|
437
|
-
roNo:
|
|
446
|
+
roNo:
|
|
438
447
|
type: 'string'
|
|
439
448
|
example: 'xxxxxx'
|
|
440
|
-
refNo:
|
|
449
|
+
refNo:
|
|
441
450
|
type: 'string'
|
|
442
451
|
example: 'INV-0001'
|
|
443
|
-
refNo1:
|
|
452
|
+
refNo1:
|
|
444
453
|
type: 'string'
|
|
445
454
|
example: 'INV-0001'
|
|
446
|
-
refNo2:
|
|
455
|
+
refNo2:
|
|
447
456
|
type: 'string'
|
|
448
457
|
example: 'INV-0001'
|
|
449
|
-
|
|
458
|
+
refOrderId:
|
|
450
459
|
type: 'string'
|
|
451
|
-
|
|
452
|
-
|
|
460
|
+
example: 'string'
|
|
461
|
+
type:
|
|
462
|
+
type: 'string'
|
|
463
|
+
enum: [b2b, b2c]
|
|
464
|
+
releaseDate:
|
|
453
465
|
type: 'string'
|
|
454
466
|
example: '2019-10-31'
|
|
455
|
-
collectionOrderNo:
|
|
467
|
+
collectionOrderNo:
|
|
456
468
|
type: 'string'
|
|
457
469
|
example: 'CO-2020219301'
|
|
458
|
-
ownTransport:
|
|
470
|
+
ownTransport:
|
|
459
471
|
type: 'boolean'
|
|
460
472
|
example: false
|
|
461
|
-
exportOption:
|
|
473
|
+
exportOption:
|
|
462
474
|
type: 'boolean'
|
|
463
475
|
example: false
|
|
464
|
-
transporter:
|
|
476
|
+
transporter:
|
|
465
477
|
type: 'string'
|
|
466
478
|
example: 'DHL eCommerce'
|
|
467
|
-
trackingNo:
|
|
479
|
+
trackingNo:
|
|
468
480
|
type: 'string'
|
|
469
481
|
example: 'TA-2220100301'
|
|
470
|
-
marketplaceOrderStatus:
|
|
482
|
+
marketplaceOrderStatus:
|
|
471
483
|
type: 'string'
|
|
472
484
|
example: 'Ready To Ship'
|
|
473
|
-
airwayBill:
|
|
485
|
+
airwayBill:
|
|
474
486
|
type: 'string'
|
|
475
487
|
example: 'https://pdfurl.com'
|
|
476
|
-
invoice:
|
|
488
|
+
invoice:
|
|
477
489
|
type: 'string'
|
|
478
490
|
example: 'https://pdfurl.com'
|
|
479
|
-
storeName:
|
|
491
|
+
storeName:
|
|
480
492
|
type: 'string'
|
|
481
493
|
example: 'Demo Store'
|
|
482
|
-
storeId:
|
|
494
|
+
storeId:
|
|
483
495
|
type: 'string'
|
|
484
496
|
example: '1949'
|
|
485
|
-
routeId:
|
|
497
|
+
routeId:
|
|
486
498
|
type: 'string'
|
|
487
499
|
example: 'CTR-07'
|
|
488
|
-
stopId:
|
|
500
|
+
stopId:
|
|
489
501
|
type: 'string'
|
|
490
502
|
example: '24'
|
|
491
503
|
status:
|
|
492
504
|
type: 'string'
|
|
493
505
|
example: 'PICKING'
|
|
494
|
-
billTo:
|
|
506
|
+
billTo:
|
|
495
507
|
type: 'object'
|
|
496
508
|
properties:
|
|
497
|
-
billingAddress:
|
|
509
|
+
billingAddress:
|
|
498
510
|
type: 'string'
|
|
499
511
|
example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia.'
|
|
500
|
-
deliverTo:
|
|
512
|
+
deliverTo:
|
|
501
513
|
type: 'object'
|
|
502
514
|
properties:
|
|
503
|
-
deliveryAddress1:
|
|
515
|
+
deliveryAddress1:
|
|
504
516
|
type: 'string'
|
|
505
517
|
example: '36 Jalan Kerongsang 2 Bandar Puteri KlangSelangor Klang 41200 Malaysia'
|
|
506
|
-
deliveryAddress2:
|
|
518
|
+
deliveryAddress2:
|
|
507
519
|
type: 'string'
|
|
508
520
|
example: '-'
|
|
509
|
-
deliveryAddress3:
|
|
521
|
+
deliveryAddress3:
|
|
510
522
|
type: 'string'
|
|
511
523
|
example: '-'
|
|
512
|
-
deliveryAddress4:
|
|
524
|
+
deliveryAddress4:
|
|
513
525
|
type: 'string'
|
|
514
526
|
example: '-'
|
|
515
|
-
deliveryAddress5:
|
|
527
|
+
deliveryAddress5:
|
|
516
528
|
type: 'string'
|
|
517
529
|
example: '-'
|
|
518
|
-
attentionTo:
|
|
530
|
+
attentionTo:
|
|
519
531
|
type: 'string'
|
|
520
532
|
example: 'Annie'
|
|
521
|
-
attentionCompany:
|
|
533
|
+
attentionCompany:
|
|
522
534
|
type: 'string'
|
|
523
535
|
example: 'ABC SDN BHD'
|
|
524
|
-
city:
|
|
536
|
+
city:
|
|
525
537
|
type: 'string'
|
|
526
538
|
example: 'Shah Alam'
|
|
527
|
-
state:
|
|
539
|
+
state:
|
|
528
540
|
type: 'string'
|
|
529
541
|
example: 'Selangor'
|
|
530
|
-
postalCode:
|
|
542
|
+
postalCode:
|
|
531
543
|
type: 'string'
|
|
532
544
|
example: '41700'
|
|
533
|
-
country:
|
|
545
|
+
country:
|
|
534
546
|
type: 'string'
|
|
535
547
|
example: 'Malaysia'
|
|
536
|
-
phone1:
|
|
548
|
+
phone1:
|
|
537
549
|
type: 'string'
|
|
538
550
|
example: '011-30303030'
|
|
539
|
-
phone2:
|
|
551
|
+
phone2:
|
|
540
552
|
type: 'string'
|
|
541
553
|
example: '011-20203030'
|
|
542
|
-
email:
|
|
554
|
+
email:
|
|
543
555
|
type: 'string'
|
|
544
556
|
example: 'abc@hatio.asia'
|
|
545
|
-
orderInventories:
|
|
557
|
+
orderInventories:
|
|
546
558
|
type: 'array'
|
|
547
559
|
items:
|
|
548
560
|
type: 'object'
|
|
549
561
|
properties:
|
|
550
562
|
product:
|
|
551
563
|
type: 'object'
|
|
552
|
-
properties:
|
|
553
|
-
sku:
|
|
564
|
+
properties:
|
|
565
|
+
sku:
|
|
554
566
|
type: 'string'
|
|
555
567
|
example: 'PANADOL-201020'
|
|
556
|
-
refCode:
|
|
568
|
+
refCode:
|
|
557
569
|
type: 'string'
|
|
558
|
-
example: '201020'
|
|
559
|
-
batchId:
|
|
570
|
+
example: '201020'
|
|
571
|
+
batchId:
|
|
560
572
|
type: 'string'
|
|
561
573
|
example: 'B374727-1-1-1'
|
|
562
|
-
packingType:
|
|
574
|
+
packingType:
|
|
563
575
|
type: 'string'
|
|
564
576
|
example: 'CARTON'
|
|
565
|
-
releaseQty:
|
|
577
|
+
releaseQty:
|
|
566
578
|
type: 'integer'
|
|
567
579
|
example: 1
|
|
568
|
-
packingSize:
|
|
580
|
+
packingSize:
|
|
569
581
|
type: 'integer'
|
|
570
582
|
example: 24
|
|
571
583
|
xml:
|
|
572
584
|
name: 'GetReleaseOrderDetails'
|
|
573
585
|
|
|
574
|
-
# GetDeliveryOrderList
|
|
586
|
+
# GetDeliveryOrderList
|
|
575
587
|
GetDeliveryOrderList:
|
|
576
588
|
type: 'object'
|
|
577
589
|
properties:
|
|
@@ -580,341 +592,343 @@ definitions:
|
|
|
580
592
|
items:
|
|
581
593
|
type: 'object'
|
|
582
594
|
properties:
|
|
583
|
-
id:
|
|
595
|
+
id:
|
|
584
596
|
type: 'string'
|
|
585
597
|
example: 'b60feaf2-1940-40cd-9c53-9e9ac072049d'
|
|
586
|
-
doNo:
|
|
598
|
+
doNo:
|
|
587
599
|
type: 'string'
|
|
588
600
|
example: 'DO-202193085211820'
|
|
589
|
-
from:
|
|
601
|
+
from:
|
|
590
602
|
type: 'string'
|
|
591
603
|
example: 'string'
|
|
592
|
-
to:
|
|
604
|
+
to:
|
|
593
605
|
type: 'string'
|
|
594
606
|
example: 'string'
|
|
595
|
-
contactPointRefId:
|
|
607
|
+
contactPointRefId:
|
|
596
608
|
type: 'string'
|
|
597
609
|
example: 'string'
|
|
598
|
-
truckNo:
|
|
610
|
+
truckNo:
|
|
599
611
|
type: 'string'
|
|
600
612
|
example: 'string'
|
|
601
|
-
deliveryDate:
|
|
613
|
+
deliveryDate:
|
|
602
614
|
type: 'string'
|
|
603
615
|
example: 'string'
|
|
604
|
-
status:
|
|
616
|
+
status:
|
|
605
617
|
type: 'string'
|
|
606
618
|
example: 'READY_TO_DISPATCH'
|
|
607
|
-
ownCollection:
|
|
619
|
+
ownCollection:
|
|
608
620
|
type: 'boolean'
|
|
609
621
|
example: true
|
|
610
|
-
looseItem:
|
|
622
|
+
looseItem:
|
|
611
623
|
type: 'string'
|
|
612
624
|
example: 'string'
|
|
613
|
-
deliveryDateTime:
|
|
625
|
+
deliveryDateTime:
|
|
614
626
|
type: 'string'
|
|
615
627
|
example: 'string'
|
|
616
|
-
loadWeight:
|
|
628
|
+
loadWeight:
|
|
617
629
|
type: 'string'
|
|
618
630
|
example: 'string'
|
|
619
|
-
cargoType:
|
|
631
|
+
cargoType:
|
|
620
632
|
type: 'string'
|
|
621
633
|
example: 'string'
|
|
622
|
-
urgency:
|
|
634
|
+
urgency:
|
|
623
635
|
type: 'string'
|
|
624
636
|
example: 'string'
|
|
625
|
-
telNo:
|
|
637
|
+
telNo:
|
|
626
638
|
type: 'string'
|
|
627
639
|
example: 'string'
|
|
628
|
-
refNo:
|
|
640
|
+
refNo:
|
|
629
641
|
type: 'string'
|
|
630
642
|
example: '2675858675687'
|
|
631
|
-
otherDriver:
|
|
643
|
+
otherDriver:
|
|
632
644
|
type: 'string'
|
|
633
645
|
example: 'string'
|
|
634
|
-
palletQty:
|
|
646
|
+
palletQty:
|
|
635
647
|
type: 'string'
|
|
636
648
|
example: 'string'
|
|
637
|
-
remark:
|
|
649
|
+
remark:
|
|
638
650
|
type: 'string'
|
|
639
651
|
example: 'string'
|
|
640
|
-
description:
|
|
652
|
+
description:
|
|
641
653
|
type: 'string'
|
|
642
654
|
example: 'string'
|
|
643
|
-
reusablePallet:
|
|
655
|
+
reusablePallet:
|
|
644
656
|
type: 'string'
|
|
645
657
|
example: 'string'
|
|
646
658
|
bizplace:
|
|
647
659
|
type: 'object'
|
|
648
|
-
properties:
|
|
649
|
-
id:
|
|
660
|
+
properties:
|
|
661
|
+
id:
|
|
650
662
|
type: 'string'
|
|
651
663
|
example: 'b60feaf2-1940-40cd-9c53-9e9ac072049d'
|
|
652
|
-
name:
|
|
664
|
+
name:
|
|
653
665
|
type: 'string'
|
|
654
666
|
example: 'ABC E-commerce'
|
|
655
667
|
description:
|
|
656
668
|
type: 'string'
|
|
657
|
-
example: ' '
|
|
658
|
-
domain:
|
|
669
|
+
example: ' '
|
|
670
|
+
domain:
|
|
659
671
|
type: 'object'
|
|
660
672
|
properties:
|
|
661
|
-
id:
|
|
673
|
+
id:
|
|
662
674
|
type: 'string'
|
|
663
675
|
example: 'df6dba81-6029-4f95-96ff-748570dc2f4e'
|
|
664
|
-
name:
|
|
676
|
+
name:
|
|
665
677
|
type: 'string'
|
|
666
678
|
example: 'ABC Warehouse '
|
|
667
679
|
releaseGood:
|
|
668
680
|
type: 'object'
|
|
669
|
-
properties:
|
|
670
|
-
id:
|
|
681
|
+
properties:
|
|
682
|
+
id:
|
|
671
683
|
type: 'string'
|
|
672
684
|
example: 'b60feaf2-1940-40cd-9c53-9e9ac072049d'
|
|
673
|
-
roNo:
|
|
685
|
+
roNo:
|
|
674
686
|
type: 'string'
|
|
675
687
|
example: 'RO-20219317281764'
|
|
676
|
-
description:
|
|
688
|
+
description:
|
|
677
689
|
type: 'string'
|
|
678
690
|
example: 'string'
|
|
679
|
-
status:
|
|
691
|
+
status:
|
|
680
692
|
type: 'string'
|
|
681
693
|
example: 'DONE'
|
|
682
|
-
refNo:
|
|
694
|
+
refNo:
|
|
683
695
|
type: 'string'
|
|
684
696
|
example: '678968687688967'
|
|
685
|
-
refNo2:
|
|
697
|
+
refNo2:
|
|
686
698
|
type: 'string'
|
|
687
699
|
example: 'Loose'
|
|
688
|
-
refNo3:
|
|
700
|
+
refNo3:
|
|
689
701
|
type: 'string'
|
|
690
702
|
example: 'string'
|
|
691
|
-
|
|
703
|
+
refOrderId:
|
|
692
704
|
type: 'string'
|
|
693
705
|
example: 'string'
|
|
694
|
-
|
|
706
|
+
truckNo:
|
|
707
|
+
type: 'string'
|
|
708
|
+
example: 'string'
|
|
709
|
+
exportOption:
|
|
695
710
|
type: 'boolean'
|
|
696
711
|
example: false
|
|
697
|
-
ownTransport:
|
|
712
|
+
ownTransport:
|
|
698
713
|
type: 'boolean'
|
|
699
714
|
example: true
|
|
700
|
-
crossDocking:
|
|
715
|
+
crossDocking:
|
|
701
716
|
type: 'boolean'
|
|
702
717
|
example: false
|
|
703
|
-
releaseDateTime:
|
|
718
|
+
releaseDateTime:
|
|
704
719
|
type: 'string'
|
|
705
720
|
example: 'string'
|
|
706
|
-
releaseDate:
|
|
721
|
+
releaseDate:
|
|
707
722
|
type: 'string'
|
|
708
723
|
example: '2021-09-09'
|
|
709
|
-
remark:
|
|
724
|
+
remark:
|
|
710
725
|
type: 'string'
|
|
711
726
|
example: 'string'
|
|
712
|
-
courierOption:
|
|
727
|
+
courierOption:
|
|
713
728
|
type: 'boolean'
|
|
714
729
|
example: false
|
|
715
|
-
packingOption:
|
|
730
|
+
packingOption:
|
|
716
731
|
type: 'boolean'
|
|
717
732
|
example: false
|
|
718
|
-
type:
|
|
733
|
+
type:
|
|
719
734
|
type: 'string'
|
|
720
|
-
enum: [b2b,b2c]
|
|
721
|
-
acceptedAt:
|
|
735
|
+
enum: [b2b, b2c]
|
|
736
|
+
acceptedAt:
|
|
722
737
|
type: 'string'
|
|
723
738
|
example: '1632958100650'
|
|
724
|
-
marketplaceOrderStatus:
|
|
739
|
+
marketplaceOrderStatus:
|
|
725
740
|
type: 'string'
|
|
726
741
|
example: 'string'
|
|
727
|
-
billingAddress:
|
|
742
|
+
billingAddress:
|
|
728
743
|
type: 'string'
|
|
729
744
|
example: 'string'
|
|
730
|
-
deliveryAddress1:
|
|
745
|
+
deliveryAddress1:
|
|
731
746
|
type: 'string'
|
|
732
747
|
example: 'string'
|
|
733
|
-
deliveryAddress2:
|
|
748
|
+
deliveryAddress2:
|
|
734
749
|
type: 'string'
|
|
735
750
|
example: 'string'
|
|
736
|
-
deliveryAddress3:
|
|
751
|
+
deliveryAddress3:
|
|
737
752
|
type: 'string'
|
|
738
753
|
example: 'string'
|
|
739
|
-
deliveryAddress4:
|
|
754
|
+
deliveryAddress4:
|
|
740
755
|
type: 'string'
|
|
741
756
|
example: 'string'
|
|
742
|
-
deliveryAddress5:
|
|
757
|
+
deliveryAddress5:
|
|
743
758
|
type: 'string'
|
|
744
759
|
example: 'string'
|
|
745
|
-
attentionTo:
|
|
760
|
+
attentionTo:
|
|
746
761
|
type: 'string'
|
|
747
762
|
example: 'string'
|
|
748
|
-
attentionCompany:
|
|
763
|
+
attentionCompany:
|
|
749
764
|
type: 'string'
|
|
750
765
|
example: 'string'
|
|
751
|
-
city:
|
|
766
|
+
city:
|
|
752
767
|
type: 'string'
|
|
753
768
|
example: 'string'
|
|
754
|
-
state:
|
|
769
|
+
state:
|
|
755
770
|
type: 'string'
|
|
756
771
|
example: 'string'
|
|
757
|
-
postalCode:
|
|
772
|
+
postalCode:
|
|
758
773
|
type: 'string'
|
|
759
774
|
example: 'string'
|
|
760
|
-
country:
|
|
775
|
+
country:
|
|
761
776
|
type: 'string'
|
|
762
777
|
example: 'string'
|
|
763
|
-
phone1:
|
|
778
|
+
phone1:
|
|
764
779
|
type: 'string'
|
|
765
780
|
example: 'string'
|
|
766
|
-
phone2:
|
|
781
|
+
phone2:
|
|
767
782
|
type: 'string'
|
|
768
783
|
example: 'string'
|
|
769
|
-
email:
|
|
784
|
+
email:
|
|
770
785
|
type: 'string'
|
|
771
786
|
example: 'string'
|
|
772
|
-
transporter:
|
|
787
|
+
transporter:
|
|
773
788
|
type: 'string'
|
|
774
789
|
example: 'Others (West Malaysia)'
|
|
775
|
-
trackingNo:
|
|
790
|
+
trackingNo:
|
|
776
791
|
type: 'string'
|
|
777
792
|
example: 'string'
|
|
778
|
-
airwayBill:
|
|
793
|
+
airwayBill:
|
|
779
794
|
type: 'string'
|
|
780
795
|
example: 'string'
|
|
781
|
-
invoice:
|
|
796
|
+
invoice:
|
|
782
797
|
type: 'string'
|
|
783
798
|
example: 'string'
|
|
784
|
-
pickupAddress:
|
|
799
|
+
pickupAddress:
|
|
785
800
|
type: 'string'
|
|
786
801
|
example: 'string'
|
|
787
|
-
pickupTime:
|
|
802
|
+
pickupTime:
|
|
788
803
|
type: 'string'
|
|
789
804
|
example: 'string'
|
|
790
|
-
handoverType:
|
|
805
|
+
handoverType:
|
|
791
806
|
type: 'string'
|
|
792
807
|
example: 'string'
|
|
793
|
-
dropoffAddress:
|
|
808
|
+
dropoffAddress:
|
|
794
809
|
type: 'string'
|
|
795
810
|
example: 'string'
|
|
796
|
-
noOfItems:
|
|
811
|
+
noOfItems:
|
|
797
812
|
type: 'string'
|
|
798
813
|
example: 'string'
|
|
799
814
|
orderProducts:
|
|
800
815
|
type: 'object'
|
|
801
|
-
properties:
|
|
816
|
+
properties:
|
|
802
817
|
product:
|
|
803
818
|
type: 'object'
|
|
804
|
-
properties:
|
|
819
|
+
properties:
|
|
805
820
|
sku:
|
|
806
821
|
type: 'string'
|
|
807
|
-
example: ' '
|
|
808
|
-
brandSku:
|
|
822
|
+
example: ' '
|
|
823
|
+
brandSku:
|
|
809
824
|
type: 'string'
|
|
810
825
|
example: ' '
|
|
811
|
-
name:
|
|
826
|
+
name:
|
|
812
827
|
type: 'string'
|
|
813
828
|
example: ' '
|
|
814
829
|
description:
|
|
815
830
|
type: 'string'
|
|
816
|
-
example: ' '
|
|
817
|
-
type:
|
|
831
|
+
example: ' '
|
|
832
|
+
type:
|
|
818
833
|
type: 'string'
|
|
819
834
|
example: ' '
|
|
820
835
|
batchId:
|
|
821
836
|
type: 'string'
|
|
822
|
-
example: ' '
|
|
823
|
-
packingType:
|
|
837
|
+
example: ' '
|
|
838
|
+
packingType:
|
|
824
839
|
type: 'string'
|
|
825
840
|
example: 'CARTON'
|
|
826
|
-
packingSize:
|
|
841
|
+
packingSize:
|
|
827
842
|
type: 'integer'
|
|
828
843
|
format: 'double'
|
|
829
844
|
example: 24
|
|
830
|
-
releaseQty:
|
|
845
|
+
releaseQty:
|
|
831
846
|
type: 'string'
|
|
832
847
|
example: 'string'
|
|
833
|
-
releaseUomValue:
|
|
848
|
+
releaseUomValue:
|
|
834
849
|
type: 'string'
|
|
835
850
|
example: 'string'
|
|
836
|
-
status:
|
|
851
|
+
status:
|
|
837
852
|
type: 'string'
|
|
838
853
|
example: 'ACTIVE'
|
|
839
854
|
orderInventories:
|
|
840
855
|
type: 'array'
|
|
841
856
|
items:
|
|
842
857
|
type: 'object'
|
|
843
|
-
properties:
|
|
844
|
-
batchId:
|
|
858
|
+
properties:
|
|
859
|
+
batchId:
|
|
845
860
|
type: 'string'
|
|
846
861
|
example: '-'
|
|
847
862
|
batchIdRef:
|
|
848
863
|
type: 'string'
|
|
849
|
-
example: ' '
|
|
864
|
+
example: ' '
|
|
850
865
|
packingType:
|
|
851
866
|
type: 'string'
|
|
852
|
-
example: ' '
|
|
853
|
-
packingSize:
|
|
867
|
+
example: ' '
|
|
868
|
+
packingSize:
|
|
854
869
|
type: 'integer'
|
|
855
870
|
format: 'double'
|
|
856
871
|
example: 24
|
|
857
872
|
uom:
|
|
858
873
|
type: 'integer'
|
|
859
874
|
format: 'double'
|
|
860
|
-
example: 0
|
|
861
|
-
releaseQty:
|
|
875
|
+
example: 0
|
|
876
|
+
releaseQty:
|
|
862
877
|
type: 'integer'
|
|
863
878
|
example: 5
|
|
864
|
-
releaseUomValue:
|
|
879
|
+
releaseUomValue:
|
|
865
880
|
type: 'integer'
|
|
866
881
|
example: 5
|
|
867
882
|
product:
|
|
868
883
|
type: 'object'
|
|
869
|
-
properties:
|
|
884
|
+
properties:
|
|
870
885
|
sku:
|
|
871
886
|
type: 'string'
|
|
872
|
-
example: ' '
|
|
887
|
+
example: ' '
|
|
873
888
|
brandSku:
|
|
874
889
|
type: 'string'
|
|
875
|
-
example: ' '
|
|
890
|
+
example: ' '
|
|
876
891
|
name:
|
|
877
892
|
type: 'string'
|
|
878
|
-
example: ' '
|
|
893
|
+
example: ' '
|
|
879
894
|
description:
|
|
880
895
|
type: 'string'
|
|
881
|
-
example: ' '
|
|
896
|
+
example: ' '
|
|
882
897
|
orderToteItems:
|
|
883
898
|
type: 'array'
|
|
884
899
|
items:
|
|
885
900
|
type: 'object'
|
|
886
|
-
properties:
|
|
901
|
+
properties:
|
|
887
902
|
orderToteName:
|
|
888
903
|
type: 'string'
|
|
889
|
-
example: ' '
|
|
890
|
-
qty:
|
|
904
|
+
example: ' '
|
|
905
|
+
qty:
|
|
891
906
|
type: 'integer'
|
|
892
907
|
example: 2
|
|
893
908
|
orderToteSeals:
|
|
894
909
|
type: 'object'
|
|
895
|
-
properties:
|
|
910
|
+
properties:
|
|
896
911
|
name:
|
|
897
912
|
type: 'string'
|
|
898
|
-
example: ' '
|
|
913
|
+
example: ' '
|
|
899
914
|
attachments:
|
|
900
915
|
type: 'string'
|
|
901
|
-
example: ' '
|
|
902
|
-
totalCount:
|
|
916
|
+
example: ' '
|
|
917
|
+
totalCount:
|
|
903
918
|
type: 'integer'
|
|
904
919
|
example: 35
|
|
905
|
-
limit:
|
|
920
|
+
limit:
|
|
906
921
|
type: 'integer'
|
|
907
922
|
example: 100
|
|
908
|
-
offset:
|
|
923
|
+
offset:
|
|
909
924
|
type: 'integer'
|
|
910
925
|
example: 0
|
|
911
926
|
xml:
|
|
912
927
|
name: 'GetDeliveryOrderList'
|
|
913
928
|
|
|
914
|
-
|
|
915
929
|
paths:
|
|
916
930
|
# add-release-order
|
|
917
|
-
api/v1/warehouse/add-release-order:
|
|
931
|
+
api/v1/warehouse/add-release-order:
|
|
918
932
|
post:
|
|
919
933
|
tags:
|
|
920
934
|
- 'Outbound'
|
|
@@ -926,7 +940,7 @@ paths:
|
|
|
926
940
|
parameters:
|
|
927
941
|
- in: 'body'
|
|
928
942
|
name: 'body'
|
|
929
|
-
schema:
|
|
943
|
+
schema:
|
|
930
944
|
type: 'object'
|
|
931
945
|
properties:
|
|
932
946
|
data:
|
|
@@ -942,172 +956,174 @@ paths:
|
|
|
942
956
|
- 'courierOption'
|
|
943
957
|
- 'orderInventories'
|
|
944
958
|
properties:
|
|
945
|
-
bizplaceId:
|
|
959
|
+
bizplaceId:
|
|
946
960
|
type: 'string'
|
|
947
961
|
example: 'ed2cd631-ac50-44aa-b798-6567d7acde63'
|
|
948
962
|
required: true
|
|
949
|
-
releaseDate:
|
|
963
|
+
releaseDate:
|
|
950
964
|
type: 'string'
|
|
951
965
|
example: '2022-07-01'
|
|
952
966
|
required: true
|
|
953
|
-
refNo:
|
|
967
|
+
refNo:
|
|
954
968
|
type: 'string'
|
|
955
969
|
example: '2206308RFYKUCV'
|
|
956
970
|
required: true
|
|
957
|
-
refNo2:
|
|
971
|
+
refNo2:
|
|
958
972
|
type: 'string'
|
|
959
973
|
example: '2206308RFYKUCV'
|
|
960
|
-
refNo3:
|
|
974
|
+
refNo3:
|
|
961
975
|
type: 'string'
|
|
962
976
|
example: 'string'
|
|
963
|
-
|
|
977
|
+
refOrderId:
|
|
978
|
+
type: 'string'
|
|
979
|
+
example: 'string'
|
|
980
|
+
type:
|
|
964
981
|
type: 'string'
|
|
965
982
|
enum: [b2c, b2b]
|
|
966
983
|
required: true
|
|
967
|
-
transporter:
|
|
984
|
+
transporter:
|
|
968
985
|
type: 'string'
|
|
969
986
|
example: 'Others (West Malaysia)'
|
|
970
|
-
trackingNo:
|
|
987
|
+
trackingNo:
|
|
971
988
|
type: 'string'
|
|
972
989
|
example: 'SBOP220701000290101'
|
|
973
|
-
packingOption:
|
|
990
|
+
packingOption:
|
|
974
991
|
type: 'boolean'
|
|
975
992
|
example: true
|
|
976
993
|
required: true
|
|
977
|
-
exportOption:
|
|
994
|
+
exportOption:
|
|
978
995
|
type: 'boolean'
|
|
979
996
|
example: false
|
|
980
997
|
required: true
|
|
981
|
-
ownTransport:
|
|
998
|
+
ownTransport:
|
|
982
999
|
type: 'boolean'
|
|
983
1000
|
example: true
|
|
984
1001
|
required: true
|
|
985
|
-
courierOption:
|
|
1002
|
+
courierOption:
|
|
986
1003
|
type: 'boolean'
|
|
987
1004
|
example: true
|
|
988
1005
|
required: true
|
|
989
|
-
collectionOrderNo:
|
|
1006
|
+
collectionOrderNo:
|
|
990
1007
|
type: 'string'
|
|
991
|
-
example: '2206308RFYKUCV'
|
|
1008
|
+
example: '2206308RFYKUCV'
|
|
992
1009
|
description: '// compulsory when ownTransport is true'
|
|
993
|
-
shippingOrder:
|
|
1010
|
+
shippingOrder:
|
|
994
1011
|
type: 'object'
|
|
995
1012
|
description: '// compulsory when exportOption is true'
|
|
996
|
-
type: 'object'
|
|
997
1013
|
required:
|
|
998
1014
|
- 'shipName'
|
|
999
1015
|
- 'containerNo'
|
|
1000
1016
|
- 'containerArrivalDate'
|
|
1001
1017
|
- 'containerLeavingDate'
|
|
1002
1018
|
properties:
|
|
1003
|
-
shipName:
|
|
1019
|
+
shipName:
|
|
1004
1020
|
type: 'string'
|
|
1005
1021
|
example: 'string'
|
|
1006
1022
|
required: true
|
|
1007
|
-
containerNo:
|
|
1023
|
+
containerNo:
|
|
1008
1024
|
type: 'string'
|
|
1009
1025
|
example: 'string'
|
|
1010
1026
|
required: true
|
|
1011
|
-
loadType:
|
|
1027
|
+
loadType:
|
|
1012
1028
|
type: 'string'
|
|
1013
1029
|
example: 'string'
|
|
1014
|
-
from:
|
|
1030
|
+
from:
|
|
1015
1031
|
type: 'string'
|
|
1016
1032
|
example: 'string'
|
|
1017
|
-
to:
|
|
1033
|
+
to:
|
|
1018
1034
|
type: 'string'
|
|
1019
1035
|
example: 'string'
|
|
1020
|
-
containerArrivalDate:
|
|
1036
|
+
containerArrivalDate:
|
|
1021
1037
|
type: 'string'
|
|
1022
1038
|
example: '2020-02-14'
|
|
1023
1039
|
required: true
|
|
1024
|
-
containerLeavingDate:
|
|
1040
|
+
containerLeavingDate:
|
|
1025
1041
|
type: 'string'
|
|
1026
1042
|
example: '2020-02-14'
|
|
1027
1043
|
required: true
|
|
1028
1044
|
deliverTo:
|
|
1029
1045
|
type: 'object'
|
|
1030
1046
|
properties:
|
|
1031
|
-
deliveryAddress1:
|
|
1047
|
+
deliveryAddress1:
|
|
1032
1048
|
type: 'string'
|
|
1033
1049
|
example: 'No 14 Lorong 9A Tman Peruda Fasa 1B Kuala Muda 08000 Kedah'
|
|
1034
|
-
deliveryAddress2:
|
|
1050
|
+
deliveryAddress2:
|
|
1035
1051
|
type: 'string'
|
|
1036
1052
|
example: 'string'
|
|
1037
|
-
deliveryAddress3:
|
|
1053
|
+
deliveryAddress3:
|
|
1038
1054
|
type: 'string'
|
|
1039
1055
|
example: 'string'
|
|
1040
|
-
deliveryAddress4:
|
|
1056
|
+
deliveryAddress4:
|
|
1041
1057
|
type: 'string'
|
|
1042
1058
|
example: 'string'
|
|
1043
|
-
deliveryAddress5:
|
|
1059
|
+
deliveryAddress5:
|
|
1044
1060
|
type: 'string'
|
|
1045
1061
|
example: 'string'
|
|
1046
|
-
attentionTo:
|
|
1062
|
+
attentionTo:
|
|
1047
1063
|
type: 'string'
|
|
1048
1064
|
example: 'Rokiah bt Bakar'
|
|
1049
|
-
city:
|
|
1065
|
+
city:
|
|
1050
1066
|
type: 'string'
|
|
1051
1067
|
example: 'Kuala Muda'
|
|
1052
|
-
postalCode:
|
|
1068
|
+
postalCode:
|
|
1053
1069
|
type: 'string'
|
|
1054
1070
|
example: '08000'
|
|
1055
|
-
country:
|
|
1071
|
+
country:
|
|
1056
1072
|
type: 'string'
|
|
1057
1073
|
example: 'Malaysia'
|
|
1058
|
-
state:
|
|
1074
|
+
state:
|
|
1059
1075
|
type: 'string'
|
|
1060
1076
|
example: 'Kedah'
|
|
1061
|
-
phone1:
|
|
1077
|
+
phone1:
|
|
1062
1078
|
type: 'string'
|
|
1063
1079
|
example: '60174396110'
|
|
1064
|
-
phone2:
|
|
1080
|
+
phone2:
|
|
1065
1081
|
type: 'string'
|
|
1066
1082
|
example: 'string'
|
|
1067
|
-
marketplaceOrderStatus:
|
|
1083
|
+
marketplaceOrderStatus:
|
|
1068
1084
|
type: 'string'
|
|
1069
1085
|
example: 'ready_to_ship'
|
|
1070
|
-
airwayBill:
|
|
1086
|
+
airwayBill:
|
|
1071
1087
|
type: 'string'
|
|
1072
1088
|
example: 'string'
|
|
1073
|
-
invoice:
|
|
1089
|
+
invoice:
|
|
1074
1090
|
type: 'string'
|
|
1075
1091
|
example: 'string'
|
|
1076
|
-
attentionCompany:
|
|
1092
|
+
attentionCompany:
|
|
1077
1093
|
type: 'string'
|
|
1078
1094
|
example: 'string'
|
|
1079
|
-
email:
|
|
1095
|
+
email:
|
|
1080
1096
|
type: 'string'
|
|
1081
1097
|
example: 'string'
|
|
1082
|
-
packageId:
|
|
1098
|
+
packageId:
|
|
1083
1099
|
type: 'string'
|
|
1084
1100
|
example: 'string'
|
|
1085
|
-
storeName:
|
|
1101
|
+
storeName:
|
|
1086
1102
|
type: 'string'
|
|
1087
1103
|
example: 'string'
|
|
1088
|
-
storeId:
|
|
1104
|
+
storeId:
|
|
1089
1105
|
type: 'string'
|
|
1090
1106
|
example: 'string'
|
|
1091
|
-
routeId:
|
|
1107
|
+
routeId:
|
|
1092
1108
|
type: 'string'
|
|
1093
1109
|
example: 'string'
|
|
1094
|
-
stopId:
|
|
1110
|
+
stopId:
|
|
1095
1111
|
type: 'string'
|
|
1096
1112
|
example: 'string'
|
|
1097
|
-
source:
|
|
1113
|
+
source:
|
|
1098
1114
|
type: 'string'
|
|
1099
1115
|
example: 'string'
|
|
1100
|
-
remark:
|
|
1116
|
+
remark:
|
|
1101
1117
|
type: 'string'
|
|
1102
1118
|
example: 'string'
|
|
1103
|
-
requiredDraft:
|
|
1119
|
+
requiredDraft:
|
|
1104
1120
|
type: 'boolean'
|
|
1105
1121
|
example: false
|
|
1106
1122
|
orderInventories:
|
|
1107
1123
|
type: 'array'
|
|
1108
1124
|
items:
|
|
1109
1125
|
type: 'object'
|
|
1110
|
-
required:
|
|
1126
|
+
required:
|
|
1111
1127
|
- 'product'
|
|
1112
1128
|
- 'releaseQty'
|
|
1113
1129
|
properties:
|
|
@@ -1116,30 +1132,30 @@ paths:
|
|
|
1116
1132
|
required:
|
|
1117
1133
|
- 'sku'
|
|
1118
1134
|
properties:
|
|
1119
|
-
sku:
|
|
1135
|
+
sku:
|
|
1120
1136
|
type: 'string'
|
|
1121
1137
|
example: '1172790'
|
|
1122
1138
|
required: true
|
|
1123
1139
|
refCode:
|
|
1124
1140
|
type: 'string'
|
|
1125
|
-
example: 'string'
|
|
1126
|
-
releaseQty:
|
|
1141
|
+
example: 'string'
|
|
1142
|
+
releaseQty:
|
|
1127
1143
|
type: 'integer'
|
|
1128
1144
|
example: 1
|
|
1129
1145
|
required: true
|
|
1130
1146
|
packingType:
|
|
1131
1147
|
type: 'string'
|
|
1132
|
-
example: 'string'
|
|
1133
|
-
packingSize:
|
|
1148
|
+
example: 'string'
|
|
1149
|
+
packingSize:
|
|
1134
1150
|
type: 'integer'
|
|
1135
1151
|
format: 'double'
|
|
1136
|
-
example: 1
|
|
1152
|
+
example: 1
|
|
1137
1153
|
billTo:
|
|
1138
1154
|
type: 'object'
|
|
1139
1155
|
properties:
|
|
1140
|
-
billingAddress:
|
|
1156
|
+
billingAddress:
|
|
1141
1157
|
type: 'string'
|
|
1142
|
-
example: 'string'
|
|
1158
|
+
example: 'string'
|
|
1143
1159
|
responses:
|
|
1144
1160
|
'200':
|
|
1145
1161
|
description: 'success'
|
|
@@ -1151,7 +1167,7 @@ paths:
|
|
|
1151
1167
|
$ref: '#/definitions/AddReleaseOrder'
|
|
1152
1168
|
|
|
1153
1169
|
# cancel-release-order
|
|
1154
|
-
api/v1/warehouse/cancel-release-order:
|
|
1170
|
+
api/v1/warehouse/cancel-release-order:
|
|
1155
1171
|
post:
|
|
1156
1172
|
tags:
|
|
1157
1173
|
- 'Outbound'
|
|
@@ -1163,7 +1179,7 @@ paths:
|
|
|
1163
1179
|
parameters:
|
|
1164
1180
|
- in: 'body'
|
|
1165
1181
|
name: 'body'
|
|
1166
|
-
schema:
|
|
1182
|
+
schema:
|
|
1167
1183
|
type: 'object'
|
|
1168
1184
|
properties:
|
|
1169
1185
|
data:
|
|
@@ -1193,7 +1209,7 @@ paths:
|
|
|
1193
1209
|
$ref: '#/definitions/CancelReleaseOrder'
|
|
1194
1210
|
|
|
1195
1211
|
# update-release-order-details
|
|
1196
|
-
api/v1/warehouse/update-release-order-details:
|
|
1212
|
+
api/v1/warehouse/update-release-order-details:
|
|
1197
1213
|
post:
|
|
1198
1214
|
tags:
|
|
1199
1215
|
- 'Outbound'
|
|
@@ -1205,7 +1221,7 @@ paths:
|
|
|
1205
1221
|
parameters:
|
|
1206
1222
|
- in: 'body'
|
|
1207
1223
|
name: 'body'
|
|
1208
|
-
schema:
|
|
1224
|
+
schema:
|
|
1209
1225
|
type: 'object'
|
|
1210
1226
|
properties:
|
|
1211
1227
|
data:
|
|
@@ -1213,98 +1229,101 @@ paths:
|
|
|
1213
1229
|
required:
|
|
1214
1230
|
- 'releaseGood'
|
|
1215
1231
|
properties:
|
|
1216
|
-
bizplaceId:
|
|
1217
|
-
type: 'string'
|
|
1232
|
+
bizplaceId:
|
|
1233
|
+
type: 'string'
|
|
1218
1234
|
example: 'ed2cd631-ac50-44aa-b798-6567d7acde63'
|
|
1219
1235
|
required: true
|
|
1220
1236
|
releaseGood:
|
|
1221
1237
|
type: 'object'
|
|
1222
|
-
required:
|
|
1238
|
+
required:
|
|
1223
1239
|
- 'bizplaceId'
|
|
1224
1240
|
- 'roId'
|
|
1225
1241
|
properties:
|
|
1226
|
-
roId:
|
|
1242
|
+
roId:
|
|
1227
1243
|
type: 'string'
|
|
1228
1244
|
example: '1d61cd39-f9de-4a28-8d24-981e6ea5c626 '
|
|
1229
|
-
required: true
|
|
1230
|
-
collectionOrderNo:
|
|
1245
|
+
required: true
|
|
1246
|
+
collectionOrderNo:
|
|
1231
1247
|
type: 'string'
|
|
1232
1248
|
example: 'string'
|
|
1233
|
-
refNo:
|
|
1249
|
+
refNo:
|
|
1234
1250
|
type: 'string'
|
|
1235
1251
|
example: 'string'
|
|
1236
|
-
refNo2:
|
|
1252
|
+
refNo2:
|
|
1237
1253
|
type: 'string'
|
|
1238
1254
|
example: 'string'
|
|
1239
|
-
refNo3:
|
|
1255
|
+
refNo3:
|
|
1240
1256
|
type: 'string'
|
|
1241
1257
|
example: 'string'
|
|
1242
|
-
|
|
1258
|
+
refOrderId:
|
|
1243
1259
|
type: 'string'
|
|
1244
1260
|
example: 'string'
|
|
1245
|
-
|
|
1261
|
+
marketplaceOrderStatus:
|
|
1246
1262
|
type: 'string'
|
|
1247
1263
|
example: 'string'
|
|
1248
|
-
|
|
1264
|
+
billingAddress:
|
|
1249
1265
|
type: 'string'
|
|
1250
1266
|
example: 'string'
|
|
1251
|
-
|
|
1267
|
+
deliveryAddress1:
|
|
1252
1268
|
type: 'string'
|
|
1253
1269
|
example: 'string'
|
|
1254
|
-
|
|
1270
|
+
attentionTo:
|
|
1255
1271
|
type: 'string'
|
|
1256
1272
|
example: 'string'
|
|
1257
|
-
|
|
1273
|
+
city:
|
|
1258
1274
|
type: 'string'
|
|
1259
1275
|
example: 'string'
|
|
1260
|
-
|
|
1276
|
+
country:
|
|
1261
1277
|
type: 'string'
|
|
1262
1278
|
example: 'string'
|
|
1263
|
-
|
|
1279
|
+
postalCode:
|
|
1264
1280
|
type: 'string'
|
|
1265
1281
|
example: 'string'
|
|
1266
|
-
|
|
1282
|
+
phone1:
|
|
1267
1283
|
type: 'string'
|
|
1268
1284
|
example: 'string'
|
|
1269
|
-
|
|
1285
|
+
transporter:
|
|
1270
1286
|
type: 'string'
|
|
1271
1287
|
example: 'string'
|
|
1272
|
-
|
|
1288
|
+
trackingNo:
|
|
1273
1289
|
type: 'string'
|
|
1274
1290
|
example: 'string'
|
|
1275
|
-
|
|
1291
|
+
airwayBill:
|
|
1292
|
+
type: 'string'
|
|
1293
|
+
example: 'string'
|
|
1294
|
+
invoice:
|
|
1276
1295
|
type: 'string'
|
|
1277
1296
|
example: 'string'
|
|
1278
1297
|
shippingOrder:
|
|
1279
1298
|
type: 'object'
|
|
1280
1299
|
required:
|
|
1281
1300
|
- 'shipName'
|
|
1282
|
-
- 'containerNo'
|
|
1301
|
+
- 'containerNo'
|
|
1283
1302
|
- 'containerArrivalDate'
|
|
1284
1303
|
- 'containerLeavingDate'
|
|
1285
1304
|
properties:
|
|
1286
|
-
shipName:
|
|
1305
|
+
shipName:
|
|
1287
1306
|
type: 'string'
|
|
1288
1307
|
example: 'string'
|
|
1289
1308
|
required: true
|
|
1290
|
-
containerNo:
|
|
1309
|
+
containerNo:
|
|
1291
1310
|
type: 'string'
|
|
1292
1311
|
example: 'string'
|
|
1293
1312
|
required: true
|
|
1294
|
-
loadType:
|
|
1313
|
+
loadType:
|
|
1295
1314
|
type: 'string'
|
|
1296
1315
|
example: 'string'
|
|
1297
|
-
from:
|
|
1316
|
+
from:
|
|
1298
1317
|
type: 'string'
|
|
1299
1318
|
example: 'string'
|
|
1300
|
-
to:
|
|
1319
|
+
to:
|
|
1301
1320
|
type: 'string'
|
|
1302
1321
|
example: 'string'
|
|
1303
|
-
containerArrivalDate:
|
|
1322
|
+
containerArrivalDate:
|
|
1304
1323
|
type: 'string'
|
|
1305
1324
|
example: '2020-02-14'
|
|
1306
1325
|
required: true
|
|
1307
|
-
containerLeavingDate:
|
|
1326
|
+
containerLeavingDate:
|
|
1308
1327
|
type: 'string'
|
|
1309
1328
|
example: '2020-02-14'
|
|
1310
1329
|
required: true
|
|
@@ -1319,7 +1338,7 @@ paths:
|
|
|
1319
1338
|
$ref: '#/definitions/UpdateReleaseOrderDetails'
|
|
1320
1339
|
|
|
1321
1340
|
# get-release-order-list
|
|
1322
|
-
api/v1/warehouse/get-release-order-list:
|
|
1341
|
+
api/v1/warehouse/get-release-order-list:
|
|
1323
1342
|
get:
|
|
1324
1343
|
tags:
|
|
1325
1344
|
- 'Outbound'
|
|
@@ -1371,7 +1390,7 @@ paths:
|
|
|
1371
1390
|
$ref: '#/definitions/GetReleaseOrderList'
|
|
1372
1391
|
|
|
1373
1392
|
# get-release-order-details
|
|
1374
|
-
api/v1/warehouse/get-release-order-details:
|
|
1393
|
+
api/v1/warehouse/get-release-order-details:
|
|
1375
1394
|
get:
|
|
1376
1395
|
tags:
|
|
1377
1396
|
- 'Outbound'
|
|
@@ -1402,7 +1421,7 @@ paths:
|
|
|
1402
1421
|
$ref: '#/definitions/GetReleaseOrderDetails'
|
|
1403
1422
|
|
|
1404
1423
|
# get-delivery-order-list
|
|
1405
|
-
api/v1/warehouse/get-delivery-order-list:
|
|
1424
|
+
api/v1/warehouse/get-delivery-order-list:
|
|
1406
1425
|
get:
|
|
1407
1426
|
tags:
|
|
1408
1427
|
- 'Outbound'
|
|
@@ -1448,4 +1467,4 @@ paths:
|
|
|
1448
1467
|
schema:
|
|
1449
1468
|
type: 'array'
|
|
1450
1469
|
items:
|
|
1451
|
-
$ref: '#/definitions/GetDeliveryOrderList'
|
|
1470
|
+
$ref: '#/definitions/GetDeliveryOrderList'
|