1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
|
<?php return [
'version' => '1.0',
'info' => ['style' => 'RPC', 'product' => 'linkedmall', 'version' => '2022-05-31'],
'directories' => [
[
'children' => ['QueryDistributionMall', 'ListDistributionMall', 'QueryDistributionBillDetail'],
'type' => 'directory',
'title' => '分销商管理',
'id' => 303519,
],
[
'children' => ['ListDistributionItem', 'QueryItemDetail', 'QueryItemDetailWithDivision', 'QueryMallCategoryList', 'QueryItemGuideRetailPrice', 'ListDistributionItemWithoutCache'],
'type' => 'directory',
'title' => '分销商品管理',
'id' => 303523,
],
[
'children' => ['RenderDistributionOrder', 'ApplyCreateDistributionOrder', 'QueryDistributionTradeStatus', 'ConfirmDisburse4Distribution', 'InitApplyRefund4Distribution', 'ApplyRefund4Distribution', 'InitModifyRefund4Distribution', 'ModifyRefund4Distribution', 'CancelRefund4Distribution', 'SubmitReturnGoodLogistics4Distribution', 'QueryRefundApplicationDetail4Distribution', 'QueryLogistics4Distribution', 'QueryChildDivisionCodeById'],
'type' => 'directory',
'title' => '分销交易',
'id' => 303505,
],
[
'children' => ['QueryOrderDetail4Distribution', 'QueryOrderList4Distribution'],
'type' => 'directory',
'title' => '分销订单',
'id' => 303502,
],
[
'children' => ['CancelDistributionTrade'],
'type' => 'directory',
'title' => '其他',
'id' => 304013,
],
],
'components' => [
'schemas' => [],
],
'apis' => [
'ApplyCreateDistributionOrder' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributionOutTradeId',
'in' => 'formData',
'schema' => ['title' => '外部交易号', 'description' => '如果传入了外部交易号,则会以其作为请求的幂等键,重复传入相同的外部交易号,会返回重复下单提示。外部交易号会在交易结果通知中透出。', 'type' => 'string', 'required' => false, 'example' => '789***3323'],
],
[
'name' => 'ItemInfoLists',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '商品信息',
'description' => '商品信息',
'type' => 'array',
'items' => [
'description' => '商品信息',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['description' => '分销商城ID', 'type' => 'string', 'required' => false, 'example' => '465879694****794d70934'],
'LmItemId' => ['description' => 'Lm侧商品Id', 'type' => 'string', 'required' => false, 'example' => '100***35-634***598'],
'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
'SkuId' => ['description' => 'SKU', 'type' => 'string', 'required' => false, 'example' => '456***9561'],
'Price' => ['type' => 'integer', 'format' => 'int64', 'required' => false, 'description' => ''],
],
'required' => false,
],
'required' => false,
],
],
[
'name' => 'DeliveryAddress',
'in' => 'formData',
'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '{\\"divisionCode\\":\\"44***22\\",\\"addressDetail\\":\\"**小区\\",\\"mobile\\":\\"180***0041\\",\\"fullName\\":\\"小**\\",\\"townDivisionCode\\":\\"440***32\\"}'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '6331***2131'],
],
[
'name' => 'DistributionSupplierId',
'in' => 'formData',
'schema' => ['title' => '渠道供应商ID', 'description' => '渠道供应商ID', 'type' => 'string', 'required' => false, 'example' => '764***2245'],
],
[
'name' => 'BuyerId',
'in' => 'formData',
'schema' => ['title' => '分销真实买家ID', 'description' => '分销真实买家ID', 'type' => 'string', 'required' => false, 'example' => 'u***01'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户ID', 'type' => 'string', 'required' => false, 'example' => '12***29'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<String>',
'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => 'B1756669-4A***F-A6E0E8605FEC'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '7152F15C-7298-55****76-2ED2C331'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'string', 'example' => 'T213***342'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"B1756669-4A***F-A6E0E8605FEC\\",\\n \\"RequestId\\": \\"7152F15C-7298-55****76-2ED2C331\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"T213***342\\"\\n}","errorExample":""},{"type":"xml","example":"<ApplyCreateDistributionOrderResponse>\\n <LogsId>B1756669-4A***F-A6E0E8605FEC</LogsId>\\n <RequestId>7152F15C-7298-55****76-2ED2C331</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>20</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>10</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>SUCCESS</Message>\\n <Model>T213***342</Model>\\n</ApplyCreateDistributionOrderResponse>","errorExample":""}]',
'title' => '提交分销采购订单创建请求',
'summary' => '提交分销订单创建请求。',
'description' => '异步接口,只是提交创建分销订单申请,需要接收分销订单创建结果通知或者主动调查询分销订单状态接口。',
'changeSet' => [
['createdAt' => '2023-06-06T15:08:22.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-11-29T10:09:02.000Z', 'description' => '请求参数发生变更'],
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyCreateDistributionOrder'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:applyCreateDistributionOrder',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ApplyRefund4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '7662***125'],
],
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false, 'example' => 'DIS_343***445'],
],
[
'name' => 'BizClaimType',
'in' => 'formData',
'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyRefundFee',
'in' => 'formData',
'schema' => ['title' => '申请退款金额', 'description' => '申请退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '790'],
],
[
'name' => 'ApplyRefundCount',
'in' => 'formData',
'schema' => ['title' => '退货数量', 'description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyReasonTextId',
'in' => 'formData',
'schema' => ['title' => '退款原因ID', 'description' => '退款原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500325'],
],
[
'name' => 'LeaveMessage',
'in' => 'formData',
'schema' => ['title' => '留言', 'description' => '留言', 'type' => 'string', 'required' => false, 'example' => '快递滞留 买家申请退款'],
],
[
'name' => 'LeavePictureLists',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '凭证',
'description' => '凭证列表',
'type' => 'array',
'items' => [
'description' => '退款凭证',
'type' => 'object',
'properties' => [
'Picture' => ['description' => '图片地址', 'type' => 'string', 'required' => false, 'example' => 'https://aliyundoc.com'],
'Desc' => ['description' => '图片描述', 'type' => 'string', 'required' => false, 'example' => '商品破损'],
],
'required' => false,
],
'required' => false,
],
],
[
'name' => 'GoodsStatus',
'in' => 'formData',
'schema' => ['title' => '货物状态', 'description' => '货物状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '213**761'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<RefundApplicationData>',
'description' => 'PopResponse<RefundApplicationData>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9****8AFD9E0'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'SubDistributionOrderId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string', 'example' => 'DIS_343***445'],
'DisputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeType' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***343'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9****8AFD9E0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"DIS_343***445\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<ApplyRefund4DistributionResponse>\\n <LogsId>1</LogsId>\\n <RequestId>539E5C68-D8B5-57EC-9****8AFD9E0</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>SUCCESS</Message>\\n <Model>\\n <SubDistributionOrderId>DIS_343***445</SubDistributionOrderId>\\n <DisputeStatus>1</DisputeStatus>\\n <DisputeType>1</DisputeType>\\n </Model>\\n</ApplyRefund4DistributionResponse>","errorExample":""}]',
'title' => '分销采购订单退款申请',
'summary' => '分销订单退款申请。',
'description' => '基于 initApplyRefund4Distribution接口获取退款申请初始化信息,发起退款或者退货退款申请,该接口不支持退换货。 '."\n"
."\n"
.'注意: '."\n"
.'1.如果退款申请被卖家拒绝(通过queryRefundApplicationDetail4Distribution接口查询到disputeStatus为6时),需要先取消退款申请(通过cancelRefund接口),再申请下一次 '."\n"
.'2.正常售中允许申请退款三次,售后允许申请退款两次,如遇超过次数后不能申请退款,需自行联系商家打开线上退款入口(售中和售后的界定边缘为:确认收货) '."\n"
.'逆向申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
.'售中(未确认收货 payStatus 2) '."\n"
.'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
.'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
.'退货退款 货物状态 goodstatus 2已收到货 '."\n"
.'售后(已确认收货 payStatus 6) '."\n"
.'仅退款 goodstatus 2已收到货 '."\n"
.'退货退款 goodstatus 2已收到货 '."\n"
.'上传退款凭证须知:由于部分商家内部小二网络环境较差,请务必使用阿里云的oss服务作为您的图片存储,详细请参考:https://help.aliyun.com/document_detail/194635.htm',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyRefund4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:applyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CancelDistributionTrade' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'DistributionTradeId',
'in' => 'formData',
'schema' => ['title' => '分销交易号', 'description' => '分销交易号,可能包含多笔主单', 'type' => 'string', 'required' => false, 'example' => '15303515*******'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<Void>',
'description' => 'PopResponse<Void>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '5127621C-56B0-5DCA-9745-2936B31D****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5127621C-56B0-5DCA-9745-2936B31D****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
'summary' => '取消/关闭分销交易。',
'description' => '分销域给上游通知成功走退款,分销域未通知交易成功前走取消',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:39.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelDistributionTrade'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:cancelDistributionTrade',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'CancelRefund4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'DisputeId',
'in' => 'formData',
'schema' => ['title' => '纠纷ID', 'description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<RefundApplicationData>',
'description' => 'PopResponse<RefundApplicationData>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '3B55509D-20AC-5BD5-9A81-D6B7382E****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'SubDistributionOrderId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string'],
'DisputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeType' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"3B55509D-20AC-5BD5-9A81-D6B7382E****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","type":"json"}]',
'title' => '取消分销采购订单退款申请',
'summary' => '取消分销订单退款申请。',
'description' => '如果已经提交了退款申请,商家还未响应时,客户想取消退款申请,可以通过此接口取消。 '."\n"
.'注意:disputeId字段需要通过查询订单逆向申请详情(queryRefundApplicationDetail4DistributionOrder)接口获取'."\n",
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelRefund4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:cancelRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ConfirmDisburse4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionTradeId',
'in' => 'formData',
'schema' => ['title' => '分销交易号', 'description' => '分销交易号', 'type' => 'string', 'required' => false],
],
[
'name' => 'MainDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<Void>',
'description' => 'PopResponse<Void>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '12'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"1718921E-C8D4-55E1-B8D4-114AE537C1B7\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 12,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
'title' => ' 分销采购订单确认收货',
'summary' => '分销订单确认收货。',
'description' => '只支持主分销订单确认收货',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmDisburse4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:confirmDisburse4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'InitApplyRefund4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'BizClaimType',
'in' => 'formData',
'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'GoodsStatus',
'in' => 'formData',
'schema' => ['title' => '货物状态', 'description' => '货物状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<InitApplyRefundData>',
'description' => 'PopResponse<InitApplyRefundData>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'SubDistributionOrderId' => ['title' => '子分销订单号', 'description' => '子分销订单号', 'type' => 'string'],
'BizClaimType' => ['title' => '支持的订单退货方式', 'description' => '支持的订单退货方式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'MainOrderRefund' => ['title' => '是否是整单退', 'description' => '是否是整单退', 'type' => 'boolean', 'example' => 'false'],
'MaxRefundFeeData' => [
'description' => '本单退款金额区间',
'type' => 'object',
'properties' => [
'MaxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'MinRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
],
],
'RefundReasonList' => [
'description' => '退款信息列表',
'type' => 'array',
'items' => [
'description' => '退款信息',
'type' => 'object',
'properties' => [
'ReasonTextId' => ['description' => '退款信息id', 'type' => 'string', 'example' => '12323'],
'ProofRequired' => ['title' => '是否要求上传凭证', 'description' => '是否要求上传凭证', 'type' => 'boolean', 'example' => 'true'],
'ReasonTips' => ['description' => '退款信息', 'type' => 'string', 'example' => '拍多不想要'],
'RefundDescRequired' => ['title' => '是否要求留言', 'description' => '是否要求留言', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 100,\\n \\"MinRefundFee\\": 10\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": \\"12323\\",\\n \\"ProofRequired\\": true,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '分销采购订单退款申请初始化',
'summary' => '初始化分销订单退款申请。',
'description' => '注意:订单“未发货”只能申请“仅退款(BizClaimType=1)”,订单“已发货”只能申请货物状态为“未收到货(GoodsStatus=1)”或“已收到货(GoodsStatus=2)”'."\n"
."\n"
.'逆向申请具体情况如下: '."\n"
.'payStatus即指订单状态orderStatus '."\n"
.'售中(未确认收货 payStatus 2) '."\n"
.'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
.'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
.'退货退款 货物状态 goodstatus 2已收到货 '."\n"
.'售后(已确认收货 payStatus 6) '."\n"
.'仅退款 goodstatus 2已收到货 '."\n"
.'退货退款 goodstatus 2已收到货',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitApplyRefund4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:initApplyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'InitModifyRefund4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'BizClaimType',
'in' => 'formData',
'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'DisputeId',
'in' => 'formData',
'schema' => ['title' => '纠纷ID', 'description' => '纠纷ID,通过查询订单逆向申请详情接口获取', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<InitApplyRefundData>',
'description' => 'PopResponse<InitApplyRefundData>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'SubDistributionOrderId' => ['title' => '子分销订单号', 'description' => '子分销订单号', 'type' => 'string'],
'BizClaimType' => ['title' => '支持的订单退货方式', 'description' => '支持的订单退货方式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'MainOrderRefund' => ['title' => '是否是整单退', 'description' => '是否是整单退', 'type' => 'boolean', 'example' => 'false'],
'MaxRefundFeeData' => [
'description' => '本单可退金额数据',
'type' => 'object',
'properties' => [
'MaxRefundFee' => ['title' => '本单最大可退款金额', 'description' => '本单最大可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'MinRefundFee' => ['title' => '本单最小可退款金额', 'description' => '本单最小可退款金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
],
],
'RefundReasonList' => [
'description' => '退款信息列表',
'type' => 'array',
'items' => [
'description' => '退款信息',
'type' => 'object',
'properties' => [
'ReasonTextId' => ['description' => '退款信息id', 'type' => 'string', 'example' => '12323'],
'ProofRequired' => ['title' => '是否要求上传凭证', 'description' => '是否要求上传凭证', 'type' => 'boolean', 'example' => 'true'],
'ReasonTips' => ['description' => '退款信息', 'type' => 'string', 'example' => '拍多不想要'],
'RefundDescRequired' => ['title' => '是否要求留言', 'description' => '是否要求留言', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"BizClaimType\\": 1,\\n \\"MainOrderRefund\\": false,\\n \\"MaxRefundFeeData\\": {\\n \\"MaxRefundFee\\": 10,\\n \\"MinRefundFee\\": 100\\n },\\n \\"RefundReasonList\\": [\\n {\\n \\"ReasonTextId\\": \\"12323\\",\\n \\"ProofRequired\\": true,\\n \\"ReasonTips\\": \\"拍多不想要\\",\\n \\"RefundDescRequired\\": true\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '分销采购订单退款申请修改初始化',
'summary' => '分销订单退款申请修改初始化。',
'description' => '获取订单相关的逆向修改数据,必须在发起退款申请之后调用。 '."\n"
."\n"
.'注意:订单“未发货”只能申请“仅退款(BizClaimType=1)”,订单“已发货”只能申请货物状态为“未收到货(GoodsStatus=1)”或“已收到货(GoodsStatus=2)” '."\n"
.'逆向修改申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
.'售中(未确认收货 payStatus 2) '."\n"
.'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
.'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
.'退货退款 货物状态 goodstatus 2已收到货 '."\n"
.'售后(已确认收货 payStatus 6) '."\n"
.'仅退款 goodstatus 2已收到货 '."\n"
.'退货退款 goodstatus 2已收到货 ',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitModifyRefund4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:initModifyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListDistributionItem' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商id', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商商城ID', 'description' => '分销商商城id', 'type' => 'string', 'required' => false],
],
[
'name' => 'LmItemId',
'in' => 'formData',
'schema' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'ItemStatus',
'in' => 'formData',
'schema' => ['title' => '商品状态', 'description' => '商品状态', 'type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户ID', 'description' => '租户ID', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<List<DistributionItemModel>>',
'description' => 'PopResponse<List<ItemOfQueryDistributionItemGroup>>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string'],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string'],
'ItemId' => ['title' => '商品Id', 'description' => '商品Id', 'type' => 'integer', 'format' => 'int64'],
'ItemIdStr' => ['title' => 'String类型商品Id,用于解决前端number类型超出长度限制', 'description' => 'String类型商品Id,用于解决前端number类型超出长度限制', 'type' => 'string'],
'ItemName' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string'],
'CategoryId' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64'],
'CategoryChain' => [
'title' => '类目链,父类目在前,子类目在后,叶子类目最后',
'description' => '类目链,父类目在前,子类目在后,叶子类目最后',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'CategoryId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'Name' => ['type' => 'string', 'description' => ''],
'ParentId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'Level' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
'Leaf' => ['type' => 'boolean', 'description' => ''],
],
'description' => '',
],
],
'Category' => ['title' => '商品在linkedmall平台上的分类:实物商品(entity),猫超卡券(aliComBenifit),电影票(movieTicket)', 'description' => '商品在linkedmall平台上的分类:实物商品(entity),猫超卡券(aliComBenifit),电影票(movieTicket)', 'type' => 'string'],
'Status' => ['title' => 'linkedmall商品状态', 'description' => 'linkedmall商品状态', 'type' => 'integer', 'format' => 'int32'],
'Quantity' => ['title' => '商品剩余库存:MIN', 'description' => '商品剩余库存:MIN', 'type' => 'integer', 'format' => 'int32'],
'SimpleQuantity' => ['type' => 'string', 'description' => ''],
'HasQuantity' => ['type' => 'boolean', 'description' => ''],
'TotalSoldQuantity' => ['title' => '累计售出数量', 'description' => '累计售出数量', 'type' => 'integer', 'format' => 'int32'],
'SimpleTotalSoldQuantity' => ['type' => 'string', 'description' => ''],
'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间', 'type' => 'string'],
'GmtModified' => ['title' => '最后修改/生效时间', 'description' => '最后修改/生效时间', 'type' => 'string'],
'PicUrl' => ['title' => '图片url', 'description' => '图片url', 'type' => 'string'],
'ItemDesc' => ['title' => '商品描述信息', 'description' => '商品描述信息', 'type' => 'string'],
'ReservedPrice' => ['title' => 'IC划线价', 'description' => 'IC划线价', 'type' => 'integer', 'format' => 'int64'],
'ReservedPriceScope' => ['type' => 'string', 'description' => ''],
'PriceCentScope' => ['type' => 'string', 'description' => ''],
'IsCanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'type' => 'boolean'],
'Tips' => ['title' => '对商品不可售的原因描述', 'description' => '对商品不可售的原因描述', 'type' => 'string'],
'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string'],
'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string'],
'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情介绍-图片介绍信息', 'type' => 'string'],
'PropertiesJson' => ['type' => 'string', 'description' => ''],
'ItemImages' => [
'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
'description' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
'type' => 'array',
'items' => ['type' => 'string', 'description' => ''],
],
'SkuList' => [
'title' => 'sku列表',
'description' => 'sku列表',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'LmItemId' => ['type' => 'string', 'description' => ''],
'ItemId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'SkuId' => ['title' => '没有sku的商品,skuId填-1', 'description' => '没有sku的商品,skuId填-1', 'type' => 'integer', 'format' => 'int64'],
'Quantity' => ['title' => '商品剩余库存:MIN', 'description' => '商品剩余库存:MIN', 'type' => 'integer', 'format' => 'int64'],
'SimpleQuantity' => ['type' => 'string', 'description' => ''],
'HasQuantity' => ['type' => 'boolean', 'description' => ''],
'Status' => ['title' => '状态', 'description' => '状态', 'type' => 'integer', 'format' => 'int32'],
'PriceCent' => ['title' => '当前售价(分)', 'description' => '当前售价(分)', 'type' => 'integer', 'format' => 'int64'],
'ReservedPrice' => ['title' => 'IC SKU 一口价', 'description' => 'IC SKU 一口价', 'type' => 'integer', 'format' => 'int64'],
'SkuDesc' => ['title' => 'sku描述信息', 'description' => 'sku描述信息', 'type' => 'string'],
'SkuPicUrl' => ['title' => 'sku图片', 'description' => 'sku图片', 'type' => 'string'],
'SkuTitle' => ['title' => 'sku标题', 'description' => 'sku标题', 'type' => 'string'],
'GmtModified' => ['title' => '最后修改/生效时间', 'description' => '最后修改/生效时间', 'type' => 'string'],
'LmAttributeModels' => [
'title' => 'sku的扩展属性list',
'description' => 'sku的扩展属性list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AttrId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Name' => ['type' => 'string', 'description' => ''],
'Description' => ['type' => 'string', 'description' => ''],
'DataType' => ['type' => 'string', 'description' => ''],
'Restriction' => ['type' => 'string', 'description' => ''],
'Category' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
'ScopeList' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => ''],
'description' => '',
],
],
'description' => '',
],
],
'CustomizedAttributeMap' => [
'title' => '客户自定义属性',
'description' => '客户自定义属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'CanSell' => ['type' => 'boolean', 'description' => ''],
'Tips' => ['type' => 'string', 'description' => ''],
'SkuPropertiesJson' => ['type' => 'string', 'description' => ''],
'SkuProperties' => [
'title' => '设置基础库/系统扩展属性',
'description' => '设置基础库/系统扩展属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'ExtInfo' => ['title' => '存放买断权益对接模式下:promotionId(权益ID),securityCode(安全码)', 'description' => '存放买断权益对接模式下:promotionId(权益ID),securityCode(安全码)', 'type' => 'string'],
'lmSkuAttributeMap' => [
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
'description' => '',
],
],
'description' => '',
],
],
'LmAttributeModels' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'AttrId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'Value' => ['type' => 'string', 'description' => ''],
'Name' => ['type' => 'string', 'description' => ''],
'Description' => ['type' => 'string', 'description' => ''],
'DataType' => ['type' => 'string', 'description' => ''],
'Restriction' => ['type' => 'string', 'description' => ''],
'Category' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
'ScopeList' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => ''],
'description' => '',
],
],
'description' => '',
],
'description' => '',
],
'LmAttributeMap' => [
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
'description' => '',
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9D9B-58AFD9E0****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ItemIdStr\\": \\"\\",\\n \\"ItemName\\": \\"\\",\\n \\"CategoryId\\": 0,\\n \\"CategoryChain\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"\\",\\n \\"ParentId\\": 0,\\n \\"Level\\": 0,\\n \\"Leaf\\": true\\n }\\n ],\\n \\"Category\\": \\"\\",\\n \\"Status\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"TotalSoldQuantity\\": 0,\\n \\"SimpleTotalSoldQuantity\\": \\"\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"GmtModified\\": \\"\\",\\n \\"PicUrl\\": \\"\\",\\n \\"ItemDesc\\": \\"\\",\\n \\"ReservedPrice\\": 0,\\n \\"ReservedPriceScope\\": \\"\\",\\n \\"PriceCentScope\\": \\"\\",\\n \\"IsCanSell\\": true,\\n \\"Tips\\": \\"\\",\\n \\"ItemTitle\\": \\"\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"DescOption\\": \\"\\",\\n \\"PropertiesJson\\": \\"\\",\\n \\"ItemImages\\": [\\n \\"\\"\\n ],\\n \\"SkuList\\": [\\n {\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"Status\\": 0,\\n \\"PriceCent\\": 0,\\n \\"ReservedPrice\\": 0,\\n \\"SkuDesc\\": \\"\\",\\n \\"SkuPicUrl\\": \\"\\",\\n \\"SkuTitle\\": \\"\\",\\n \\"GmtModified\\": \\"\\",\\n \\"LmAttributeModels\\": [\\n {\\n \\"AttrId\\": 0,\\n \\"Value\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DataType\\": \\"\\",\\n \\"Restriction\\": \\"\\",\\n \\"Category\\": 0,\\n \\"ScopeList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Tips\\": \\"\\",\\n \\"SkuPropertiesJson\\": \\"\\",\\n \\"SkuProperties\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"ExtInfo\\": \\"\\",\\n \\"lmSkuAttributeMap\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ],\\n \\"LmAttributeModels\\": [\\n {\\n \\"AttrId\\": 0,\\n \\"Value\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"DataType\\": \\"\\",\\n \\"Restriction\\": \\"\\",\\n \\"Category\\": 0,\\n \\"ScopeList\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"LmAttributeMap\\": {\\n \\"key\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询商品列表',
'summary' => '查询分销商商品库内的商品列表。',
'description' => '查询分销商商品库内的商品列表',
'changeSet' => [
['createdAt' => '2022-12-30T12:20:19.000Z', 'description' => '响应参数发生变更'],
['createdAt' => '2022-09-23T10:55:35.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-05-31T09:47:28.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDistributionItem'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:listDistributionItem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListDistributionItemWithoutCache' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '19e690e*****07a29c8'],
],
[
'name' => 'LmItemId',
'in' => 'formData',
'schema' => ['title' => '商品id', 'description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '10000***-6193664*****'],
],
[
'name' => 'ItemStatus',
'in' => 'formData',
'schema' => ['title' => '商品状态', 'description' => '商品状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '7521****8332932'],
],
],
'responses' => [
200 => [
'headers' => [],
'schema' => [
'title' => 'PopResponse<List<DistributionItemModel>>',
'description' => 'PopResponse<List<DistributionItemModel>>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '5127621C-****-5DCA-9745-2936B31DFD12'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '205'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => '每页显示条数', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '27303'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '19e690e*****07a29c8'],
'SkuModels' => [
'title' => 'sku list',
'description' => '商品规格列表',
'type' => 'array',
'items' => [
'description' => '商品规格信息',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '19e690e*****07a29c8'],
'ExtJson' => ['title' => '预留扩展字段,JSON-Map结构', 'description' => '预留扩展字段,JSON-Map结构', 'type' => 'string', 'example' => '{}'],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10000***-6193664*****'],
'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '6193664*****'],
'SkuId' => ['title' => '规格ID', 'description' => '规格ID', 'type' => 'integer', 'format' => 'int64', 'example' => '488****548894'],
'SkuPvs' => ['title' => 'Sku对应的属性PV值组合', 'description' => 'Sku对应的属性PV值组合', 'type' => 'string', 'example' => '1627207:28320;5919063:6536025;12304035:75366283;122216431:27772'],
'SkuPicUrl' => ['title' => 'Sku图片', 'description' => 'Sku图片', 'type' => 'string', 'example' => 'img/12344***.jpg'],
'SkuTitle' => ['title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'type' => 'string', 'example' => '美味****原味2盒'],
'Quantity' => ['title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32', 'example' => '30000'],
'SimpleQuantity' => ['title' => 'SKU模糊化库存'."\n"
.'例如:有货、无货、库存紧张', 'description' => 'SKU模糊化库存'."\n"
.'例如:有货、无货、库存紧张', 'type' => 'string', 'example' => '有货、无货、库存紧张'],
'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean', 'example' => 'true'],
'ReservedPrice' => ['title' => 'IC SKU 一口价,划线价,商品原价(分)', 'description' => 'IC SKU 一口价,划线价,商品原价(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '8000'],
'PriceCent' => ['title' => '商品销售价格(分)'."\n"
.'渠道商供货价格', 'description' => '商品销售价格(分)'."\n"
.'渠道商供货价格', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
'SupplierPrice' => ['description' => '供货价(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
'Status' => ['title' => '商品规格售卖状态'."\n"
.'1:商品可售卖'."\n"
.'2:商品不可售卖'."\n"
.'3:商品价格异常'."\n"
.'4:商品被删除', 'description' => '商品规格售卖状态'."\n"
.'1:商品可售卖'."\n"
.'2:商品不可售卖'."\n"
.'3:商品价格异常'."\n"
.'4:商品被删除', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'CustomizedAttributeMap' => [
'title' => '规格维度的扩展属性PV'."\n"
.'(客户自定义属性)',
'description' => '规格维度的扩展属性PV'."\n"
.'(客户自定义属性)',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '客户自定义属性'],
],
'LmSkuAttributeMap' => [
'title' => '规格维度的扩展属性PV'."\n"
.'(商家扩展属性或系统扩展属性)',
'description' => '规格维度的扩展属性PV'."\n"
.'(商家扩展属性或系统扩展属性)',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => '{'."\n"
.' "taxInvoice": "100",'."\n"
.' "taxRateCode": "1123"'."\n"
.' }', 'description' => 'Linkedmall 平台SKU的属性'],
],
'IsCanNotBeSoldCode' => ['title' => '不可售编码,可售时为空', 'description' => '不可售编码,可售时为空', 'type' => 'string', 'example' => 'CAN_NOT_BE_SOLD'],
'IsCanNotBeSoldMessage' => ['title' => '不可售消息,可售时为空', 'description' => '不可售消息,可售时为空', 'type' => 'string', 'example' => '商品不可售'],
'InvoiceType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
],
],
'SkuPropertys' => [
'title' => 'Sku属性PV对列表',
'description' => 'Sku属性PV对列表',
'type' => 'array',
'items' => [
'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
'type' => 'object',
'properties' => [
'Id' => ['title' => '规格属性ID', 'description' => '规格属性ID', 'type' => 'integer', 'format' => 'int64', 'example' => '44042249****'],
'Text' => ['title' => '属性键P', 'description' => '属性键P', 'type' => 'string', 'example' => '颜色分类'],
'Values' => [
'title' => '属性值列表',
'description' => '属性值列表',
'type' => 'array',
'items' => [
'description' => '属性值对',
'type' => 'object',
'properties' => [
'Id' => ['title' => '属性值ID', 'description' => '属性值ID', 'type' => 'integer', 'format' => 'int64', 'example' => '600***'],
'Text' => ['title' => '属性值V', 'description' => '属性值V', 'type' => 'string', 'example' => '橙色'],
],
],
],
],
],
],
'LmItemId' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'example' => '1000****-630292****'],
'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '美味****原味2盒'],
'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
'FirstPicUrl' => ['title' => '轮播图第一张图', 'description' => '轮播图第一张图', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
'ItemImages' => [
'title' => '商品图片URL,最多10张,一般是Detail上轮播',
'description' => '商品图片URL,最多10张,一般是Detail上轮播',
'type' => 'array',
'items' => ['description' => '商品图片URL', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
],
'DescPath' => ['title' => '商品详情介绍-图片介绍,URL', 'description' => '商品详情介绍-图片介绍,URL', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'],
'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情介绍-图片介绍信息', 'type' => 'string', 'example' => '<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>'],
'MinPrice' => ['title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'type' => 'integer', 'format' => 'int64', 'example' => '3900'],
'ReservedPrice' => ['title' => '商品原价,可用于显示划线价', 'description' => '商品原价,可用于显示划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
'Quantity' => ['title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。', 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
'SimpleQuantity' => ['title' => '模糊化库存'."\n"
.'例如:有货、无货、库存紧张', 'description' => '模糊化库存'."\n"
.'例如:有货、无货、库存紧张', 'type' => 'string', 'example' => '有货'."\n"
.'无货'."\n"
.'库存紧张'],
'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean', 'example' => 'true'],
'CategoryId' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '5001****'],
'CategoryIds' => [
'title' => '类目ID,父类目在前,子类目在后',
'description' => '类目ID,父类目在前,子类目在后',
'type' => 'array',
'items' => ['description' => '类目唯一标识', 'type' => 'integer', 'format' => 'int64', 'example' => '205879***'],
],
'Prov' => ['title' => '商品所在省份:如浙江', 'description' => '商品所在省份:如浙江', 'type' => 'string', 'example' => '浙江'],
'City' => ['title' => '商品所在城市:如杭州', 'description' => '商品所在城市:如杭州', 'type' => 'string', 'example' => '杭州'],
'Properties' => [
'title' => '产品属性或产品参数,供Detail页面显示使用'."\n"
.'例如:'."\n"
.'{颜色分类: ["桔色", "军绿色"]}',
'description' => '产品属性或产品参数,供Detail页面显示使用'."\n"
.'例如:'."\n"
.'{颜色分类: ["桔色", "军绿色"]}',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => '颜色分类', 'description' => ''],
'description' => '产品参数',
],
],
'Features' => [
'title' => '商家配置产品特征'."\n"
."\0".'tax_invoice:税率'."\n"
."\0".'tax_rate_code:税码,全国统一'."\n"
.'extraPeriod:保质期,用于食品'."\n"
.'food_pro_date:生产日期',
'description' => '商家配置产品特征'."\n"
."\0".'tax_invoice:税率'."\n"
."\0".'tax_rate_code:税码,全国统一'."\n"
.'extraPeriod:保质期,用于食品'."\n"
.'food_pro_date:生产日期',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '产品特征', 'example' => '{'."\n"
.' "taxInvoice": "100",'."\n"
.' "taxRateCode": "1123"'."\n"
.' }'],
],
'IforestProps' => [
'title' => '关键属性,供Detail页面显示使用'."\n"
.'例如:'."\n"
.'[{value: "军绿色", key: "颜色分类"}, {value: "桔色", key: "颜色分类"}]',
'description' => '关键属性,供Detail页面显示使用'."\n"
.'例如:'."\n"
.'[{value: "军绿色", key: "颜色分类"}, {value: "桔色", key: "颜色分类"}]',
'type' => 'array',
'items' => [
'description' => '属性对象',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => ' {'."\n"
.' "value": "黄色",'."\n"
.' "key": "颜色分类"'."\n"
.' }', 'description' => '属性对象'],
],
],
'IsSellerPayPostfee' => ['title' => '是否包邮', 'description' => '是否包邮', 'type' => 'boolean', 'example' => 'true'],
'IsCanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0', 'type' => 'boolean', 'example' => 'true'],
'LmItemCategory' => ['title' => '商品在linkedmall平台的类型'."\n"
.'entity:实物商品'."\n"
.'aliComBenifit:虚拟商品', 'description' => '商品在linkedmall平台的类型'."\n"
.'entity:实物商品'."\n"
.'aliComBenifit:虚拟商品', 'type' => 'string', 'example' => 'entity'],
'CustomizedAttributeMap' => [
'title' => '商品维度的扩展属性PV',
'description' => '商品维度的扩展属性PV',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '客户自定义属性', 'example' => '{}'],
],
'LmItemAttributeMap' => [
'title' => '商品维度的扩展属性PV',
'description' => '商品维度的扩展属性PV',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'Linkedmall 平台商品属性', 'example' => '{'."\n"
.' "taxInvoice": "100",'."\n"
.' "taxRateCode": "1123"'."\n"
.'}'],
],
'Current' => ['title' => '当前时间', 'description' => '当前时间', 'type' => 'string', 'example' => '2020-01-01 00:00:00'],
'VirtualItemType' => ['title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'type' => 'string', 'example' => 'cardRoll'],
'UserType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
'SecuredTransactions' => ['description' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'ThirdPartyItemId' => ['title' => '外部商品id (来自第三方的商品)', 'description' => '外部商品id (来自第三方的商品)', 'type' => 'string', 'example' => '44042249****'."\n"],
'ThirdPartyName' => ['title' => '商品来源 (标记第三方商品的来源)', 'description' => '商品来源 (标记第三方商品的来源)', 'type' => 'string', 'example' => '三方商品来源'],
'VideoUrl' => ['title' => '视频地址', 'description' => '视频地址', 'type' => 'string', 'example' => 'http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/video/edf8d848fa80b1cac055c94652******.mp4'],
'VideoPicUrl' => ['title' => '视频封面地址', 'description' => '视频封面地址', 'type' => 'string', 'example' => 'http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/pic/edf8d848fa80b1cac055c94652*****.jpg'],
'IsCanNotBeSoldCode' => ['title' => '不可售编码,可售时为空', 'description' => '不可售编码,可售时为空', 'type' => 'string', 'example' => 'CAN_NOT_BE_SOLD'],
'IsCanNotBeSoldMessage' => ['title' => '不可售消息,可售时为空', 'description' => '不可售消息,可售时为空', 'type' => 'string', 'example' => '商品不可售'],
'ItemTotalValue' => ['title' => '总量库存值', 'description' => '总量库存值', 'type' => 'integer', 'format' => 'int32', 'example' => '100000'],
'ItemTotalSimpleValue' => ['title' => '总量库存模糊值'."\n"
.'例如:'."\n"
.'有货、无货、库存紧张', 'description' => '总量库存模糊值'."\n"
.'例如:'."\n"
.'有货、无货、库存紧张', 'type' => 'string', 'example' => '有货'],
'InvoiceType' => ['description' => '发票类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"5127621C-****-5DCA-9745-2936B31DFD12\\",\\n \\"SubCode\\": \\"205\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 27303,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"ExtJson\\": \\"{}\\",\\n \\"LmItemId\\": \\"10000***-6193664*****\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuPvs\\": \\"1627207:28320;5919063:6536025;12304035:75366283;122216431:27772\\",\\n \\"SkuPicUrl\\": \\"img/12344***.jpg\\",\\n \\"SkuTitle\\": \\"美味****原味2盒\\",\\n \\"Quantity\\": 30000,\\n \\"SimpleQuantity\\": \\"有货、无货、库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"ReservedPrice\\": 8000,\\n \\"PriceCent\\": 7960,\\n \\"SupplierPrice\\": 7960,\\n \\"Status\\": 1,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"taxInvoice\\\\\\": \\\\\\"100\\\\\\",\\\\n \\\\\\"taxRateCode\\\\\\": \\\\\\"1123\\\\\\"\\\\n }\\"\\n },\\n \\"IsCanNotBeSoldCode\\": \\"CAN_NOT_BE_SOLD\\",\\n \\"IsCanNotBeSoldMessage\\": \\"商品不可售\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"颜色分类\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"橙色\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"1000****-630292****\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"美味****原味2盒\\",\\n \\"MainPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"FirstPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"ItemImages\\": [\\n \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\"\\n ],\\n \\"DescPath\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"DescOption\\": \\"<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>\\",\\n \\"MinPrice\\": 3900,\\n \\"ReservedPrice\\": 2000,\\n \\"Quantity\\": 200,\\n \\"SimpleQuantity\\": \\"有货\\\\n无货\\\\n库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 0,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"浙江\\",\\n \\"City\\": \\"杭州\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"颜色分类\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"taxInvoice\\\\\\": \\\\\\"100\\\\\\",\\\\n \\\\\\"taxRateCode\\\\\\": \\\\\\"1123\\\\\\"\\\\n }\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\" {\\\\n \\\\\\"value\\\\\\": \\\\\\"黄色\\\\\\",\\\\n \\\\\\"key\\\\\\": \\\\\\"颜色分类\\\\\\"\\\\n }\\"\\n }\\n ],\\n \\"IsSellerPayPostfee\\": true,\\n \\"IsCanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"{\\\\n \\\\\\"taxInvoice\\\\\\": \\\\\\"100\\\\\\",\\\\n \\\\\\"taxRateCode\\\\\\": \\\\\\"1123\\\\\\"\\\\n}\\"\\n },\\n \\"Current\\": \\"2020-01-01 00:00:00\\",\\n \\"VirtualItemType\\": \\"cardRoll\\",\\n \\"UserType\\": 0,\\n \\"SecuredTransactions\\": 1,\\n \\"ThirdPartyItemId\\": \\"44042249****\\\\n\\",\\n \\"ThirdPartyName\\": \\"三方商品来源\\",\\n \\"VideoUrl\\": \\"http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"http://video***.oss-cn-shanghai.aliyuncs.com/vms-test/pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"IsCanNotBeSoldCode\\": \\"CAN_NOT_BE_SOLD\\",\\n \\"IsCanNotBeSoldMessage\\": \\"商品不可售\\",\\n \\"ItemTotalValue\\": 100000,\\n \\"ItemTotalSimpleValue\\": \\"有货\\",\\n \\"InvoiceType\\": 1\\n }\\n ]\\n}","type":"json"}]',
'title' => ' 查询商品列表(无本地缓存)',
'summary' => '查询无缓存分销商商品库内的商品列表,分销商品信息排序规则为商品的添加时间。',
'description' => '此接口只适用于管控端。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:listDistributionItemWithoutCache',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ListDistributionMall' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionMallName',
'in' => 'formData',
'schema' => ['title' => '商城名称', 'description' => '商城名称', 'type' => 'string', 'required' => false, 'example' => '阿里云图书专营店'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'ChannelSupplierId',
'in' => 'formData',
'schema' => ['title' => '渠道供应商id', 'description' => '渠道供应商id', 'type' => 'string', 'required' => false, 'example' => '113428528'],
],
[
'name' => 'StartDate',
'in' => 'formData',
'schema' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'required' => false, 'example' => '2021-10-24 15:29:38'],
],
[
'name' => 'EndDate',
'in' => 'formData',
'schema' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'required' => false, 'example' => '2021-10-26 10:29:13'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页数量', 'description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<List<ListDistributionMallModel>>',
'description' => 'PopResponse<ListDistributionMallModel>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1718921E-C8D4-55E1-B8D4-114AE537C1B7'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string'],
'DistributionMallName' => ['title' => '分销商城名称', 'description' => '分销商城名称', 'type' => 'string'],
'ChannelSupplierId' => ['title' => '渠道供应商id', 'description' => '渠道供应商id', 'type' => 'string'],
'DistributionMallType' => ['title' => '商城模式', 'description' => '商城模式', 'type' => 'string'],
'StartDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string'],
'EndDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string'],
'Status' => ['title' => '分销商城状态', 'description' => '分销商城状态', 'type' => 'string'],
],
'description' => '',
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1718921E-C8D4-55E1-B8D4-114AE537C1B7\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"DistributionMallName\\": \\"\\",\\n \\"ChannelSupplierId\\": \\"\\",\\n \\"DistributionMallType\\": \\"\\",\\n \\"StartDate\\": \\"\\",\\n \\"EndDate\\": \\"\\",\\n \\"Status\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '分销商城列表查询',
'summary' => '查询自己已经开通的商城列表。',
'description' => '查询自己已经开通的商城列表',
'changeSet' => [
['createdAt' => '2022-07-07T06:02:02.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:listDistributionMall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'ModifyRefund4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '766***221'],
],
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false, 'example' => 'DIS_153***851'],
],
[
'name' => 'BizClaimType',
'in' => 'formData',
'schema' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyRefundFee',
'in' => 'formData',
'schema' => ['title' => '申请退款金额', 'description' => '申请退款金额', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '790'],
],
[
'name' => 'ApplyRefundCount',
'in' => 'formData',
'schema' => ['title' => '退货数量', 'description' => '退货数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ApplyReasonTextId',
'in' => 'formData',
'schema' => ['title' => '退款原因ID', 'description' => '退款原因ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '500325'],
],
[
'name' => 'LeaveMessage',
'in' => 'formData',
'schema' => ['title' => '留言', 'description' => '留言', 'type' => 'string', 'required' => false, 'example' => '快递滞留 买家申请退款'],
],
[
'name' => 'LeavePictureLists',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '凭证',
'description' => '凭证列表',
'type' => 'array',
'items' => [
'description' => '退款凭证信息',
'type' => 'object',
'properties' => [
'Desc' => ['description' => '图片描述', 'type' => 'string', 'required' => false, 'example' => 'https://aliyundoc.com'],
'Picture' => ['description' => '图片地址', 'type' => 'string', 'required' => false, 'example' => '商品破损'],
],
'required' => false,
],
'required' => false,
],
],
[
'name' => 'GoodsStatus',
'in' => 'formData',
'schema' => ['title' => '货物状态', 'description' => '货物状态', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'DisputeId',
'in' => 'formData',
'schema' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '235***343'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '213**112'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<RefundApplicationData>',
'description' => 'PopResponse<RefundApplicationData>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9****8AFD9E0'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'SUCCESS'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => '""'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'SubDistributionOrderId' => ['title' => '当前发起逆向的子分销订单号', 'description' => '当前发起逆向的子分销订单号', 'type' => 'string', 'example' => 'DIS_153***851'],
'DisputeStatus' => ['title' => '逆向的状态', 'description' => '逆向的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
'DisputeType' => ['title' => '退款类型', 'description' => '退款类型', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeId' => ['title' => '纠纷id', 'description' => '纠纷id', 'type' => 'integer', 'format' => 'int64', 'example' => '235***343'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9****8AFD9E0\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Model\\": {\\n \\"SubDistributionOrderId\\": \\"DIS_153***851\\",\\n \\"DisputeStatus\\": 5,\\n \\"DisputeType\\": 1,\\n \\"DisputeId\\": 0\\n }\\n}","errorExample":""},{"type":"xml","example":"<ModifyRefund4DistributionResponse>\\n <LogsId>1</LogsId>\\n <RequestId>539E5C68-D8B5-57EC-9****8AFD9E0</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>SUCCESS</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>false</Success>\\n <Code>0000</Code>\\n <Message>\\"\\"</Message>\\n <Model>\\n <SubDistributionOrderId>DIS_153***851</SubDistributionOrderId>\\n <DisputeStatus>5</DisputeStatus>\\n <DisputeType>1</DisputeType>\\n </Model>\\n</ModifyRefund4DistributionResponse>","errorExample":""}]',
'title' => '分销采购订单退款申请修改',
'summary' => '分销订单退款申请修改。',
'description' => '基于 initModifyRefund4Distribution 接口获取退款信息,发起退款或者退货退款修改申请,该接口不支持退换货'."\n"
."\n"
.'注意: '."\n"
.'1.退款申请被卖家拒绝(通过queryRefundApplicationDetail4Distribution 接口查询到disputeStatus为6时)后,通过逆向修改申请借款,重新发起退款申请 '."\n"
.'2.正常售中允许申请退款三次,售后允许申请退款两次,如遇超过次数后不能申请退款,需自行联系商家打开线上退款入口(售中和售后的界定边缘为:确认收货) '."\n"
.'逆向修改申请具体情况如下:payStatus即指订单状态orderStatus '."\n"
.'售中(未确认收货 payStatus 2) '."\n"
.'仅退款 物流状态 logisticsStatus 1未发货 货物状态 goodstatus 4未发货 '."\n"
.'仅退款 物流状态 logisticsStatus 2已发货 货物状态 goodstatus 1未收到货 '."\n"
.'退货退款 货物状态 goodstatus 2已收到货 '."\n"
.'售后(已确认收货 payStatus 6) '."\n"
.'仅退款 goodstatus 2已收到货 '."\n"
.'退货退款 goodstatus 2已收到货 '."\n"
.'上传退款凭证须知:由于部分商家内部小二网络环境较差,请务必使用阿里云的oss服务作为您的图片存储,详细请参考: '."\n"
.' https://help.aliyun.com/document_detail/194635.htm',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRefund4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:modifyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryChildDivisionCodeById' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'type' => 'string'],
],
[
'name' => 'DivisionCode',
'in' => 'formData',
'schema' => ['type' => 'string'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'type' => 'string'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<QueryDivisionResponse>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string'],
'PageSize' => ['title' => 'pageSize', 'type' => 'integer', 'format' => 'int64'],
'PageNumber' => ['title' => '当前页', 'type' => 'integer', 'format' => 'int64'],
'TotalCount' => ['title' => '总数量', 'type' => 'integer', 'format' => 'int64'],
'Success' => ['title' => '本次执行的结果成功与否', 'type' => 'boolean'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string'],
'Message' => ['title' => '错误消息', 'type' => 'string'],
'Model' => [
'title' => '请求结果数据',
'type' => 'object',
'properties' => [
'DivisionList' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ParentId' => ['type' => 'integer', 'format' => 'int64'],
'DivisionCode' => ['type' => 'integer', 'format' => 'int64'],
'DivisionName' => ['type' => 'string'],
'DivisionLevel' => ['type' => 'integer', 'format' => 'int64'],
'Pinyin' => ['type' => 'string'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'changeSet' => [
['createdAt' => '2022-07-21T01:58:11.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryChildDivisionCodeById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"SubCode\\": \\"\\",\\n \\"SubMessage\\": \\"\\",\\n \\"PageSize\\": 0,\\n \\"PageNumber\\": 0,\\n \\"TotalCount\\": 0,\\n \\"Success\\": true,\\n \\"Code\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"Model\\": {\\n \\"DivisionList\\": [\\n {\\n \\"ParentId\\": 0,\\n \\"DivisionCode\\": 0,\\n \\"DivisionName\\": \\"\\",\\n \\"DivisionLevel\\": 0,\\n \\"Pinyin\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
],
'QueryDistributionBillDetail' => [
'summary' => '分销账单明细数据查询接口。',
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'BillId',
'in' => 'formData',
'schema' => ['description' => '账单ID', 'type' => 'string', 'required' => false, 'example' => '10000007371****'],
],
[
'name' => 'BillPeriod',
'in' => 'formData',
'schema' => ['description' => '账单期数', 'type' => 'string', 'required' => false, 'example' => '2022-11'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['description' => '分销商城ID', 'type' => 'string', 'required' => false, 'example' => '122889******114694'],
],
[
'name' => 'DistributionMallName',
'in' => 'formData',
'schema' => ['description' => '商城名称', 'type' => 'string', 'required' => false, 'example' => '杭州****'],
],
[
'name' => 'BillStatus',
'in' => 'formData',
'schema' => ['description' => '账单状态', 'type' => 'string', 'required' => false],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['description' => '租户ID', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
'description' => '响应数据',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => 'Id of the request', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'Id of the request', 'description' => '请求流水号', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
'SubCode' => ['title' => 'Id of the request', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
'SubMessage' => ['title' => 'Id of the request', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'Success' => ['description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => 'Id of the request', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => 'Id of the request', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'description' => '账单数据',
'type' => 'object',
'properties' => [
'PageNumber' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PageSize' => ['description' => '每页数量', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Total' => ['description' => '账单总个数', 'type' => 'integer', 'format' => 'int32', 'example' => '685'],
'Data' => [
'description' => '账单明细链接地址列表',
'type' => 'array',
'items' => ['description' => '账单明细链接地址', 'type' => 'string', 'example' => 'oss://aliyun.com/***/***/billdetail.zip'],
],
],
],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 20,\\n \\"Total\\": 685,\\n \\"Data\\": [\\n \\"oss://aliyun.com/***/***/billdetail.zip\\"\\n ]\\n }\\n}","type":"json"}]',
'title' => '账单明细查询',
'description' => '分销账单明细数据查询接口,返回明细数据下载链接地址。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionBillDetail'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:getDistributionBillByDistributor',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryDistributionMall' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<QueryDistributionMallModel>',
'description' => 'PopResponse<QueryDistributionMallModel>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '539E5C68-D8B5-57EC-9D9B-58AFD9E0****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'DistributorId' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'example' => '1'],
'DistributionMallId' => ['title' => '分销商城id', 'description' => '分销商城id', 'type' => 'string', 'example' => '1'],
'DistributionMallName' => ['title' => '分销商城名称', 'description' => '分销商城名称', 'type' => 'string', 'example' => '分销商城名称'],
'ChannelSupplierId' => ['title' => '渠道供应商id', 'description' => '渠道供应商id', 'type' => 'string'],
'DistributionMallType' => ['title' => '商城模式', 'description' => '商城模式(SaaS,API)', 'type' => 'string', 'example' => 'SaaS'],
'StartDate' => ['title' => '开始时间', 'description' => '开始时间', 'type' => 'string', 'example' => '2021-12-10 00:00:00'],
'EndDate' => ['title' => '结束时间', 'description' => '结束时间', 'type' => 'string', 'example' => '2022-10-31 23:59:59'],
'Status' => ['title' => '分销商城状态', 'description' => '分销商城状态', 'type' => 'string', 'example' => '""'],
],
],
'BizViewData' => [
'description' => '渠道公共数据',
'type' => 'object',
'additionalProperties' => ['type' => 'any', 'description' => ''],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"539E5C68-D8B5-57EC-9D9B-58AFD9E0****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"DistributorId\\": \\"1\\",\\n \\"DistributionMallId\\": \\"1\\",\\n \\"DistributionMallName\\": \\"分销商城名称\\",\\n \\"ChannelSupplierId\\": \\"\\",\\n \\"DistributionMallType\\": \\"SaaS\\",\\n \\"StartDate\\": \\"2021-12-10 00:00:00\\",\\n \\"EndDate\\": \\"2022-10-31 23:59:59\\",\\n \\"Status\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"BizViewData\\": {\\n \\"key\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => '分销商城查询',
'summary' => '分销商查询自己拥有的商城信息'."\n"
.'。',
'description' => '分销商查询自己拥有的商城信息'."\n",
'changeSet' => [
['createdAt' => '2022-07-21T09:00:42.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryDistributionMall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryDistributionTradeStatus' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionSupplierId',
'in' => 'formData',
'schema' => ['title' => '渠道供应商ID', 'description' => '渠道供应商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionTradeId',
'in' => 'formData',
'schema' => ['title' => '分销交易号', 'description' => '分销交易号', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<String>',
'description' => 'PopResponse<String>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => ['title' => '请求结果数据', 'description' => '请求结果数据', 'type' => 'string'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"75F3A591-B1A6-5EFF-8ABF-35AB8804DFA0\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": \\"\\"\\n}","type":"json"}]',
'title' => '查询分销交易状态',
'summary' => '查询分销交易状态。',
'description' => '只返回分销交易状态。',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionTradeStatus'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryDistributionTradeStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryItemDetail' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商id', 'type' => 'string', 'required' => false],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商商城ID', 'description' => '分销商商城id', 'type' => 'string', 'required' => false],
],
[
'name' => 'LmItemId',
'in' => 'formData',
'schema' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户ID', 'description' => '租户ID', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<DistributionItemDetailModel>',
'description' => 'PopResponse<ItemModel>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'E46C790E-B1F2-51EF-B6F8-B52404B5****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'BizItemGroup [LMALL20210830****] has not the item [65728655****].'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string'],
'SkuModels' => [
'title' => 'sku list',
'description' => 'sku list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string'],
'ExtJson' => ['title' => '预留扩展字段,JSON-Map结构', 'description' => '预留扩展字段,JSON-Map结构', 'type' => 'string'],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string'],
'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64'],
'SkuId' => ['title' => '没有sku的商品,skuId填-1', 'description' => '没有sku的商品,skuId填-1', 'type' => 'integer', 'format' => 'int64'],
'SkuPvs' => ['title' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'description' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'type' => 'string'],
'SkuPicUrl' => ['title' => 'Sku图片', 'description' => 'Sku图片', 'type' => 'string'],
'SkuTitle' => ['title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'type' => 'string'],
'Quantity' => ['title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32'],
'SimpleQuantity' => ['title' => 'SKU模糊化库存', 'description' => 'SKU模糊化库存', 'type' => 'string'],
'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean'],
'ReservedPrice' => ['title' => 'IC SKU 一口价', 'description' => 'IC SKU 一口价', 'type' => 'integer', 'format' => 'int64'],
'PriceCent' => ['title' => '商品销售价格(分)', 'description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64'],
'Status' => ['title' => '商品规格对应的售卖状态', 'description' => '商品规格对应的售卖状态', 'type' => 'integer', 'format' => 'int32'],
'CustomizedAttributeMap' => [
'title' => '客户自定义属性',
'description' => '客户自定义属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'LmSkuAttributeMap' => [
'title' => 'Linkedmall 平台SKU的属性',
'description' => 'Linkedmall 平台SKU的属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string'],
'CanNotBeSoldMessage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string'],
'InvoiceType' => ['title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'description' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'type' => 'integer', 'format' => 'int32'],
],
'description' => '',
],
],
'SkuPropertys' => [
'title' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'Text' => ['type' => 'string', 'description' => ''],
'Values' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'Text' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'description' => '',
],
],
'description' => '',
],
],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string'],
'ItemId' => ['title' => 'IC商品ID', 'description' => '商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '大自然酸菜(美好生鲜)'],
'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string'],
'FirstPicUrl' => ['title' => 'itemDO.commonItemImageList第一张', 'description' => '商品主图', 'type' => 'string', 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652f*****.jpg'],
'ItemImages' => [
'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
'description' => '商品图片列表',
'type' => 'array',
'items' => ['description' => '商品图片列表', 'type' => 'string', 'example' => '<p><img src=\\"https://img.alicdn.com/imgextra/i2/2207523123246/O1CN01pyEmOb1ZqiNAnQPjQ_!!22075231******.png\\" align=\\"absmiddle\\"></p>'],
],
'DescPath' => ['title' => '商品详情介绍-图片介绍,URL', 'description' => '商品详情介绍-图片介绍,URL', 'type' => 'string'],
'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情描述', 'type' => 'string', 'example' => '{}'],
'MinPrice' => ['title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'type' => 'integer', 'format' => 'int64'],
'ReservedPrice' => ['title' => '商品原价,可用于显示划线价', 'description' => '商品原价,可用于显示划线价', 'type' => 'integer', 'format' => 'int64'],
'Quantity' => ['title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32'],
'SimpleQuantity' => ['title' => '模糊化库存', 'description' => '模糊化库存', 'type' => 'string'],
'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean'],
'CategoryId' => ['title' => '类目ID', 'description' => '最后⼀级的类⽬ID,之后会提供类⽬查询接⼝来获取商品所属类⽬信息', 'type' => 'integer', 'format' => 'int64', 'example' => '50011982'],
'CategoryIds' => [
'title' => '类目ID,父类目在前,子类目在后',
'description' => '类目ID,父类目在前,子类目在后',
'type' => 'array',
'items' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
],
'Prov' => ['title' => '商品所在城市:如杭州', 'description' => '商品所在城市:如杭州', 'type' => 'string'],
'City' => ['title' => '商品所在省份:如浙江', 'description' => '商品所在省份:如浙江', 'type' => 'string'],
'Properties' => [
'title' => '产品属性,产品参数,供Detail页面显示使用,从itemDO.itemProperties转换而来',
'description' => '产品参数',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'description' => ''],
'description' => '产品参数',
'example' => '{"key":"value"}',
],
],
'Features' => [
'title' => '产品特征,从itemDO.Features转换而来',
'description' => '产品特征,从itemDO.Features转换而来',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'IforestProps' => [
'title' => '宝石路属性,关键属性,供Detail页面显示使用,从itemDO.itemProperties转换而来',
'description' => '商品详情页商品名称下面的三列属性',
'type' => 'array',
'items' => [
'description' => '商品详情页商品名称下面的三列属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '商品详情页商品名称下面的三列属性', 'example' => '""'],
],
],
'IsSellerPayPostfee' => ['title' => '是否包邮', 'description' => '是否包邮', 'type' => 'boolean'],
'IsCanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'type' => 'boolean'],
'LmItemCategory' => ['title' => '商品在linkedmall平台的类型', 'description' => '商品类别', 'type' => 'string', 'example' => 'entity'],
'CustomizedAttributeMap' => [
'title' => '客户自定义属性',
'description' => '客户自定义属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'LmItemAttributeMap' => [
'title' => 'Linkedmall 平台商品属性',
'description' => 'Linkedmall 平台商品属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'Current' => ['title' => '当前时间', 'description' => '当前时间', 'type' => 'string'],
'VirtualItemType' => ['title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)', 'type' => 'string'],
'ThirdPartyItemId' => ['title' => '外部商品id (来自第三方的商品)', 'description' => '外部商品id (来自第三方的商品)', 'type' => 'string'],
'ThirdPartyName' => ['title' => '商品来源 (标记第三方商品的来源)', 'description' => '商品来源 (标记第三方商品的来源)', 'type' => 'string'],
'VideoUrl' => ['title' => '视频url', 'description' => '视频链接地址', 'type' => 'string', 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/video/edf8d848fa80b1cac055c94652******.mp4'],
'VideoPicUrl' => ['title' => '视频封面url', 'description' => '视频头图链接地址', 'type' => 'string', 'example' => 'http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652*****.jpg'],
'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string'],
'CanNotBeSoldMessage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string'],
'ItemTotalValue' => ['title' => '总量库存值', 'description' => '总量库存值', 'type' => 'integer', 'format' => 'int32'],
'ItemTotalSimpleValue' => ['type' => 'string', 'description' => ''],
'InvoiceType' => ['title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'description' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'type' => 'integer', 'format' => 'int32'],
],
],
'BizViewData' => [
'description' => '渠道公共数据',
'type' => 'object',
'additionalProperties' => ['type' => 'any', 'description' => ''],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"E46C790E-B1F2-51EF-B6F8-B52404B5****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"BizItemGroup [LMALL20210830****] has not the item [65728655****].\\",\\n \\"Model\\": {\\n \\"DistributionMallId\\": \\"\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"\\",\\n \\"ExtJson\\": \\"\\",\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuPvs\\": \\"\\",\\n \\"SkuPicUrl\\": \\"\\",\\n \\"SkuTitle\\": \\"\\",\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"ReservedPrice\\": 0,\\n \\"PriceCent\\": 0,\\n \\"Status\\": 0,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMessage\\": \\"\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"大自然酸菜(美好生鲜)\\",\\n \\"MainPicUrl\\": \\"\\",\\n \\"FirstPicUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652f*****.jpg\\",\\n \\"ItemImages\\": [\\n \\"<p><img src=\\\\\\\\\\\\\\"https://img.alicdn.com/imgextra/i2/2207523123246/O1CN01pyEmOb1ZqiNAnQPjQ_!!22075231******.png\\\\\\\\\\\\\\" align=\\\\\\\\\\\\\\"absmiddle\\\\\\\\\\\\\\"></p>\\"\\n ],\\n \\"DescPath\\": \\"\\",\\n \\"DescOption\\": \\"{}\\",\\n \\"MinPrice\\": 0,\\n \\"ReservedPrice\\": 0,\\n \\"Quantity\\": 0,\\n \\"SimpleQuantity\\": \\"\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 50011982,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"\\",\\n \\"City\\": \\"\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"IsSellerPayPostfee\\": true,\\n \\"IsCanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Current\\": \\"\\",\\n \\"VirtualItemType\\": \\"\\",\\n \\"ThirdPartyItemId\\": \\"\\",\\n \\"ThirdPartyName\\": \\"\\",\\n \\"VideoUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"http://yicaivodcache.oss-cn-shanghai.aliyuncs.com/vms-test/vms3/pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"CanNotBeSoldCode\\": \\"\\",\\n \\"CanNotBeSoldMessage\\": \\"\\",\\n \\"ItemTotalValue\\": 0,\\n \\"ItemTotalSimpleValue\\": \\"\\",\\n \\"InvoiceType\\": 0\\n },\\n \\"BizViewData\\": {\\n \\"key\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => '查询商品详情接口',
'summary' => '查询单个商品的详细信息'."\n"
.'。',
'description' => '查询单个商品的详细信息'."\n",
'changeSet' => [
['createdAt' => '2022-09-23T10:55:35.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-05-31T09:47:28.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryItemDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryItemDetailWithDivision' => [
'summary' => '支持根据区域查询商品详细信息接口。',
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '1339d4e******46ea9d126df506af8d2b'],
],
[
'name' => 'LmItemId',
'in' => 'formData',
'schema' => ['title' => 'lm商品ID', 'description' => 'lm商品ID', 'type' => 'string', 'required' => false, 'example' => '10000035-61936646****'],
],
[
'name' => 'DivisionCode',
'in' => 'formData',
'schema' => ['title' => '区域码', 'description' => '区域码', 'type' => 'string', 'required' => false, 'example' => '410503006'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<DistributionItemDetailModel>',
'description' => 'PopResponse<DistributionItemDetailModel>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '201'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '19'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'Success'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '122889******114694'],
'SkuModels' => [
'title' => 'sku list',
'description' => 'sku list',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '401e6c8****39b05797ac841907ca'],
'ExtJson' => ['title' => '预留扩展字段,JSON-Map结构', 'description' => '预留扩展字段,JSON-Map结构', 'type' => 'string', 'example' => '{\\"outShopId\\":\\"3163****7\\"}'],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10026053-67222490****'],
'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '56090358****'],
'SkuId' => ['title' => 'skuId(如果一个品没有sku,则构造一个id为-1的sku。数量库里0和-1都是表示没有SKU的商品,DB 中统一使用-1),如 3428785463017', 'description' => 'skuId(如果一个品没有sku,则构造一个id为-1的sku。数量库里0和-1都是表示没有SKU的商品,DB 中统一使用-1),如 3428785463017', 'type' => 'integer', 'format' => 'int64', 'example' => '-1'],
'SkuPvs' => ['title' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'description' => 'Sku对应的属性PV值组合,如 1627207:28320;5919063:6536025;12304035:75366283;122216431:27772', 'type' => 'string', 'example' => '1627207:28320;5919063:6536025;12304035:75366283;122216431:27772'],
'SkuPicUrl' => ['title' => 'Sku图片', 'description' => 'Sku图片', 'type' => 'string', 'example' => 'img/12344***.jpg'],
'SkuTitle' => ['title' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'description' => 'SKU对应的属性显示Title。多个属性组合值之间用斜线分隔。', 'type' => 'string', 'example' => '*****罐头'],
'Quantity' => ['title' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => 'SKU库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
'SimpleQuantity' => ['title' => 'SKU模糊化库存', 'description' => 'SKU模糊化库存', 'type' => 'string', 'example' => '有货、无货、库存紧张'],
'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean', 'example' => 'true'],
'ReservePrice' => ['title' => 'IC SKU 一口价', 'description' => 'IC SKU 一口价', 'type' => 'integer', 'format' => 'int64', 'example' => '788'],
'PriceCent' => ['title' => '商品销售价格(分)', 'description' => '商品销售价格(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '3990'],
'SupplierPrice' => ['title' => '供货价(分)', 'description' => '供货价(分)', 'type' => 'integer', 'format' => 'int64', 'example' => '9900'],
'Status' => ['title' => '商品规格对应的售卖状态', 'description' => '商品规格对应的售卖状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'CustomizedAttributeMap' => [
'title' => '客户自定义属性',
'description' => '客户自定义属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '自定义属性对', 'example' => '颜色分类~~白色'."\n"
.'款式~~圆头'],
],
'LmSkuAttributeMap' => [
'title' => 'Linkedmall 平台SKU的属性',
'description' => 'Linkedmall 平台SKU的属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => 'Linkedmall自定义属性对', 'example' => '颜色分类~~白色'."\n"
.'款式~~圆头'],
],
'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string', 'example' => 'NULL'],
'CanNotBeSoldMassage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string', 'example' => 'NULL'],
'InvoiceType' => ['title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum', 'description' => '发票类型', 'type' => 'integer', 'format' => 'int32'],
],
'description' => '',
],
],
'SkuPropertys' => [
'title' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
'description' => 'Sku属性PV对列表,用于渲染页面下单时,选择下单参数',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'Id' => ['description' => 'sku属性id', 'type' => 'integer', 'format' => 'int64', 'example' => '44042249****'],
'Text' => ['description' => '属性名', 'type' => 'string', 'example' => '162720***'],
'Values' => [
'description' => '属性值集合',
'type' => 'array',
'items' => [
'description' => '属性值对',
'type' => 'object',
'properties' => [
'Id' => ['description' => '属性值id', 'type' => 'integer', 'format' => 'int64', 'example' => '44042249****'],
'Text' => ['description' => '属性值', 'type' => 'string', 'example' => '颜色~~白色'],
],
],
],
],
'description' => '',
],
],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10000**-630292***'],
'ItemId' => ['title' => 'IC商品ID', 'description' => 'IC商品ID', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
'ItemTitle' => ['title' => '商品名称', 'description' => '商品名称', 'type' => 'string', 'example' => '夏季***百搭小白鞋'],
'MainPicUrl' => ['title' => '主图', 'description' => '主图', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
'FirstPicUrl' => ['title' => 'itemDO.commonItemImageList第一张', 'description' => 'itemDO.commonItemImageList第一张', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n"],
'ItemImages' => [
'title' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
'description' => '商品图片URL,最多5张,一般是Detail上轮播,从itemDO.commonItemImageList属性转换而来。对应EPP的silders',
'type' => 'array',
'items' => ['type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'."\n", 'description' => ''],
],
'DescPath' => ['title' => '商品详情介绍-图片介绍,URL', 'description' => '商品详情介绍-图片介绍,URL', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'],
'DescOption' => ['title' => '商品详情介绍-图片介绍信息', 'description' => '商品详情介绍-图片介绍信息', 'type' => 'string', 'example' => '<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>'],
'MinPrice' => ['title' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'description' => '商品最低价格(分)。如果只有一个SKU,则直接为SKU上的销售价(减掉积分抵扣后),一般用在Detail页面,没有选择Sku时,显示的SKU里的最低价(减掉积分抵扣后)', 'type' => 'integer', 'format' => 'int64', 'example' => '3900'],
'ReservePrice' => ['title' => '商品原价,可用于显示划线价', 'description' => '商品原价,可用于显示划线价', 'type' => 'integer', 'format' => 'int64', 'example' => '3900'],
'Quantity' => ['title' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'description' => '商品库存,如果只有一个SKU,则直接是SKU上的库存。如果商品有配送区域库存,且查询接口里指定了配送区域,则返回的是对应区域库存', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
'SimpleQuantity' => ['title' => '模糊化库存', 'description' => '模糊化库存', 'type' => 'string', 'example' => '有货'."\n"
.'无货'."\n"
.'库存紧张'],
'HasQuantity' => ['title' => '是否有库存,返回的是库存状态,有或者没有', 'description' => '是否有库存,返回的是库存状态,有或者没有', 'type' => 'boolean'],
'CategoryId' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '50011****'],
'CategoryIds' => [
'title' => '类目ID,父类目在前,子类目在后',
'description' => '类目ID,父类目在前,子类目在后',
'type' => 'array',
'items' => ['type' => 'integer', 'format' => 'int64', 'example' => '205879***', 'description' => ''],
],
'Prov' => ['title' => '商品所在城市:如杭州', 'description' => '商品所在城市:如杭州', 'type' => 'string', 'example' => '浙江'],
'City' => ['title' => '商品所在省份:如浙江', 'description' => '商品所在省份:如浙江', 'type' => 'string', 'example' => '杭州'],
'Properties' => [
'title' => '产品属性,产品参数,供Detail页面显示使用,从itemDO.itemProperties转换而来',
'description' => '产品属性,产品参数,供Detail页面显示使用',
'type' => 'object',
'additionalProperties' => [
'type' => 'array',
'items' => ['type' => 'string', 'example' => '颜色分类~~白色'."\n"
.'款式~~圆头', 'description' => '属性值'],
'description' => '属性集合',
],
],
'Features' => [
'title' => '产品特征,从itemDO.Features转换而来',
'description' => '产品特征',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => '[{\'Enable\': False, \'Name\': \'CLEANUP_SHADOW_IF_FAILED\'}, {\'Enable\': False, \'Name\': \'CLEANUP_RESTORE_SERVER_IF_FAILED\'}, {\'Enable\': True, \'Name\': \'AUTO_ENLARGE_ADD_DISK\'}]', 'description' => '产品特征'],
],
'IforestProps' => [
'title' => '宝石路属性,关键属性,供Detail页面显示使用,从itemDO.itemProperties转换而来',
'description' => '宝石路属性,关键属性,供Detail页面显示使用',
'type' => 'array',
'items' => [
'description' => '属性对象',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '属性值', 'example' => '颜色分类~~白色'."\n"
.'款式~~圆头'],
],
],
'SellerPayPostfee' => ['title' => '是否包邮', 'description' => '是否包邮', 'type' => 'boolean', 'example' => 'true'],
'CanSell' => ['title' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'description' => '是否可销售,目前追要判断了商品的状态是否正常,同时库存要求大于0;', 'type' => 'boolean', 'example' => 'true'],
'LmItemCategory' => [
'title' => '商品在linkedmall平台的类型',
'description' => '商品在linkedmall平台的类型',
'type' => 'string',
'enumValueTitles' => ['aliComBenifit' => '虚拟商品', 'entity' => '实物商品'],
'example' => 'entity',
],
'CustomizedAttributeMap' => [
'title' => '客户自定义属性',
'description' => '客户自定义属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'LmItemAttributeMap' => [
'title' => 'Linkedmall 平台商品属性',
'description' => 'Linkedmall 平台商品属性',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => ''],
],
'Current' => ['title' => '当前时间', 'description' => '当前时间', 'type' => 'string', 'example' => '2020-01-01 00:00:00'],
'VirtualItemType' => [
'title' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
'description' => '虚拟商品类型,该字段为枚举类型,值为cardRoll(卡券)、rechageableCard(充值卡)、fuelCard(油卡)',
'type' => 'string',
'enumValueTitles' => ['fuelCard' => '油卡', 'cardRoll' => '卡券', 'rechageableCard' => '充值卡'],
'example' => 'cardRoll',
],
'UserType' => [
'title' => '卖家类型:可以用于区分商品类型,null或是0-集市卖家,1-天猫卖家,2-1688卖家,4-后端商家,8-1688云电商卖家',
'description' => '卖家类型:可以用于区分商品类型,null或是0-集市卖家,1-天猫卖家,2-1688卖家,4-后端商家,8-1688云电商卖家',
'type' => 'integer',
'format' => 'int32',
'enumValueTitles' => ['集市卖家', '天猫卖家', '1688卖家', 4 => '后端商家', 6 => '1688云电商卖家'],
'example' => '1',
],
'SecuredTransactions' => [
'title' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
'description' => '是否开通担保交易 0 未开通,1 已开通,2 未设置, 3 审核中, 4 开通失败',
'type' => 'integer',
'format' => 'int32',
'enumValueTitles' => ['未开通', '已开通', '未设置', '审核中', '开通失败'],
'example' => '1',
],
'ThirdPartyItemId' => ['title' => '外部商品id (来自第三方的商品)', 'description' => '外部商品id (来自第三方的商品)', 'type' => 'string', 'example' => '44042249****'."\n"],
'ThirdPartyName' => ['title' => '商品来源 (标记第三方商品的来源)', 'description' => '商品来源 (标记第三方商品的来源)', 'type' => 'string', 'example' => '三方商品来源'],
'VideoUrl' => ['title' => '视频url', 'description' => '视频url', 'type' => 'string', 'example' => 'video/edf8d848fa80b1cac055c94652******.mp4'],
'VideoPicUrl' => ['title' => '视频封面url', 'description' => '视频封面url', 'type' => 'string', 'example' => 'pic/edf8d848fa80b1cac055c94652*****.jpg'],
'CanNotBeSoldCode' => ['title' => '不可售code 可售时为null', 'description' => '不可售code 可售时为null', 'type' => 'string', 'example' => 'NULL'],
'CanNotBeSoldMassage' => ['title' => '不可售Massage 可售时为null', 'description' => '不可售Massage 可售时为null', 'type' => 'string', 'example' => 'NULL'],
'ItemTotalValue' => ['title' => '总量库存值', 'description' => '总量库存值', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'],
'ItemTotalSimpleValue' => ['description' => '商品库存', 'type' => 'string', 'example' => '有货'],
'InvoiceType' => [
'title' => '发票类型,见 com.aliyun.linkedmall.itemservice.client.enums.BasicItemInvoiceTypeEnum',
'description' => '发票类型',
'type' => 'integer',
'format' => 'int32',
'enumValueTitles' => ['不提供发票', '增值税专用发票', '增值税普通发票'],
'example' => '1',
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"BA157565-3358-5D80-9330-************\\",\\n \\"SubCode\\": \\"201\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 19,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"Success\\",\\n \\"Model\\": {\\n \\"DistributionMallId\\": \\"122889******114694\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"401e6c8****39b05797ac841907ca\\",\\n \\"ExtJson\\": \\"{\\\\\\\\\\\\\\"outShopId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3163****7\\\\\\\\\\\\\\"}\\",\\n \\"LmItemId\\": \\"10026053-67222490****\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": -1,\\n \\"SkuPvs\\": \\"1627207:28320;5919063:6536025;12304035:75366283;122216431:27772\\",\\n \\"SkuPicUrl\\": \\"img/12344***.jpg\\",\\n \\"SkuTitle\\": \\"*****罐头\\",\\n \\"Quantity\\": -1,\\n \\"SimpleQuantity\\": \\"有货、无货、库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"ReservePrice\\": 788,\\n \\"PriceCent\\": 3990,\\n \\"SupplierPrice\\": 9900,\\n \\"Status\\": 1,\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n },\\n \\"LmSkuAttributeMap\\": {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n },\\n \\"CanNotBeSoldCode\\": \\"NULL\\",\\n \\"CanNotBeSoldMassage\\": \\"NULL\\",\\n \\"InvoiceType\\": 0\\n }\\n ],\\n \\"SkuPropertys\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"162720***\\",\\n \\"Values\\": [\\n {\\n \\"Id\\": 0,\\n \\"Text\\": \\"颜色~~白色\\"\\n }\\n ]\\n }\\n ],\\n \\"LmItemId\\": \\"10000**-630292***\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"夏季***百搭小白鞋\\",\\n \\"MainPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"FirstPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\",\\n \\"ItemImages\\": [\\n \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\\\n\\"\\n ],\\n \\"DescPath\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"DescOption\\": \\"<img>pic/edf8d848fa80b1cac055c94652*****.jpg</img>\\",\\n \\"MinPrice\\": 3900,\\n \\"ReservePrice\\": 3900,\\n \\"Quantity\\": -1,\\n \\"SimpleQuantity\\": \\"有货\\\\n无货\\\\n库存紧张\\",\\n \\"HasQuantity\\": true,\\n \\"CategoryId\\": 0,\\n \\"CategoryIds\\": [\\n 0\\n ],\\n \\"Prov\\": \\"浙江\\",\\n \\"City\\": \\"杭州\\",\\n \\"Properties\\": {\\n \\"key\\": [\\n \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n ]\\n },\\n \\"Features\\": {\\n \\"key\\": \\"[{\'Enable\': False, \'Name\': \'CLEANUP_SHADOW_IF_FAILED\'}, {\'Enable\': False, \'Name\': \'CLEANUP_RESTORE_SERVER_IF_FAILED\'}, {\'Enable\': True, \'Name\': \'AUTO_ENLARGE_ADD_DISK\'}]\\"\\n },\\n \\"IforestProps\\": [\\n {\\n \\"key\\": \\"颜色分类~~白色\\\\n款式~~圆头\\"\\n }\\n ],\\n \\"SellerPayPostfee\\": true,\\n \\"CanSell\\": true,\\n \\"LmItemCategory\\": \\"entity\\",\\n \\"CustomizedAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"LmItemAttributeMap\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"Current\\": \\"2020-01-01 00:00:00\\",\\n \\"VirtualItemType\\": \\"cardRoll\\",\\n \\"UserType\\": 1,\\n \\"SecuredTransactions\\": 1,\\n \\"ThirdPartyItemId\\": \\"44042249****\\\\n\\",\\n \\"ThirdPartyName\\": \\"三方商品来源\\",\\n \\"VideoUrl\\": \\"video/edf8d848fa80b1cac055c94652******.mp4\\",\\n \\"VideoPicUrl\\": \\"pic/edf8d848fa80b1cac055c94652*****.jpg\\",\\n \\"CanNotBeSoldCode\\": \\"NULL\\",\\n \\"CanNotBeSoldMassage\\": \\"NULL\\",\\n \\"ItemTotalValue\\": -1,\\n \\"ItemTotalSimpleValue\\": \\"有货\\",\\n \\"InvoiceType\\": 1\\n }\\n}","type":"json"}]',
'title' => '查询商品详情接口(支持区域库存)',
'description' => '本接口用在查询商品在某区域下是否可售、是否有库存的场景。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryItemDetailWithDivision',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryItemGuideRetailPrice' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '122889******114694'],
],
[
'name' => 'LmItemIds',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '商品id',
'description' => '商品id集合',
'type' => 'array',
'items' => ['description' => '商品id', 'type' => 'string', 'required' => false, 'example' => '[\\"10000***-65975997****\\"]'],
'required' => false,
],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<List<DistributionItemPriceDetailModel>>',
'description' => 'PopResponse<List<DistributionItemPriceDetailModel>>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
'description' => '商品信息',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '19e690e*****07a29c8'],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '1000****-630292****'],
'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '65******0310'],
'ItemTitle' => ['title' => '商品标题', 'description' => '商品标题', 'type' => 'string', 'example' => '****酸菜'],
'ReservedPrice' => ['title' => '商品划线价、原价', 'description' => '商品划线价、原价', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'],
'ReservedPriceScope' => ['title' => '商品划线价、原价范围', 'description' => '商品划线价、原价范围', 'type' => 'string', 'example' => '1000~2000'],
'GuideRetailPriceScope' => ['title' => '建议零售价范围', 'description' => '建议零售价范围', 'type' => 'string', 'example' => '1000~2000'],
'SkuModels' => [
'title' => '商品规格',
'description' => '商品规格',
'type' => 'array',
'items' => [
'description' => '商品规格信息',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['title' => '分销商城ID', 'description' => '分销商城ID', 'type' => 'string', 'example' => '39cc1****5c7211005187c'],
'LmItemId' => ['title' => 'LM商品ID', 'description' => 'LM商品ID', 'type' => 'string', 'example' => '10***642-6831****869'],
'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '6487****621'],
'SkuId' => ['title' => '规格ID', 'description' => '规格ID', 'type' => 'integer', 'format' => 'int64', 'example' => '488****548894'],
'SkuTitle' => ['title' => '规格标题', 'description' => '规格标题', 'type' => 'string', 'example' => '美味****原味2盒'],
'ReservedPrice' => ['title' => '商品划线价、原价', 'description' => '商品划线价、原价', 'type' => 'integer', 'format' => 'int64', 'example' => '8000'],
'GuideRetailPrice' => ['title' => '建议零售价', 'description' => '建议零售价', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
'PriceCent' => ['title' => '当前售价', 'description' => '当前售价', 'type' => 'integer', 'format' => 'int64', 'example' => '7960'],
'Status' => [
'title' => '状态:1:商品可售卖',
'description' => '状态:1:商品可售卖',
'type' => 'integer',
'format' => 'int32',
'enumValueTitles' => [1 => '商品可售', '商品不可售'],
'example' => '1',
],
'LowGuideRetailPrice' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
],
],
],
'LowGuideRetailPriceScope' => ['type' => 'string', 'description' => ''],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"E090F1A0-7454-5F36-933C-E6332CE2****\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DistributionMallId\\": \\"19e690e*****07a29c8\\",\\n \\"LmItemId\\": \\"1000****-630292****\\",\\n \\"ItemId\\": 0,\\n \\"ItemTitle\\": \\"****酸菜\\",\\n \\"ReservedPrice\\": 2000,\\n \\"ReservedPriceScope\\": \\"1000~2000\\",\\n \\"GuideRetailPriceScope\\": \\"1000~2000\\",\\n \\"SkuModels\\": [\\n {\\n \\"DistributionMallId\\": \\"39cc1****5c7211005187c\\",\\n \\"LmItemId\\": \\"10***642-6831****869\\",\\n \\"ItemId\\": 0,\\n \\"SkuId\\": 0,\\n \\"SkuTitle\\": \\"美味****原味2盒\\",\\n \\"ReservedPrice\\": 8000,\\n \\"GuideRetailPrice\\": 7960,\\n \\"PriceCent\\": 7960,\\n \\"Status\\": 1,\\n \\"LowGuideRetailPrice\\": 0\\n }\\n ],\\n \\"LowGuideRetailPriceScope\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '商品建议售价查询接口',
'summary' => '商品建议售价查询接口。',
'description' => '查询指定商品的建议售价。',
'requestParamsDescription' => '查询指定商品的建议售价,一次查询商品建议不超过20个。',
'changeSet' => [
['createdAt' => '2022-12-08T10:11:47.000Z', 'description' => '响应参数发生变更'],
],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryItemGuideRetailPrice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryLogistics4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'RequestId',
'in' => 'formData',
'schema' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'required' => false, 'example' => 'E090F1A0-7454-5F36-933C-E6332CE2****'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'MainDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false, 'example' => '123498124'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<List<DataItem>>',
'description' => 'PopResponse<List<DataItem>>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'A7BE4356-7F92-533E-A31B-2EBF2D67****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'DataProvider' => ['description' => '数据来源:如:菜鸟裹裹', 'type' => 'string', 'example' => '菜鸟裹裹'],
'DataProviderTitle' => ['description' => '数据来源说明,如:本数据由菜⻦裹裹提供', 'type' => 'string', 'example' => '本数据由菜鸟裹裹提供'],
'Goods' => [
'description' => '货物信息列表',
'type' => 'array',
'items' => [
'description' => '货物信息',
'type' => 'object',
'properties' => [
'GoodName' => ['description' => '货物名字,不保证有,⼀个主单只有⼀个商品可能没有该值,物流未获取物流'."\n"
.'公司物流号之前也没有该值', 'type' => 'string', 'example' => '货物名称'],
'ItemId' => ['type' => 'string', 'description' => ''],
'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'SkuId' => ['type' => 'string', 'description' => ''],
],
],
],
'LogisticsCompanyCode' => ['description' => '本单物流公司code', 'type' => 'string', 'example' => 'SF'],
'LogisticsCompanyName' => ['description' => '本单物流公司名称', 'type' => 'string', 'example' => '顺丰'],
'LogisticsDetailList' => [
'description' => '物流信息列表',
'type' => 'array',
'items' => [
'description' => '物流信息',
'type' => 'object',
'properties' => [
'OcurrTimeStr' => ['description' => '发生时间', 'type' => 'string', 'example' => '2022-02-21 08:23:21'],
'StanderdDesc' => ['description' => '物流信息', 'type' => 'string', 'example' => '""'],
],
],
],
'MailNo' => ['description' => '运单号', 'type' => 'string', 'example' => 'SF124142********'],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"A7BE4356-7F92-533E-A31B-2EBF2D67****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 5,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"DataProvider\\": \\"菜鸟裹裹\\",\\n \\"DataProviderTitle\\": \\"本数据由菜鸟裹裹提供\\",\\n \\"Goods\\": [\\n {\\n \\"GoodName\\": \\"货物名称\\",\\n \\"ItemId\\": \\"\\",\\n \\"Quantity\\": 1,\\n \\"SkuId\\": \\"\\"\\n }\\n ],\\n \\"LogisticsCompanyCode\\": \\"SF\\",\\n \\"LogisticsCompanyName\\": \\"顺丰\\",\\n \\"LogisticsDetailList\\": [\\n {\\n \\"OcurrTimeStr\\": \\"2022-02-21 08:23:21\\",\\n \\"StanderdDesc\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"MailNo\\": \\"SF124142********\\"\\n }\\n ]\\n}","type":"json"}]',
'title' => '分销采购订单物流查询',
'summary' => '分销订单物流查询。',
'description' => '分销订单物流查询',
'changeSet' => [
['createdAt' => '2023-09-12T10:13:52.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryLogistics4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryLogistics4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryMallCategoryList' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商id', 'description' => '分销商id', 'type' => 'string', 'required' => false, 'example' => '75547******9212928'],
],
[
'name' => 'DistributionMallId',
'in' => 'formData',
'schema' => ['title' => '分销商商城id', 'description' => '分销商商城id', 'type' => 'string', 'required' => false, 'example' => '122889******114694'],
],
[
'name' => 'CategoryId',
'in' => 'formData',
'schema' => ['title' => '类目ID', 'description' => '类目ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '5001****'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '18******263'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<List<DistributionCategoryModel>>',
'description' => '响应数据',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号', 'type' => 'string', 'example' => '7152F15C-7298-5531-9A76-2ED2C331****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '商品类目信息',
'type' => 'array',
'items' => [
'description' => '商品类目信息',
'type' => 'object',
'properties' => [
'CategoryId' => ['title' => '后台类目ID', 'description' => '后台类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '5001****'],
'Name' => ['title' => '类目名称', 'description' => '类目名称', 'type' => 'string', 'example' => '***电子产品'],
'ParentId' => ['title' => '父类目ID', 'description' => '父类目ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1041577**'],
'Leaf' => ['title' => '是否是叶子类目', 'description' => '是否是叶子类目', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"7152F15C-7298-5531-9A76-2ED2C331****\\",\\n \\"SubCode\\": \\"SUCCESS\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CategoryId\\": 0,\\n \\"Name\\": \\"***电子产品\\",\\n \\"ParentId\\": 0,\\n \\"Leaf\\": true\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询商品类目信息',
'summary' => '商品类目查询接口。',
'description' => '该接口使用在查询分销商城商品类目信息场景。',
'requestParamsDescription' => '当传入类目ID为0时,表示查询一级类目;当传入类目ID非0时,返回当前类目的下级类目列表。',
'changeSet' => [],
'flowControl' => [
'flowControlList' => [],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryMallCategoryList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryOrderDetail4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'MainDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '主分销订单号', 'description' => '主分销订单号', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<DistributionOrderInfo>',
'description' => 'PopResponse<DistributionOrderInfo>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => 'BA157565-3358-5D80-9330-************'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => 'SUCCESS'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'CreateDate' => ['description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string'],
'DistributorId' => ['description' => '分销商ID', 'type' => 'string'],
'LogisticsStatus' => ['description' => '物流状态(由于此字段为定时从主站同步的,会存在延迟,最⻓可能⼏天才同步)', 'type' => 'string'],
'DistributionOrderId' => ['description' => '分销订单号', 'type' => 'string'],
'OrderAmount' => ['description' => '订单总金额', 'type' => 'string'],
'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'string', 'example' => '6'],
'SubOrderList' => [
'description' => '分销子订单列表',
'type' => 'array',
'items' => [
'description' => '分销子订单',
'type' => 'object',
'properties' => [
'ItemPic' => ['description' => '商品图片', 'type' => 'string'],
'ItemPrice' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FundAmountMoney' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'description' => '',
],
'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '芝麻小饼'],
'ItemId' => ['type' => 'string', 'description' => ''],
'Number' => ['description' => '下单数量', 'type' => 'string', 'example' => '1'],
'OrderStatus' => ['description' => '订单状态', 'type' => 'string', 'example' => '6'],
'LogisticsStatus' => ['type' => 'string', 'description' => ''],
'SkuId' => ['description' => '商品SkuId', 'type' => 'string', 'example' => '4771634532960'],
'SkuName' => ['description' => '下单的商品sku显示的名称', 'type' => 'string', 'example' => '500g'],
'SubDistributionOrderId' => ['description' => '子分销订单号', 'type' => 'string'],
'MainDistributionOrderId' => ['description' => '主分销订单号', 'type' => 'string'],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"BA157565-3358-5D80-9330-************\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 10,\\n \\"Success\\": true,\\n \\"Code\\": \\"SUCCESS\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"CreateDate\\": \\"\\",\\n \\"DistributorId\\": \\"\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"DistributionOrderId\\": \\"\\",\\n \\"OrderAmount\\": \\"\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"SubOrderList\\": [\\n {\\n \\"ItemPic\\": \\"\\",\\n \\"ItemPrice\\": [\\n {\\n \\"FundAmountMoney\\": \\"\\"\\n }\\n ],\\n \\"ItemTitle\\": \\"芝麻小饼\\",\\n \\"ItemId\\": \\"\\",\\n \\"Number\\": \\"1\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"SkuId\\": \\"4771634532960\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"MainDistributionOrderId\\": \\"\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
'title' => '查询分销采购订单详情',
'summary' => '查询分销订单详情。',
'description' => '查询分销订单详情',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderDetail4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryOrderDetail4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryOrderList4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'FilterOption',
'in' => 'formData',
'schema' => ['title' => '订单过滤条件', 'description' => '订单过滤条件', 'type' => 'string', 'required' => false],
],
[
'name' => 'PageNumber',
'in' => 'formData',
'schema' => ['title' => '页码', 'description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'formData',
'schema' => ['title' => '每页行数', 'description' => '每页行数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<List<DistributionOrderInfo>>',
'description' => 'PopResponse<List<DistributionOrderInfo>>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1267088B-4695-50DC-97B9-9E4F89D1****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'array',
'items' => [
'description' => '返回结果',
'type' => 'object',
'properties' => [
'CreateDate' => ['description' => '下单时间,格式化(yyyy-MM-dd HH:mm:ss)', 'type' => 'string'],
'DistributorId' => ['description' => '分销商ID', 'type' => 'string'],
'LogisticsStatus' => ['description' => '物流状态', 'type' => 'string'],
'DistributionOrderId' => ['description' => '分销订单号', 'type' => 'string'],
'OrderAmount' => ['description' => '订单总金额', 'type' => 'string'],
'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'string', 'example' => '6'],
'SubOrderList' => [
'description' => '子分销订单列表',
'type' => 'array',
'items' => [
'description' => '子分销订单',
'type' => 'object',
'properties' => [
'ItemPic' => ['description' => '商品图片', 'type' => 'string'],
'ItemPrice' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'FundAmountMoney' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'description' => '',
],
'ItemTitle' => ['description' => '商品名称', 'type' => 'string', 'example' => '冰鲜去皮鸭颈'],
'ItemId' => ['type' => 'string', 'description' => ''],
'Number' => ['description' => '下单数量', 'type' => 'string', 'example' => '1'],
'OrderStatus' => ['description' => '订单状态,6=交易成功', 'type' => 'string', 'example' => '6'],
'LogisticsStatus' => ['type' => 'string', 'description' => ''],
'SkuId' => ['description' => '商品的SkuId', 'type' => 'string', 'example' => '4961467806350'],
'SkuName' => ['description' => '下单的商品sku显示的名称', 'type' => 'string', 'example' => '500g'],
'SubDistributionOrderId' => ['description' => '子分销订单编号', 'type' => 'string'],
'MainDistributionOrderId' => ['description' => '主分销订单编号', 'type' => 'string'],
],
],
],
],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"\\",\\n \\"RequestId\\": \\"1267088B-4695-50DC-97B9-9E4F89D1****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"1004\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 16,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": [\\n {\\n \\"CreateDate\\": \\"\\",\\n \\"DistributorId\\": \\"\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"DistributionOrderId\\": \\"\\",\\n \\"OrderAmount\\": \\"\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"SubOrderList\\": [\\n {\\n \\"ItemPic\\": \\"\\",\\n \\"ItemPrice\\": [\\n {\\n \\"FundAmountMoney\\": \\"\\"\\n }\\n ],\\n \\"ItemTitle\\": \\"冰鲜去皮鸭颈\\",\\n \\"ItemId\\": \\"\\",\\n \\"Number\\": \\"1\\",\\n \\"OrderStatus\\": \\"6\\",\\n \\"LogisticsStatus\\": \\"\\",\\n \\"SkuId\\": \\"4961467806350\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SubDistributionOrderId\\": \\"\\",\\n \\"MainDistributionOrderId\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询分销采购订单列表',
'summary' => '查询分销订单列表。',
'description' => '查询分销订单列表',
'requestParamsDescription' => '```'."\n"
.'{'."\n"
.' "orderStatus":"12=待支付,2=已支付,4=已退款关闭,6=交易成功,8=被淘宝关闭 ",'."\n"
.' "logisticsStatus":" 1=未发货 -> 等待卖家发货 2=已发货 -> 等待买家确认收货 3=已收货 -> 交易成功 4=已经退货 -> 交易失败 5=部分收货 -> 交易成功 6=部分发货中 8=还未创建物流订单",'."\n"
.' "orderList":["主分销订单列表"], //订单号数量上限20个'."\n"
.' "filter": "createTime>12323 AND createTime<45454" //过滤条件,目前只支持创单时间, 传单时间的值为unix时间戳, 支持<,>,>=,<=, !=,=, AND,OR'."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderList4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryOrderList4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'QueryRefundApplicationDetail4Distribution' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<RefundApplicationDetail>',
'description' => 'PopResponse<RefundApplicationDetail>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '64ACF32E-5B78-5DDD-89D0-ACFA0B4BFF38'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'ApplyDisputeDesc' => ['description' => '当前买家申请退款说明', 'type' => 'string', 'example' => '拍多不想要'],
'ApplyReason' => [
'type' => 'object',
'properties' => [
'ReasonTextId' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'ReasonTips' => ['type' => 'string', 'description' => ''],
],
'description' => '',
],
'BizClaimType' => ['description' => '退款类型。1 仅退款, 3 退货退款', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeCreateTime' => ['description' => '逆向发起时间', 'type' => 'string'],
'DisputeDesc' => ['description' => '申请逆向描述', 'type' => 'string'],
'DisputeEndTime' => ['description' => '逆向结束时间', 'type' => 'string'],
'DisputeId' => ['description' => '纠纷ID,通过查询订单逆向申请详情接⼝获取', 'type' => 'integer', 'format' => 'int64', 'example' => '155816643598654055'],
'DisputeStatus' => ['description' => '逆向退款的状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'DisputeType' => ['description' => '逆向发生的类型', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'DistributionOrderId' => ['description' => '对应主分销订单号', 'type' => 'string', 'example' => '123498124'],
'RefundFeeData' => [
'type' => 'object',
'properties' => [
'MaxRefundFee' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
'MinRefundFee' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
],
'description' => '',
],
'OrderLogisticsStatus' => ['description' => ' 当前的订单的物流状态,1,标识未发货', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'RealRefundFee' => ['description' => '实际买家收到的⾦额', 'type' => 'integer', 'format' => 'int64', 'example' => '2900'],
'RefundFee' => ['description' => '退款⾦额(含退平台补贴的⾦额)', 'type' => 'integer', 'format' => 'int64', 'example' => '2900'],
'RefunderAddress' => ['description' => '商家退货地址,卖家同意退货后才会显示', 'type' => 'string'],
'RefunderName' => ['description' => '退货收货人,卖家同意退货后才会显示', 'type' => 'string'],
'RefunderTel' => ['description' => '退货联系方式,卖家同意退货后才会显示', 'type' => 'string'],
'RefunderZipCode' => ['description' => '退货地址邮编,卖家同意退货后才会显示', 'type' => 'string'],
'ReturnGoodCount' => ['description' => '退货数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'ReturnGoodLogisticsStatus' => ['description' => '退货物流状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'SellerAgreeMsg' => ['description' => '卖家同意退货说明,真实的退货地址会在这个字段进⾏返回', 'type' => 'string', 'example' => '同意退款'],
'SellerRefuseAgreementMessage' => ['description' => '卖家拒绝的留⾔说明', 'type' => 'string', 'example' => '商品没问题,买家举证无效'],
'SellerRefuseReason' => ['description' => '卖家拒绝原因', 'type' => 'string', 'example' => '商品没问题,买家举证无效'],
'SubDistributionOrderId' => ['description' => '子分销订单号', 'type' => 'string', 'example' => '12131234'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"64ACF32E-5B78-5DDD-89D0-ACFA0B4BFF38\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\",\\n \\"Model\\": {\\n \\"ApplyDisputeDesc\\": \\"拍多不想要\\",\\n \\"ApplyReason\\": {\\n \\"ReasonTextId\\": 0,\\n \\"ReasonTips\\": \\"\\"\\n },\\n \\"BizClaimType\\": 1,\\n \\"DisputeCreateTime\\": \\"\\",\\n \\"DisputeDesc\\": \\"\\",\\n \\"DisputeEndTime\\": \\"\\",\\n \\"DisputeId\\": 155816643598654050,\\n \\"DisputeStatus\\": 1,\\n \\"DisputeType\\": 0,\\n \\"DistributionOrderId\\": \\"123498124\\",\\n \\"RefundFeeData\\": {\\n \\"MaxRefundFee\\": 0,\\n \\"MinRefundFee\\": 0\\n },\\n \\"OrderLogisticsStatus\\": 1,\\n \\"RealRefundFee\\": 2900,\\n \\"RefundFee\\": 2900,\\n \\"RefunderAddress\\": \\"\\",\\n \\"RefunderName\\": \\"\\",\\n \\"RefunderTel\\": \\"\\",\\n \\"RefunderZipCode\\": \\"\\",\\n \\"ReturnGoodCount\\": 1,\\n \\"ReturnGoodLogisticsStatus\\": 1,\\n \\"SellerAgreeMsg\\": \\"同意退款\\",\\n \\"SellerRefuseAgreementMessage\\": \\"商品没问题,买家举证无效\\",\\n \\"SellerRefuseReason\\": \\"商品没问题,买家举证无效\\",\\n \\"SubDistributionOrderId\\": \\"12131234\\"\\n }\\n}","type":"json"}]',
'title' => '查询分销采购订单退款申请',
'summary' => '基于子分销订单号查询逆向申请的详情。',
'description' => '基于子分销订单号查询逆向申请的详情。'."\n"
."\n"
.'注意:一般申请退款成功之后通过此接口确认逆向的状态(disputeStatus)以及纠纷id(disputeId)等 '."\n"
.'特别说明:退货信息请优先参考sellerAgreeMsg字段,如果该字段为空、null、或者不包含退货地址、手机号等信息时,再参考refunderAddress、refunderName、refunderTel等字段 ',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRefundApplicationDetail4Distribution'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryRefundApplicationDetail4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'RenderDistributionOrder' => [
'methods' => ['post'],
'schemes' => ['https', 'http'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => [],
'parameters' => [
[
'name' => 'ItemInfoLists',
'in' => 'formData',
'style' => 'json',
'schema' => [
'title' => '商品信息',
'description' => '商品信息',
'type' => 'array',
'items' => [
'description' => '商品信息',
'type' => 'object',
'properties' => [
'DistributionMallId' => ['description' => '分销商城的ID', 'type' => 'string', 'required' => false, 'example' => '465879694***e84794d70934'],
'LmItemId' => ['description' => 'LM侧商品Id', 'type' => 'string', 'required' => false, 'example' => '100***31-324***311'],
'Quantity' => ['description' => '下单数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
'SkuId' => ['description' => '商品SkuId', 'type' => 'string', 'required' => false, 'example' => '4354***213'],
],
'required' => false,
],
'required' => false,
],
],
[
'name' => 'DeliveryAddress',
'in' => 'formData',
'schema' => ['title' => '收货地址', 'description' => '收货地址', 'type' => 'string', 'required' => false, 'example' => '{\\"addressDetail\\":\\"湖南省**市**区**街道**7栋\\",\\"divisionCode\\":\\"43***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"430***08\\"}'],
],
[
'name' => 'ExtInfo',
'in' => 'formData',
'schema' => ['title' => '扩展信息', 'description' => '扩展信息', 'type' => 'string', 'required' => false, 'example' => '{}'],
],
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false, 'example' => '761***123'],
],
[
'name' => 'DistributionSupplierId',
'in' => 'formData',
'schema' => ['title' => '渠道供应商ID', 'description' => '渠道供应商ID', 'type' => 'string', 'required' => false, 'example' => '668***3234'],
],
[
'name' => 'BuyerId',
'in' => 'formData',
'schema' => ['title' => '分销真实买家ID', 'description' => '分销真实买家ID', 'type' => 'string', 'required' => false, 'example' => 'u***01'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false, 'example' => '213***123'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<DistributionRenderOrderResponse>',
'description' => 'PopResponse<List<RenderOrderInfosItem>>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '1267088B-4695-5****7B9-9E4F89D1'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '200'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => '""'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => '""'],
'Model' => [
'title' => '请求结果数据',
'description' => '请求结果数据',
'type' => 'object',
'properties' => [
'RenderOrderInfos' => [
'description' => '渲染订单信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemInfos' => [
'description' => '商品详情',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemId' => ['description' => '商品id', 'type' => 'string', 'example' => '100***31-324***311'],
'ItemName' => ['description' => '商品名', 'type' => 'string', 'example' => '**饼干'],
'SkuName' => ['description' => '规格名', 'type' => 'string', 'example' => '500g'],
'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***313'],
'DistributionMallId' => ['description' => '分销商城id', 'type' => 'string', 'example' => '465879694***e84794d70934'],
'DistributionSupplierId' => ['description' => '渠道供应商id', 'type' => 'string', 'example' => '653***557'],
'DistributorId' => ['description' => '分销商id', 'type' => 'string', 'example' => '761***123'],
'PromotionFee' => ['description' => '促销费', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Quantity' => ['description' => '库存', 'type' => 'integer', 'format' => 'int32', 'example' => '99'],
'ItemUrl' => ['description' => '商品链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'ItemPicUrl' => ['description' => '商品图片链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'Price' => ['description' => '商品价格', 'type' => 'integer', 'format' => 'int64', 'example' => '99'],
'CanSell' => ['description' => '商品是否可售', 'type' => 'boolean', 'example' => 'true'],
'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string', 'example' => '""'],
'ItemPromInstVOS' => [
'description' => '商品权益信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***35-582***661'],
'SkuIds' => [
'description' => '规格ID',
'type' => 'array',
'items' => ['description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '343***432'],
],
'AvailableItems' => [
'description' => '可用商品列表',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '582***661'],
'LmItemId' => ['description' => 'Lm侧商品id', 'type' => 'string', 'example' => '100***35-582***661'],
'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '343***432'],
'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100***35'],
'TbSellerId' => ['description' => '淘宝卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***433'],
'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '100'],
'Removed' => ['description' => '是否被移除', 'type' => 'boolean', 'example' => 'false'],
],
],
],
'TbSellerId' => ['description' => '淘宝卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '213***433'],
'InstanceId' => ['description' => '优惠实例id', 'type' => 'string', 'example' => '""'],
'PromotionName' => ['description' => '促销名', 'type' => 'string', 'example' => '""'],
'PromotionType' => ['description' => '促销类型', 'type' => 'string', 'example' => '""'],
'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1659612158'],
'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'false'],
'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'false'],
'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
'SubBizCode' => ['description' => 'subBizCode', 'type' => 'string', 'example' => '""'],
],
],
],
'Features' => [
'description' => '特征',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => '""', 'description' => '""'],
],
'ReservePrice' => ['description' => '保留价格', 'type' => 'integer', 'format' => 'int64', 'example' => '""'],
],
],
],
'DeliveryInfos' => [
'description' => '配送信息列表',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'Id' => ['description' => '配送方式ID', 'type' => 'string', 'example' => '10'],
'DisplayName' => ['description' => '邮费前端展示文字', 'type' => 'string', 'example' => '包邮'],
'PostFee' => ['description' => '邮费单位分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ServiceType' => ['description' => '配送方式类型', 'type' => 'integer', 'format' => 'int64', 'example' => '-4'],
],
],
],
'InvoiceInfo' => [
'description' => '发票信息',
'type' => 'object',
'properties' => [
'Type' => ['description' => '类型', 'type' => 'string', 'example' => '""'],
'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '""'],
],
],
'ExtInfo' => [
'description' => '拓展信息',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '""', 'example' => '""'],
],
'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'true'],
'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
'ShopPromInstVOS' => [
'description' => '店铺权益信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***42-568***99'],
'SkuIds' => [
'description' => '商品规格id',
'type' => 'array',
'items' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '324***42'],
],
'AvailableItems' => [
'description' => '可用的商品列表'."\n"
."\n",
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '668***630'],
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***88-52***337'],
'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '502***91'],
'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100***88'],
'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '32***32'],
'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'Removed' => ['description' => '是否移除', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '2131***345'],
'InstanceId' => ['description' => '优惠实例id', 'type' => 'string', 'example' => '""'],
'PromotionName' => ['description' => '促销名称', 'type' => 'string', 'example' => '""'],
'PromotionType' => ['description' => '促销类型', 'type' => 'string', 'example' => '""'],
'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'false'],
'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'false'],
'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
'SubBizCode' => ['description' => 'subBizCode', 'type' => 'string', 'example' => '""'],
],
],
],
],
],
],
'UnsellableRenderOrderInfos' => [
'description' => '不可售商品列表',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemInfos' => [
'description' => '商品列表',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemId' => ['description' => '商品id', 'type' => 'string', 'example' => '651***245'],
'ItemName' => ['description' => '商品名称', 'type' => 'string', 'example' => '饼干'],
'SkuName' => ['description' => '规格名称', 'type' => 'string', 'example' => '500g'],
'SkuId' => ['description' => '商品规格ID', 'type' => 'integer', 'format' => 'int64', 'example' => '213***345'],
'DistributionMallId' => ['description' => '分销商城id', 'type' => 'string', 'example' => '34fds***32423'],
'DistributionSupplierId' => ['description' => '渠道供应商id', 'type' => 'string', 'example' => '3242***32455'],
'DistributorId' => ['description' => '分销商id', 'type' => 'string', 'example' => '3245***3243'],
'PromotionFee' => ['description' => '促销价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Quantity' => ['description' => '库存', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'ItemUrl' => ['description' => '商品链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'ItemPicUrl' => ['description' => '商品图片链接地址', 'type' => 'string', 'example' => 'https://aliyundoc.com'],
'Price' => ['description' => '价格', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'false'],
'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
'VirtualItemType' => ['description' => '虚拟商品类型', 'type' => 'string', 'example' => '""'],
'ItemPromInstVOS' => [
'description' => '商品权益信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***87-644***2078'],
'SkuIds' => [
'description' => '规格ID',
'type' => 'array',
'items' => ['description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '23432***3242'],
],
'AvailableItems' => [
'description' => '可用商品列表',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '644***2078'],
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100***87-644***2078'],
'SkuId' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '32432**324'],
'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100***87'],
'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '32432***4334'],
'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'Removed' => ['description' => '是否可移除', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '322***231'],
'InstanceId' => ['description' => '优惠实例id'."\n", 'type' => 'string', 'example' => '""'],
'PromotionName' => ['description' => '促销名称', 'type' => 'string', 'example' => '""'],
'PromotionType' => ['description' => '促销类型', 'type' => 'string', 'example' => '""'],
'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'false'],
'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'false'],
'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
'SubBizCode' => ['description' => 'SubBizCode', 'type' => 'string', 'example' => '""'],
],
],
],
'Features' => [
'description' => '特征',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '-', 'example' => '""'],
],
'ReservePrice' => ['description' => '保留价格', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
],
],
],
'DeliveryInfos' => [
'description' => '配送信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'Id' => ['description' => '配送方式ID', 'type' => 'string', 'example' => '4'],
'DisplayName' => ['description' => '邮费前端展示文字', 'type' => 'string', 'example' => '包邮'],
'PostFee' => ['description' => '邮费单位分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ServiceType' => ['description' => '配送方式类型', 'type' => 'integer', 'format' => 'int64', 'example' => '-4'],
],
],
],
'InvoiceInfo' => [
'description' => '发票信息',
'type' => 'object',
'properties' => [
'Type' => ['description' => '类型', 'type' => 'string', 'example' => '""'],
'Desc' => ['description' => '描述', 'type' => 'string', 'example' => '""'],
],
],
'ExtInfo' => [
'description' => '拓展信息',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'example' => '""', 'description' => 'xxx'],
],
'CanSell' => ['description' => '是否可售', 'type' => 'boolean', 'example' => 'false'],
'Message' => ['description' => '商品备注,例如不可售时的原因', 'type' => 'string', 'example' => '""'],
'ShopPromInstVOS' => [
'description' => '店铺权益信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100**75-2342***213'],
'SkuIds' => [
'description' => '商品规格',
'type' => 'array',
'items' => ['description' => '商品规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '213**231'],
],
'AvailableItems' => [
'description' => '可用的商品列表',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'ItemId' => ['description' => '商品id', 'type' => 'integer', 'format' => 'int64', 'example' => '2342***213'],
'LmItemId' => ['description' => 'lm商品id', 'type' => 'string', 'example' => '100**75-2342***213'],
'SkuId' => ['description' => '规格id', 'type' => 'integer', 'format' => 'int64', 'example' => '2131***344'],
'LmShopId' => ['description' => 'lm店铺id', 'type' => 'integer', 'format' => 'int64', 'example' => '100**75'],
'TbSellerId' => ['description' => 'tb卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '123***343'],
'Number' => ['description' => '数量', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
'PriceCent' => ['description' => '供货价', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'Points' => ['description' => '积分', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'PointsAmount' => ['description' => '积分金额', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UserPayFee' => ['description' => '用户支付金额', 'type' => 'integer', 'format' => 'int64', 'example' => '200'],
'Removed' => ['description' => '是否可移除', 'type' => 'boolean', 'example' => 'true'],
],
],
],
'TbSellerId' => ['description' => '淘宝卖家id', 'type' => 'integer', 'format' => 'int64', 'example' => '2132***321'],
'InstanceId' => ['description' => '优惠实例id', 'type' => 'string', 'example' => '""'],
'PromotionName' => ['description' => '促销名称', 'type' => 'string', 'example' => '""'],
'PromotionType' => ['description' => '促销方式', 'type' => 'string', 'example' => '""'],
'Level' => ['description' => '等级', 'type' => 'string', 'example' => '""'],
'DiscountPrice' => ['description' => '折扣价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'ThresholdPrice' => ['description' => '门槛价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'SpecialPrice' => ['description' => '特价', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
'UseStartTime' => ['description' => '使用开始时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
'ExpireTime' => ['description' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '2021-12-11 21:22:11'],
'Selected' => ['description' => '是否可选', 'type' => 'boolean', 'example' => 'true'],
'CanUse' => ['description' => '是否可用', 'type' => 'boolean', 'example' => 'true'],
'Reason' => ['description' => '原因', 'type' => 'string', 'example' => '""'],
'SubBizCode' => ['description' => 'SubBizCode'."\n", 'type' => 'string', 'example' => '""xxx'],
],
],
],
],
],
],
'AddressInfos' => [
'description' => '收货地址信息',
'type' => 'array',
'items' => [
'description' => '-',
'type' => 'object',
'properties' => [
'AddressId' => ['description' => '返回的地址区划码', 'type' => 'integer', 'format' => 'int64', 'example' => '1223**3432'],
'Receiver' => ['description' => '收货人', 'type' => 'string', 'example' => '陈**'],
'ReceiverPhone' => ['description' => '手机号', 'type' => 'string', 'example' => '182***344'],
'AddressDetail' => ['description' => '详细地址', 'type' => 'string', 'example' => '{\\"addressDetail\\":\\"湖*省**市**区**街道**7栋\\",\\"divisionCode\\":\\"4***03\\",\\"fullName\\":\\"欧**\\",\\"mobile\\":\\"1557***502\\",\\"townDivisionCode\\":\\"43***08\\"}'],
'DivisionCode' => ['description' => '区划码', 'type' => 'string', 'example' => '43***03'],
'TownDivisionCode' => ['description' => '乡镇区划码', 'type' => 'string', 'example' => '430***008'],
'IsDefault' => ['description' => '是否正常', 'type' => 'boolean', 'example' => 'false'],
],
],
],
'ExtInfo' => [
'description' => '拓展信息',
'type' => 'object',
'additionalProperties' => ['type' => 'string', 'description' => '-', 'example' => '""'],
],
'CanSell' => ['description' => '商品是否可售', 'type' => 'boolean', 'example' => 'true'],
'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '""'],
],
],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"1267088B-4695-5****7B9-9E4F89D1\\",\\n \\"SubCode\\": \\"200\\",\\n \\"SubMessage\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 1,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Model\\": {\\n \\"RenderOrderInfos\\": [\\n {\\n \\"ItemInfos\\": [\\n {\\n \\"ItemId\\": \\"100***31-324***311\\",\\n \\"ItemName\\": \\"**饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": 0,\\n \\"DistributionMallId\\": \\"465879694***e84794d70934\\",\\n \\"DistributionSupplierId\\": \\"653***557\\",\\n \\"DistributorId\\": \\"761***123\\",\\n \\"PromotionFee\\": 0,\\n \\"Quantity\\": 99,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"Price\\": 99,\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***35-582***661\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 2,\\n \\"PriceCent\\": 100,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 100,\\n \\"Removed\\": false\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 1659612158,\\n \\"ExpireTime\\": 1659612158,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ReservePrice\\": 0\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"10\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***42-568***99\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***88-52***337\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 200,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ]\\n }\\n ],\\n \\"UnsellableRenderOrderInfos\\": [\\n {\\n \\"ItemInfos\\": [\\n {\\n \\"ItemId\\": \\"651***245\\",\\n \\"ItemName\\": \\"饼干\\",\\n \\"SkuName\\": \\"500g\\",\\n \\"SkuId\\": 0,\\n \\"DistributionMallId\\": \\"34fds***32423\\",\\n \\"DistributionSupplierId\\": \\"3242***32455\\",\\n \\"DistributorId\\": \\"3245***3243\\",\\n \\"PromotionFee\\": 0,\\n \\"Quantity\\": 10,\\n \\"ItemUrl\\": \\"https://aliyundoc.com\\",\\n \\"ItemPicUrl\\": \\"https://aliyundoc.com\\",\\n \\"Price\\": 200,\\n \\"CanSell\\": false,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"VirtualItemType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ItemPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100***87-644***2078\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 1,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 0,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": false,\\n \\"CanUse\\": false,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n ],\\n \\"Features\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ReservePrice\\": 0\\n }\\n ],\\n \\"DeliveryInfos\\": [\\n {\\n \\"Id\\": \\"4\\",\\n \\"DisplayName\\": \\"包邮\\",\\n \\"PostFee\\": 0,\\n \\"ServiceType\\": -4\\n }\\n ],\\n \\"InvoiceInfo\\": {\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Desc\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": false,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"ShopPromInstVOS\\": [\\n {\\n \\"LmItemId\\": \\"100**75-2342***213\\",\\n \\"SkuIds\\": [\\n 0\\n ],\\n \\"AvailableItems\\": [\\n {\\n \\"ItemId\\": 0,\\n \\"LmItemId\\": \\"100**75-2342***213\\",\\n \\"SkuId\\": 0,\\n \\"LmShopId\\": 0,\\n \\"TbSellerId\\": 0,\\n \\"Number\\": 0,\\n \\"PriceCent\\": 200,\\n \\"Points\\": 0,\\n \\"PointsAmount\\": 0,\\n \\"UserPayFee\\": 200,\\n \\"Removed\\": true\\n }\\n ],\\n \\"TbSellerId\\": 0,\\n \\"InstanceId\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionName\\": \\"\\\\\\"\\\\\\"\\",\\n \\"PromotionType\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Level\\": \\"\\\\\\"\\\\\\"\\",\\n \\"DiscountPrice\\": 0,\\n \\"ThresholdPrice\\": 0,\\n \\"SpecialPrice\\": 0,\\n \\"UseStartTime\\": 0,\\n \\"ExpireTime\\": 0,\\n \\"Selected\\": true,\\n \\"CanUse\\": true,\\n \\"Reason\\": \\"\\\\\\"\\\\\\"\\",\\n \\"SubBizCode\\": \\"\\\\\\"\\\\\\"xxx\\"\\n }\\n ]\\n }\\n ],\\n \\"AddressInfos\\": [\\n {\\n \\"AddressId\\": 0,\\n \\"Receiver\\": \\"陈**\\",\\n \\"ReceiverPhone\\": \\"182***344\\",\\n \\"AddressDetail\\": \\"{\\\\\\\\\\\\\\"addressDetail\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"湖*省**市**区**街道**7栋\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"divisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"4***03\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"fullName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"欧**\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"mobile\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1557***502\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"townDivisionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"43***08\\\\\\\\\\\\\\"}\\",\\n \\"DivisionCode\\": \\"43***03\\",\\n \\"TownDivisionCode\\": \\"430***008\\",\\n \\"IsDefault\\": false\\n }\\n ],\\n \\"ExtInfo\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"CanSell\\": true,\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RenderDistributionOrderResponse>\\n <LogsId>1</LogsId>\\n <RequestId>1267088B-4695-5****7B9-9E4F89D1</RequestId>\\n <SubCode>200</SubCode>\\n <SubMessage>\\"\\"</SubMessage>\\n <PageSize>1</PageSize>\\n <PageNumber>1</PageNumber>\\n <TotalCount>1</TotalCount>\\n <Success>true</Success>\\n <Code>0000</Code>\\n <Message>\\"\\"</Message>\\n <Model>\\n <RenderOrderInfos>\\n <ItemInfos>\\n <ItemId>100***31-324***311</ItemId>\\n <ItemName>**饼干</ItemName>\\n <SkuName>500g</SkuName>\\n <DistributionMallId>465879694***e84794d70934</DistributionMallId>\\n <DistributionSupplierId>653***557</DistributionSupplierId>\\n <DistributorId>761***123</DistributorId>\\n <PromotionFee>0</PromotionFee>\\n <Quantity>99</Quantity>\\n <ItemUrl>https://aliyundoc.com</ItemUrl>\\n <ItemPicUrl>https://aliyundoc.com</ItemPicUrl>\\n <Price>99</Price>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n <VirtualItemType>\\"\\"</VirtualItemType>\\n <ItemPromInstVOS>\\n <LmItemId>100***35-582***661</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***35-582***661</LmItemId>\\n <Number>2</Number>\\n <PriceCent>100</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>100</UserPayFee>\\n <Removed>false</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <UseStartTime>1659612158</UseStartTime>\\n <ExpireTime>1659612158</ExpireTime>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ItemPromInstVOS>\\n <Features>\\n <key>\\"\\"</key>\\n </Features>\\n </ItemInfos>\\n <DeliveryInfos>\\n <Id>10</Id>\\n <DisplayName>包邮</DisplayName>\\n <PostFee>0</PostFee>\\n <ServiceType>-4</ServiceType>\\n </DeliveryInfos>\\n <InvoiceInfo>\\n <Type>\\"\\"</Type>\\n <Desc>\\"\\"</Desc>\\n </InvoiceInfo>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n <ShopPromInstVOS>\\n <LmItemId>100***42-568***99</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***88-52***337</LmItemId>\\n <Number>1</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>200</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <UseStartTime>0</UseStartTime>\\n <ExpireTime>0</ExpireTime>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ShopPromInstVOS>\\n </RenderOrderInfos>\\n <UnsellableRenderOrderInfos>\\n <ItemInfos>\\n <ItemId>651***245</ItemId>\\n <ItemName>饼干</ItemName>\\n <SkuName>500g</SkuName>\\n <DistributionMallId>34fds***32423</DistributionMallId>\\n <DistributionSupplierId>3242***32455</DistributionSupplierId>\\n <DistributorId>3245***3243</DistributorId>\\n <PromotionFee>0</PromotionFee>\\n <Quantity>10</Quantity>\\n <ItemUrl>https://aliyundoc.com</ItemUrl>\\n <ItemPicUrl>https://aliyundoc.com</ItemPicUrl>\\n <Price>200</Price>\\n <CanSell>false</CanSell>\\n <Message>\\"\\"</Message>\\n <VirtualItemType>\\"\\"</VirtualItemType>\\n <ItemPromInstVOS>\\n <LmItemId>100***87-644***2078</LmItemId>\\n <AvailableItems>\\n <LmItemId>100***87-644***2078</LmItemId>\\n <Number>1</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>0</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <Selected>false</Selected>\\n <CanUse>false</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"</SubBizCode>\\n </ItemPromInstVOS>\\n <Features>\\n <key>\\"\\"</key>\\n </Features>\\n <ReservePrice>0</ReservePrice>\\n </ItemInfos>\\n <DeliveryInfos>\\n <Id>4</Id>\\n <DisplayName>包邮</DisplayName>\\n <PostFee>0</PostFee>\\n <ServiceType>-4</ServiceType>\\n </DeliveryInfos>\\n <InvoiceInfo>\\n <Type>\\"\\"</Type>\\n <Desc>\\"\\"</Desc>\\n </InvoiceInfo>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>false</CanSell>\\n <Message>\\"\\"</Message>\\n <ShopPromInstVOS>\\n <LmItemId>100**75-2342***213</LmItemId>\\n <AvailableItems>\\n <LmItemId>100**75-2342***213</LmItemId>\\n <Number>0</Number>\\n <PriceCent>200</PriceCent>\\n <Points>0</Points>\\n <PointsAmount>0</PointsAmount>\\n <UserPayFee>200</UserPayFee>\\n <Removed>true</Removed>\\n </AvailableItems>\\n <InstanceId>\\"\\"</InstanceId>\\n <PromotionName>\\"\\"</PromotionName>\\n <PromotionType>\\"\\"</PromotionType>\\n <Level>\\"\\"</Level>\\n <DiscountPrice>0</DiscountPrice>\\n <ThresholdPrice>0</ThresholdPrice>\\n <SpecialPrice>0</SpecialPrice>\\n <Selected>true</Selected>\\n <CanUse>true</CanUse>\\n <Reason>\\"\\"</Reason>\\n <SubBizCode>\\"\\"xxx</SubBizCode>\\n </ShopPromInstVOS>\\n </UnsellableRenderOrderInfos>\\n <AddressInfos>\\n <Receiver>陈**</Receiver>\\n <ReceiverPhone>182***344</ReceiverPhone>\\n <AddressDetail>{\\\\\\"addressDetail\\\\\\":\\\\\\"湖*省**市**区**街道**7栋\\\\\\",\\\\\\"divisionCode\\\\\\":\\\\\\"4***03\\\\\\",\\\\\\"fullName\\\\\\":\\\\\\"欧**\\\\\\",\\\\\\"mobile\\\\\\":\\\\\\"1557***502\\\\\\",\\\\\\"townDivisionCode\\\\\\":\\\\\\"43***08\\\\\\"}</AddressDetail>\\n <DivisionCode>43***03</DivisionCode>\\n <TownDivisionCode>430***008</TownDivisionCode>\\n <IsDefault>false</IsDefault>\\n </AddressInfos>\\n <ExtInfo>\\n <key>\\"\\"</key>\\n </ExtInfo>\\n <CanSell>true</CanSell>\\n <Message>\\"\\"</Message>\\n </Model>\\n</RenderDistributionOrderResponse>","errorExample":""}]',
'title' => '分销采购订单渲染',
'summary' => '分销订单渲染。',
'description' => '分销订单渲染',
'requestParamsDescription' => '```'."\n"
.'{ '."\n"
.' "divisionCode": "区/县的4级divisionCode(街道/镇的上一级地址)", //该字段通过queryChildDivisionCodeById接口获取'."\n"
.' "townDivisionCode":"街道/镇的5级divisionCode", //该字段通过queryChildDivisionCodeById接口获取'."\n"
.' "fullName": "收货人姓名", '."\n"
.' "mobile": "收货人电话", '."\n"
.' "addressDetail": "收货人地址" '."\n"
.'}'."\n"
.'```',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenderDistributionOrder'],
],
],
'ramActions' => [
[
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:renderDistributionOrder',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
'SubmitReturnGoodLogistics4Distribution' => [
'methods' => ['post'],
'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'systemTags' => ['operationType' => 'none'],
'parameters' => [
[
'name' => 'DistributorId',
'in' => 'formData',
'schema' => ['title' => '分销商ID', 'description' => '分销商ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'SubDistributionOrderId',
'in' => 'formData',
'schema' => ['title' => '子分销订单ID', 'description' => '子分销订单ID', 'type' => 'string', 'required' => false],
],
[
'name' => 'DisputeId',
'in' => 'formData',
'schema' => ['title' => '纠纷ID', 'description' => '纠纷ID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '14244******33071'],
],
[
'name' => 'LogisticsNo',
'in' => 'formData',
'schema' => ['title' => '物流单号', 'description' => '物流单号', 'type' => 'string', 'required' => false, 'example' => ' SF131*****7061'],
],
[
'name' => 'CpCode',
'in' => 'formData',
'schema' => ['title' => '公司代码', 'description' => '公司代码', 'type' => 'string', 'required' => false, 'example' => 'SF'],
],
[
'name' => 'TenantId',
'in' => 'formData',
'schema' => ['title' => '租户Id', 'description' => '租户Id', 'type' => 'string', 'required' => false],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'PopResponse<Void>',
'description' => 'PopResponse<Void>',
'type' => 'object',
'properties' => [
'LogsId' => ['title' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'description' => '每次请求操作对应的操作日志号,由系统自动生成,返回给租户,可用于排查问题,双方日志中统一透出此标识', 'type' => 'string', 'example' => '1'],
'RequestId' => ['title' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'description' => 'POP请求流水号,建议租户日志中也输出此流水号,双方排查问题方便', 'type' => 'string', 'example' => '79C01D47-3C44-57D9-BC99-1B33F7ED****'],
'SubCode' => ['title' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'description' => '错误子代码。一般用于显示业务类的错误代码,一般建议关注此类错误', 'type' => 'string', 'example' => '1004'],
'SubMessage' => ['title' => '业务处理相关的错误信息,一般建议关注此类错误', 'description' => '业务处理相关的错误信息,一般建议关注此类错误', 'type' => 'string', 'example' => 'SUCCESS'],
'PageSize' => ['title' => 'pageSize', 'description' => 'pageSize', 'type' => 'integer', 'format' => 'int64', 'example' => '20'],
'PageNumber' => ['title' => '当前页', 'description' => '当前页', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int64', 'example' => '16'],
'Success' => ['title' => '本次执行的结果成功与否', 'description' => '本次执行的结果成功与否', 'type' => 'boolean', 'example' => 'true'],
'Code' => ['title' => '返回的执行结果码, 正确为字符串 0000', 'description' => '返回的执行结果码, 正确为字符串 0000', 'type' => 'string', 'example' => '0000'],
'Message' => ['title' => '错误消息', 'description' => '错误消息', 'type' => 'string', 'example' => 'SUCCESS'],
],
],
],
],
'errorCodes' => [
400 => [
['errorCode' => 'InvalidTag.Mismatch', 'errorMessage' => 'The specified Tag.n.Key and Tag.n.Value are not match.', 'description' => ''],
['errorCode' => 'InvalidTagCount', 'errorMessage' => 'The specified tags are beyond the permitted range.', 'description' => ''],
],
404 => [
['errorCode' => 'InvalidInstanceChargeType.NotFound', 'errorMessage' => 'The InstanceChargeType does not exist in our records', 'description' => ''],
['errorCode' => 'InvalidInternetChargeType.ValueNotSupported', 'errorMessage' => 'The specified InternetChargeType is not valid', 'description' => ''],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LogsId\\": \\"1\\",\\n \\"RequestId\\": \\"79C01D47-3C44-57D9-BC99-1B33F7ED****\\",\\n \\"SubCode\\": \\"1004\\",\\n \\"SubMessage\\": \\"SUCCESS\\",\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 16,\\n \\"Success\\": true,\\n \\"Code\\": \\"0000\\",\\n \\"Message\\": \\"SUCCESS\\"\\n}","type":"json"}]',
'title' => ' 提交分销采购订单退货物流信息',
'summary' => '如果提交了退货申请,通过该接口提交退货的物流信息。',
'description' => '注意: '."\n"
.'1.只有在卖家同意退款(通过queryRefundApplicationDetail4DistributionOrder接口查询到disputeStatus为2时)且需要退回货物时,才能调此接口 '."\n"
.'2.DisputeId字段需要通过查询订单逆向申请详情(queryRefundApplicationDetail4DistributionOrder)接口获取',
'changeSet' => [
['createdAt' => '2022-05-31T03:21:40.000Z', 'description' => 'OpenAPI 下线'],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitReturnGoodLogistics4Distribution'],
],
],
'ramActions' => [
[
'operationType' => 'none',
'ramAction' => [
'action' => 'linkedmall:submitReturnGoodLogistics4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
],
],
'endpoints' => [
['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''],
['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'linkedmall-distributor.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'linkedmall-distributor-vpc.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'endpoint' => 'linkedmall.cn-hangzhou.aliyuncs.com', 'vpc' => 'linkedmall.vpc-proxy.aliyuncs.com'],
['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'linkedmall.aliyuncs.com', 'endpoint' => 'linkedmall.aliyuncs.com', 'vpc' => ''],
],
'errorCodes' => [
['code' => 'ApplyReasonTextIdInvalid', 'message' => '无效的退款原因id', 'http_code' => 400, 'description' => '无效的退款原因id'],
['code' => 'AuthCompanyNotFind', 'message' => 'AK对应的主体不存在', 'http_code' => 404, 'description' => 'AK对应的主体不存在'],
['code' => 'CpCodeInvalid', 'message' => '无法识别的快递公司代号 {}', 'http_code' => 400, 'description' => '无法识别的快递公司代号'],
['code' => 'DisputeInSelleFundOnlyCanReturnAll', 'message' => '售中只能全部退', 'http_code' => 400, 'description' => '售中只能全部退'],
['code' => 'DisputePolicyInvalid', 'message' => '无效的退款类型', 'http_code' => 400, 'description' => '无效的退款类型'],
['code' => 'GoodStatusInvalid', 'message' => '无效的货品状态', 'http_code' => 400, 'description' => '无效的货品状态'],
['code' => 'HasNoPrivilege', 'message' => 'NoPrivilege.', 'http_code' => 403, 'description' => '没有权限'],
['code' => 'linkedmall.errorcode.InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '未知原因导致请求失败.'],
['code' => 'MissingParameter', 'message' => 'You must specify the parameter.', 'http_code' => 500, 'description' => '缺少参数'],
['code' => 'MissingParameter', 'message' => 'Required parameter \'{}\' is not found.', 'http_code' => 400, 'description' => '参数缺失'],
['code' => 'OnlyRefundAndReturnCanSubmitShipping', 'message' => '只有退货退款才能提交退货物流信息', 'http_code' => 400, 'description' => '只有退货退款才能提交退货物流信息'],
['code' => 'OrderForbidden', 'message' => '{} 订单无访问权限', 'http_code' => 403, 'description' => '订单无访问权限'],
['code' => 'OrderLineForbidden', 'message' => '{} 子订单无访问权限', 'http_code' => 403, 'description' => '子订单无访问权限'],
['code' => 'OrderLineNotFound', 'message' => '{} 子订单不存在', 'http_code' => 404, 'description' => '子订单不存在'],
['code' => 'OrderNotFound', 'message' => '订单不存在', 'http_code' => 404, 'description' => '主订单不存在'],
['code' => 'OuterPurchaseOrderIdExist', 'message' => '{} 外部采购单已经存在', 'http_code' => 500, 'description' => '外部采购单已经存在'],
['code' => 'ParameterInvalid', 'message' => 'parameter {} invalid', 'http_code' => 400, 'description' => '参数格式错误'],
['code' => 'PurchaseOrderForbidden', 'message' => '采购单不存在或无访问权限', 'http_code' => 403, 'description' => '采购单不存在或无访问权限'],
['code' => 'PurchaseOrderIdOrOrderIdInvalid', 'message' => '分销交易号或者主订单号不正确', 'http_code' => 400, 'description' => '分销交易号或者主订单号不正确'],
['code' => 'PurchaseOrderNotFound', 'message' => '{} 采购单不存在', 'http_code' => 400, 'description' => '采购单不存在'],
['code' => 'RefundAmountMustLessThanOrder', 'message' => '退款金额不能大于订单金额', 'http_code' => 400, 'description' => '退款金额不能大于订单金额'],
['code' => 'RefundNotFound', 'message' => '退款单不存在', 'http_code' => 400, 'description' => '退款单不存在'],
['code' => 'RefundNumberMustLessThanOrder', 'message' => '退款数量不能大于订单数量', 'http_code' => 400, 'description' => '退款数量不能大于订单数量'],
['code' => 'SavePurchaseOrderError', 'message' => '保存采购单失败', 'http_code' => 500, 'description' => '保存采购单失败'],
['code' => 'ShopForbidden', 'message' => '{} 店铺无访问权限', 'http_code' => 403, 'description' => '店铺无访问权限'],
['code' => 'ShopIdUnique', 'message' => '存在多个不同的shopId', 'http_code' => 404, 'description' => '存在多个不同的shopId'],
['code' => 'ShopNotFind', 'message' => '{} 店铺不存在', 'http_code' => 404, 'description' => '店铺不存在'],
['code' => 'ShopTypeInvalid', 'message' => 'skuId:{} 是经销集采的店铺商品无法下单', 'http_code' => 400, 'description' => '经销集采店铺的商品无法下单'],
['code' => 'SkuNotFind', 'message' => '{} sku不存在', 'http_code' => 404, 'description' => 'sku不存在'],
['code' => 'SkuPriceUnique', 'message' => 'skuId:{} sku价格不是最新的', 'http_code' => 400, 'description' => 'sku价格不是最新的'],
],
'changeSet' => [
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryLogistics4Distribution'],
],
'createdAt' => '2023-09-12T10:14:00.000Z',
'description' => '',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ApplyCreateDistributionOrder'],
],
'createdAt' => '2023-06-06T11:51:13.000Z',
'description' => '',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'ListDistributionItem'],
],
'createdAt' => '2022-12-30T12:19:56.000Z',
'description' => '分销商品列表接口更新,支持返回商家税率税码信息。',
],
[
'apis' => [
['description' => '响应参数发生变更', 'api' => 'QueryItemGuideRetailPrice'],
],
'createdAt' => '2022-12-08T09:52:05.000Z',
'description' => '商品建议售价接口增加最低建议售价字段',
],
[
'apis' => [
['description' => '请求参数发生变更', 'api' => 'ApplyCreateDistributionOrder'],
],
'createdAt' => '2022-11-29T10:08:47.000Z',
'description' => '分销交易支持指定外部单号',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListDistributionItem'],
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryItemDetail'],
],
'createdAt' => '2022-09-23T10:56:18.000Z',
'description' => '商品接口、商品列表接口调整',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'QueryDistributionMall'],
],
'createdAt' => '2022-07-21T09:11:52.000Z',
'description' => '分销业务商详接口和分销商城接口变更',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'QueryChildDivisionCodeById'],
],
'createdAt' => '2022-07-21T01:58:27.000Z',
'description' => '添加区域码查询接口',
],
[
'apis' => [
['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListDistributionMall'],
],
'createdAt' => '2022-07-19T03:02:52.000Z',
'description' => '分销商入驻对接接口发布',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'ListDistributionItem'],
['description' => 'OpenAPI 下线', 'api' => 'QueryItemDetail'],
],
'createdAt' => '2022-05-31T09:47:54.000Z',
'description' => '分销相关接口上线',
],
[
'apis' => [
['description' => 'OpenAPI 下线', 'api' => 'AddDistributionItem'],
['description' => 'OpenAPI 下线', 'api' => 'ApplyCreateDistributionOrder'],
['description' => 'OpenAPI 下线', 'api' => 'ApplyDistributionMall'],
['description' => 'OpenAPI 下线', 'api' => 'ApplyDistributor'],
['description' => 'OpenAPI 下线', 'api' => 'ApplyRefund4Distribution'],
['description' => 'OpenAPI 下线', 'api' => 'CancelDistributionTrade'],
['description' => 'OpenAPI 下线', 'api' => 'CancelRefund4Distribution'],
['description' => 'OpenAPI 下线', 'api' => 'ChangeDistributorSubjectInfo'],
['description' => 'OpenAPI 下线', 'api' => 'ConfirmDisburse4Distribution'],
['description' => 'OpenAPI 下线', 'api' => 'CreateDistribution'],
],
'createdAt' => '2022-05-31T08:03:08.000Z',
'description' => '项目初始化,提供基本的分销功能。',
],
],
'flowControl' => [
'flowControlList' => [
['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'],
['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderList4Distribution'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenderDistributionOrder'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyRefund4Distribution'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitApplyRefund4Distribution'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionBillDetail'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryOrderDetail4Distribution'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelDistributionTrade'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SubmitReturnGoodLogistics4Distribution'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'InitModifyRefund4Distribution'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CancelRefund4Distribution'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConfirmDisburse4Distribution'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryDistributionTradeStatus'],
['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyRefund4Distribution'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRefundApplicationDetail4Distribution'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApplyCreateDistributionOrder'],
['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryLogistics4Distribution'],
['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDistributionItem'],
],
],
'ram' => [
'productCode' => 'Linkedmall',
'productName' => '企业商城 LinkedMall',
'ramCodes' => ['linkedmall', 'neuron'],
'ramLevel' => '操作级',
'ramConditions' => [],
'ramActions' => [
[
'apiName' => 'InitApplyRefund4Distribution',
'description' => '分销采购订单退款申请初始化',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:initApplyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryOrderList4Distribution',
'description' => '查询分销采购订单列表',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryOrderList4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryMallCategoryList',
'description' => '查询商品类目信息',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryMallCategoryList',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ModifyRefund4Distribution',
'description' => '分销采购订单退款申请修改',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:modifyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDistributionItem',
'description' => '查询商品列表',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:listDistributionItem',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryDistributionBillDetail',
'description' => '账单明细查询',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:getDistributionBillByDistributor',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ApplyCreateDistributionOrder',
'description' => '提交分销采购订单创建请求',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:applyCreateDistributionOrder',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryItemDetailWithDivision',
'description' => '查询商品详情接口(支持区域库存)',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryItemDetailWithDivision',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'InitModifyRefund4Distribution',
'description' => '分销采购订单退款申请修改初始化',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:initModifyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryRefundApplicationDetail4Distribution',
'description' => '查询分销采购订单退款申请',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryRefundApplicationDetail4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ApplyRefund4Distribution',
'description' => '分销采购订单退款申请',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:applyRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'RenderDistributionOrder',
'description' => '分销采购订单渲染',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:renderDistributionOrder',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDistributionMall',
'description' => '分销商城列表查询',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:listDistributionMall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryDistributionMall',
'description' => '分销商城查询',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryDistributionMall',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryOrderDetail4Distribution',
'description' => '查询分销采购订单详情',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryOrderDetail4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ListDistributionItemWithoutCache',
'description' => '',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:listDistributionItemWithoutCache',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'ConfirmDisburse4Distribution',
'description' => ' 分销采购订单确认收货',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:confirmDisburse4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryChildDivisionCodeById',
'description' => '',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryChildDivisionCodeById',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelRefund4Distribution',
'description' => '取消分销采购订单退款申请',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:cancelRefund4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryItemDetail',
'description' => '查询商品详情接口',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryItemDetail',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryDistributionTradeStatus',
'description' => '查询分销交易状态',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryDistributionTradeStatus',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'SubmitReturnGoodLogistics4Distribution',
'description' => ' 提交分销采购订单退货物流信息',
'operationType' => 'none',
'ramAction' => [
'action' => 'linkedmall:submitReturnGoodLogistics4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryLogistics4Distribution',
'description' => '分销采购订单物流查询',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryLogistics4Distribution',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'QueryItemGuideRetailPrice',
'description' => '商品建议售价查询接口',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:queryItemGuideRetailPrice',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
[
'apiName' => 'CancelDistributionTrade',
'description' => '',
'operationType' => '',
'ramAction' => [
'action' => 'linkedmall:cancelDistributionTrade',
'authLevel' => 'operate',
'actionConditions' => [],
'resources' => [
['validationType' => 'always', 'product' => 'Linkedmall', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
'resourceTypes' => [],
],
];
|