@orchesty/connector-upgates 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +4 -1
- package/package.json +4 -1
- package/CHANGELOG.md +0 -7
- package/coverage/clover.xml +0 -302
- package/coverage/coverage-final.json +0 -11
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -161
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov-report/src/Batch/UpgatesCreateWebhooks.ts.html +0 -358
- package/coverage/lcov-report/src/Batch/UpgatesGetOrders.ts.html +0 -727
- package/coverage/lcov-report/src/Batch/UpgatesGetProducts.ts.html +0 -733
- package/coverage/lcov-report/src/Batch/index.html +0 -146
- package/coverage/lcov-report/src/Connector/UpgatesDeleteWebhooks.ts.html +0 -370
- package/coverage/lcov-report/src/Connector/UpgatesGetOrderStates.ts.html +0 -190
- package/coverage/lcov-report/src/Connector/UpgatesGetPayments.ts.html +0 -268
- package/coverage/lcov-report/src/Connector/UpgatesGetProductParameters.ts.html +0 -316
- package/coverage/lcov-report/src/Connector/UpgatesGetShipments.ts.html +0 -274
- package/coverage/lcov-report/src/Connector/index.html +0 -176
- package/coverage/lcov-report/src/UpgatesApplication.ts.html +0 -379
- package/coverage/lcov-report/src/index.html +0 -116
- package/coverage/lcov-report/test/dataProvider.ts.html +0 -223
- package/coverage/lcov-report/test/index.html +0 -116
- package/coverage/lcov.info +0 -485
- package/jest.config.js +0 -13
- package/src/Batch/UpgatesCreateWebhooks.ts +0 -91
- package/src/Batch/UpgatesGetOrders.ts +0 -214
- package/src/Batch/UpgatesGetProducts.ts +0 -216
- package/src/Batch/__tests__/Data/UpgatesCreateWebhooks/input.json +0 -6
- package/src/Batch/__tests__/Data/UpgatesCreateWebhooks/mock.json +0 -14
- package/src/Batch/__tests__/Data/UpgatesCreateWebhooks/output.json +0 -6
- package/src/Batch/__tests__/Data/UpgatesGetOrders/input.json +0 -6
- package/src/Batch/__tests__/Data/UpgatesGetOrders/lastRun-input.json +0 -6
- package/src/Batch/__tests__/Data/UpgatesGetOrders/lastRun-mock.json +0 -191
- package/src/Batch/__tests__/Data/UpgatesGetOrders/lastRun-output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetOrders/mock.json +0 -191
- package/src/Batch/__tests__/Data/UpgatesGetOrders/orderNumber-input.json +0 -8
- package/src/Batch/__tests__/Data/UpgatesGetOrders/orderNumber-mock.json +0 -191
- package/src/Batch/__tests__/Data/UpgatesGetOrders/orderNumber-output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetOrders/orderNumbers-input.json +0 -8
- package/src/Batch/__tests__/Data/UpgatesGetOrders/orderNumbers-mock.json +0 -191
- package/src/Batch/__tests__/Data/UpgatesGetOrders/orderNumbers-output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetOrders/output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetProducts/input.json +0 -6
- package/src/Batch/__tests__/Data/UpgatesGetProducts/lastRun-input.json +0 -6
- package/src/Batch/__tests__/Data/UpgatesGetProducts/lastRun-mock.json +0 -147
- package/src/Batch/__tests__/Data/UpgatesGetProducts/lastRun-output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetProducts/mock.json +0 -146
- package/src/Batch/__tests__/Data/UpgatesGetProducts/output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetProducts/productId-input.json +0 -8
- package/src/Batch/__tests__/Data/UpgatesGetProducts/productId-mock.json +0 -146
- package/src/Batch/__tests__/Data/UpgatesGetProducts/productId-output.json +0 -11
- package/src/Batch/__tests__/Data/UpgatesGetProducts/productIds-input.json +0 -8
- package/src/Batch/__tests__/Data/UpgatesGetProducts/productIds-mock.json +0 -146
- package/src/Batch/__tests__/Data/UpgatesGetProducts/productIds-output.json +0 -11
- package/src/Batch/__tests__/UpgatesCreateWebhooks.ts +0 -17
- package/src/Batch/__tests__/UpgatesGetOrders.ts +0 -33
- package/src/Batch/__tests__/UpgatesGetProducts.ts +0 -33
- package/src/Connector/UpgatesDeleteWebhooks.ts +0 -95
- package/src/Connector/UpgatesGetOrderStates.ts +0 -35
- package/src/Connector/UpgatesGetPayments.ts +0 -61
- package/src/Connector/UpgatesGetProductParameters.ts +0 -77
- package/src/Connector/UpgatesGetShipments.ts +0 -63
- package/src/Connector/UpgatesUpdateOrder.ts +0 -73
- package/src/Connector/UpgatesUpdateStock.ts +0 -59
- package/src/Connector/__tests__/Data/UpgatesDeleteWebhooks/input.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesDeleteWebhooks/mock.json +0 -16
- package/src/Connector/__tests__/Data/UpgatesDeleteWebhooks/output.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesGetOrderStates/input.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesGetOrderStates/mock.json +0 -14
- package/src/Connector/__tests__/Data/UpgatesGetOrderStates/output.json +0 -15
- package/src/Connector/__tests__/Data/UpgatesGetPayments/input.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesGetPayments/mock.json +0 -42
- package/src/Connector/__tests__/Data/UpgatesGetPayments/output.json +0 -43
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/both-input.json +0 -9
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/both-mock.json +0 -108
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/both-output.json +0 -109
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/input.json +0 -8
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/mock.json +0 -108
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/none-input.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/none-mock.json +0 -5
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/none-output.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesGetProductParameters/output.json +0 -109
- package/src/Connector/__tests__/Data/UpgatesGetShipments/input.json +0 -6
- package/src/Connector/__tests__/Data/UpgatesGetShipments/mock.json +0 -58
- package/src/Connector/__tests__/Data/UpgatesGetShipments/output.json +0 -59
- package/src/Connector/__tests__/UpgatesDeleteWebhooks.ts +0 -61
- package/src/Connector/__tests__/UpgatesGetOrderStates.ts +0 -18
- package/src/Connector/__tests__/UpgatesGetPayments.ts +0 -18
- package/src/Connector/__tests__/UpgatesGetProductParameters.ts +0 -28
- package/src/Connector/__tests__/UpgatesGetShipments.ts +0 -18
- package/src/UpgatesApplication.ts +0 -98
- package/test/dataProvider.ts +0 -46
- package/tsconfig.json +0 -8
- package/tsconfig.prod.json +0 -13
- package/tsconfig.prod.tsbuildinfo +0 -1
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"http": "GET https://private-anon-903e641b16-upgatesapiv2.apiary-mock.com/api/v2/orders?page=1",
|
|
3
|
-
"code": 200,
|
|
4
|
-
"body": {
|
|
5
|
-
"current_page": 0,
|
|
6
|
-
"current_page_items": 0,
|
|
7
|
-
"number_of_pages": 0,
|
|
8
|
-
"number_of_items": 0,
|
|
9
|
-
"orders": [
|
|
10
|
-
{
|
|
11
|
-
"order_number": "",
|
|
12
|
-
"case_number": "",
|
|
13
|
-
"external_order_number": "",
|
|
14
|
-
"language_id": "",
|
|
15
|
-
"currency_id": "",
|
|
16
|
-
"default_currency_rate": "",
|
|
17
|
-
"prices_with_vat_yn": false,
|
|
18
|
-
"status_id": 0,
|
|
19
|
-
"status": "",
|
|
20
|
-
"paid_date": "",
|
|
21
|
-
"tracking_code": "",
|
|
22
|
-
"tracking_url": "",
|
|
23
|
-
"resolved_yn": false,
|
|
24
|
-
"oss_yn": false,
|
|
25
|
-
"internal_note": "",
|
|
26
|
-
"last_update_time": "",
|
|
27
|
-
"creation_time": "",
|
|
28
|
-
"variable_symbol": "",
|
|
29
|
-
"total_weight": 0,
|
|
30
|
-
"order_total": 0,
|
|
31
|
-
"order_total_before_round": 0,
|
|
32
|
-
"order_total_rest": 0,
|
|
33
|
-
"invoice_number": "",
|
|
34
|
-
"origin": "admin",
|
|
35
|
-
"admin_url": "",
|
|
36
|
-
"customer": {
|
|
37
|
-
"email": "",
|
|
38
|
-
"phone": "",
|
|
39
|
-
"code": "",
|
|
40
|
-
"customer_id": 0,
|
|
41
|
-
"customer_pricelist_id": "",
|
|
42
|
-
"pricelist_name": "",
|
|
43
|
-
"pricelist_percent": "",
|
|
44
|
-
"firstname_invoice": "",
|
|
45
|
-
"surname_invoice": "",
|
|
46
|
-
"street_invoice": "",
|
|
47
|
-
"city_invoice": "",
|
|
48
|
-
"state_invoice": "",
|
|
49
|
-
"zip_invoice": "",
|
|
50
|
-
"country_id_invoice": "",
|
|
51
|
-
"postal_yn": false,
|
|
52
|
-
"firstname_postal": "",
|
|
53
|
-
"surname_postal": "",
|
|
54
|
-
"street_postal": "",
|
|
55
|
-
"city_postal": "",
|
|
56
|
-
"state_postal": "",
|
|
57
|
-
"zip_postal": "",
|
|
58
|
-
"country_id_postal": "",
|
|
59
|
-
"company_postal": "",
|
|
60
|
-
"company_yn": false,
|
|
61
|
-
"company": "",
|
|
62
|
-
"ico": "",
|
|
63
|
-
"dic": "",
|
|
64
|
-
"vat_payer_yn": false,
|
|
65
|
-
"customer_note": "",
|
|
66
|
-
"agreements": [
|
|
67
|
-
{
|
|
68
|
-
"name": "",
|
|
69
|
-
"valid_to": "",
|
|
70
|
-
"status": false
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"products": [
|
|
75
|
-
{
|
|
76
|
-
"product_id": 0,
|
|
77
|
-
"option_set_id": 0,
|
|
78
|
-
"code": "",
|
|
79
|
-
"code_supplier": "",
|
|
80
|
-
"supplier": "",
|
|
81
|
-
"ean": "",
|
|
82
|
-
"title": "",
|
|
83
|
-
"adult_yn": false,
|
|
84
|
-
"quantity": 0,
|
|
85
|
-
"unit": "",
|
|
86
|
-
"length": "",
|
|
87
|
-
"length_unit": "",
|
|
88
|
-
"price_per_unit": 0,
|
|
89
|
-
"price": 0,
|
|
90
|
-
"price_with_vat": 0,
|
|
91
|
-
"price_without_vat": 0,
|
|
92
|
-
"vat": 0,
|
|
93
|
-
"buy_price": 0,
|
|
94
|
-
"recycling_fee": 0,
|
|
95
|
-
"weight": 0,
|
|
96
|
-
"availability": "",
|
|
97
|
-
"invoice_info": "",
|
|
98
|
-
"parameters": [
|
|
99
|
-
{
|
|
100
|
-
"name": "",
|
|
101
|
-
"value": ""
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"configurations": [
|
|
105
|
-
{
|
|
106
|
-
"name": "",
|
|
107
|
-
"values": [
|
|
108
|
-
{
|
|
109
|
-
"value": "",
|
|
110
|
-
"operation": "",
|
|
111
|
-
"cena": 0
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"categories": [
|
|
117
|
-
{
|
|
118
|
-
"category_id": 0,
|
|
119
|
-
"code": ""
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"image_url": ""
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"discount_voucher": {
|
|
126
|
-
"code": "",
|
|
127
|
-
"type": "percent",
|
|
128
|
-
"amount": 0,
|
|
129
|
-
"discounts": [
|
|
130
|
-
{
|
|
131
|
-
"price": 0,
|
|
132
|
-
"vat": 0
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"quantity_discount": {
|
|
137
|
-
"type": "percent",
|
|
138
|
-
"amount": 0,
|
|
139
|
-
"discounts": [
|
|
140
|
-
{
|
|
141
|
-
"price": 0,
|
|
142
|
-
"vat": 0
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
"loyalty_points": {
|
|
147
|
-
"one_point_for": 0,
|
|
148
|
-
"amount": 0,
|
|
149
|
-
"discounts": [
|
|
150
|
-
{
|
|
151
|
-
"price": 0,
|
|
152
|
-
"vat": 0
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"shipment": {
|
|
157
|
-
"id": 0,
|
|
158
|
-
"code": "",
|
|
159
|
-
"name": "",
|
|
160
|
-
"price": 0,
|
|
161
|
-
"vat": 0,
|
|
162
|
-
"affiliate_id": "",
|
|
163
|
-
"type": "",
|
|
164
|
-
"packeta_carrier_id": 0
|
|
165
|
-
},
|
|
166
|
-
"payment": {
|
|
167
|
-
"id": 0,
|
|
168
|
-
"code": "",
|
|
169
|
-
"name": "",
|
|
170
|
-
"price": 0,
|
|
171
|
-
"vat": 0,
|
|
172
|
-
"eet_yn": false,
|
|
173
|
-
"type": ""
|
|
174
|
-
},
|
|
175
|
-
"metas": [
|
|
176
|
-
{
|
|
177
|
-
"key": "",
|
|
178
|
-
"type": "",
|
|
179
|
-
"value": "",
|
|
180
|
-
"values": [
|
|
181
|
-
{
|
|
182
|
-
"language": "",
|
|
183
|
-
"value": ""
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"http": "GET https://private-anon-903e641b16-upgatesapiv2.apiary-mock.com/api/v2/orders/20200101",
|
|
3
|
-
"code": 200,
|
|
4
|
-
"body": {
|
|
5
|
-
"current_page": 0,
|
|
6
|
-
"current_page_items": 0,
|
|
7
|
-
"number_of_pages": 0,
|
|
8
|
-
"number_of_items": 0,
|
|
9
|
-
"orders": [
|
|
10
|
-
{
|
|
11
|
-
"order_number": "",
|
|
12
|
-
"case_number": "",
|
|
13
|
-
"external_order_number": "",
|
|
14
|
-
"language_id": "",
|
|
15
|
-
"currency_id": "",
|
|
16
|
-
"default_currency_rate": "",
|
|
17
|
-
"prices_with_vat_yn": false,
|
|
18
|
-
"status_id": 0,
|
|
19
|
-
"status": "",
|
|
20
|
-
"paid_date": "",
|
|
21
|
-
"tracking_code": "",
|
|
22
|
-
"tracking_url": "",
|
|
23
|
-
"resolved_yn": false,
|
|
24
|
-
"oss_yn": false,
|
|
25
|
-
"internal_note": "",
|
|
26
|
-
"last_update_time": "",
|
|
27
|
-
"creation_time": "",
|
|
28
|
-
"variable_symbol": "",
|
|
29
|
-
"total_weight": 0,
|
|
30
|
-
"order_total": 0,
|
|
31
|
-
"order_total_before_round": 0,
|
|
32
|
-
"order_total_rest": 0,
|
|
33
|
-
"invoice_number": "",
|
|
34
|
-
"origin": "admin",
|
|
35
|
-
"admin_url": "",
|
|
36
|
-
"customer": {
|
|
37
|
-
"email": "",
|
|
38
|
-
"phone": "",
|
|
39
|
-
"code": "",
|
|
40
|
-
"customer_id": 0,
|
|
41
|
-
"customer_pricelist_id": "",
|
|
42
|
-
"pricelist_name": "",
|
|
43
|
-
"pricelist_percent": "",
|
|
44
|
-
"firstname_invoice": "",
|
|
45
|
-
"surname_invoice": "",
|
|
46
|
-
"street_invoice": "",
|
|
47
|
-
"city_invoice": "",
|
|
48
|
-
"state_invoice": "",
|
|
49
|
-
"zip_invoice": "",
|
|
50
|
-
"country_id_invoice": "",
|
|
51
|
-
"postal_yn": false,
|
|
52
|
-
"firstname_postal": "",
|
|
53
|
-
"surname_postal": "",
|
|
54
|
-
"street_postal": "",
|
|
55
|
-
"city_postal": "",
|
|
56
|
-
"state_postal": "",
|
|
57
|
-
"zip_postal": "",
|
|
58
|
-
"country_id_postal": "",
|
|
59
|
-
"company_postal": "",
|
|
60
|
-
"company_yn": false,
|
|
61
|
-
"company": "",
|
|
62
|
-
"ico": "",
|
|
63
|
-
"dic": "",
|
|
64
|
-
"vat_payer_yn": false,
|
|
65
|
-
"customer_note": "",
|
|
66
|
-
"agreements": [
|
|
67
|
-
{
|
|
68
|
-
"name": "",
|
|
69
|
-
"valid_to": "",
|
|
70
|
-
"status": false
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"products": [
|
|
75
|
-
{
|
|
76
|
-
"product_id": 0,
|
|
77
|
-
"option_set_id": 0,
|
|
78
|
-
"code": "",
|
|
79
|
-
"code_supplier": "",
|
|
80
|
-
"supplier": "",
|
|
81
|
-
"ean": "",
|
|
82
|
-
"title": "",
|
|
83
|
-
"adult_yn": false,
|
|
84
|
-
"quantity": 0,
|
|
85
|
-
"unit": "",
|
|
86
|
-
"length": "",
|
|
87
|
-
"length_unit": "",
|
|
88
|
-
"price_per_unit": 0,
|
|
89
|
-
"price": 0,
|
|
90
|
-
"price_with_vat": 0,
|
|
91
|
-
"price_without_vat": 0,
|
|
92
|
-
"vat": 0,
|
|
93
|
-
"buy_price": 0,
|
|
94
|
-
"recycling_fee": 0,
|
|
95
|
-
"weight": 0,
|
|
96
|
-
"availability": "",
|
|
97
|
-
"invoice_info": "",
|
|
98
|
-
"parameters": [
|
|
99
|
-
{
|
|
100
|
-
"name": "",
|
|
101
|
-
"value": ""
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"configurations": [
|
|
105
|
-
{
|
|
106
|
-
"name": "",
|
|
107
|
-
"values": [
|
|
108
|
-
{
|
|
109
|
-
"value": "",
|
|
110
|
-
"operation": "",
|
|
111
|
-
"cena": 0
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"categories": [
|
|
117
|
-
{
|
|
118
|
-
"category_id": 0,
|
|
119
|
-
"code": ""
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"image_url": ""
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"discount_voucher": {
|
|
126
|
-
"code": "",
|
|
127
|
-
"type": "percent",
|
|
128
|
-
"amount": 0,
|
|
129
|
-
"discounts": [
|
|
130
|
-
{
|
|
131
|
-
"price": 0,
|
|
132
|
-
"vat": 0
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"quantity_discount": {
|
|
137
|
-
"type": "percent",
|
|
138
|
-
"amount": 0,
|
|
139
|
-
"discounts": [
|
|
140
|
-
{
|
|
141
|
-
"price": 0,
|
|
142
|
-
"vat": 0
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
"loyalty_points": {
|
|
147
|
-
"one_point_for": 0,
|
|
148
|
-
"amount": 0,
|
|
149
|
-
"discounts": [
|
|
150
|
-
{
|
|
151
|
-
"price": 0,
|
|
152
|
-
"vat": 0
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"shipment": {
|
|
157
|
-
"id": 0,
|
|
158
|
-
"code": "",
|
|
159
|
-
"name": "",
|
|
160
|
-
"price": 0,
|
|
161
|
-
"vat": 0,
|
|
162
|
-
"affiliate_id": "",
|
|
163
|
-
"type": "",
|
|
164
|
-
"packeta_carrier_id": 0
|
|
165
|
-
},
|
|
166
|
-
"payment": {
|
|
167
|
-
"id": 0,
|
|
168
|
-
"code": "",
|
|
169
|
-
"name": "",
|
|
170
|
-
"price": 0,
|
|
171
|
-
"vat": 0,
|
|
172
|
-
"eet_yn": false,
|
|
173
|
-
"type": ""
|
|
174
|
-
},
|
|
175
|
-
"metas": [
|
|
176
|
-
{
|
|
177
|
-
"key": "",
|
|
178
|
-
"type": "",
|
|
179
|
-
"value": "",
|
|
180
|
-
"values": [
|
|
181
|
-
{
|
|
182
|
-
"language": "",
|
|
183
|
-
"value": ""
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": {
|
|
3
|
-
"user": "TestUser"
|
|
4
|
-
},
|
|
5
|
-
"data": [
|
|
6
|
-
{
|
|
7
|
-
"body": "{\"order_number\":\"\",\"case_number\":\"\",\"external_order_number\":\"\",\"language_id\":\"\",\"currency_id\":\"\",\"default_currency_rate\":\"\",\"prices_with_vat_yn\":false,\"status_id\":0,\"status\":\"\",\"paid_date\":\"\",\"tracking_code\":\"\",\"tracking_url\":\"\",\"resolved_yn\":false,\"oss_yn\":false,\"internal_note\":\"\",\"last_update_time\":\"\",\"creation_time\":\"\",\"variable_symbol\":\"\",\"total_weight\":0,\"order_total\":0,\"order_total_before_round\":0,\"order_total_rest\":0,\"invoice_number\":\"\",\"origin\":\"admin\",\"admin_url\":\"\",\"customer\":{\"email\":\"\",\"phone\":\"\",\"code\":\"\",\"customer_id\":0,\"customer_pricelist_id\":\"\",\"pricelist_name\":\"\",\"pricelist_percent\":\"\",\"firstname_invoice\":\"\",\"surname_invoice\":\"\",\"street_invoice\":\"\",\"city_invoice\":\"\",\"state_invoice\":\"\",\"zip_invoice\":\"\",\"country_id_invoice\":\"\",\"postal_yn\":false,\"firstname_postal\":\"\",\"surname_postal\":\"\",\"street_postal\":\"\",\"city_postal\":\"\",\"state_postal\":\"\",\"zip_postal\":\"\",\"country_id_postal\":\"\",\"company_postal\":\"\",\"company_yn\":false,\"company\":\"\",\"ico\":\"\",\"dic\":\"\",\"vat_payer_yn\":false,\"customer_note\":\"\",\"agreements\":[{\"name\":\"\",\"valid_to\":\"\",\"status\":false}]},\"products\":[{\"product_id\":0,\"option_set_id\":0,\"code\":\"\",\"code_supplier\":\"\",\"supplier\":\"\",\"ean\":\"\",\"title\":\"\",\"adult_yn\":false,\"quantity\":0,\"unit\":\"\",\"length\":\"\",\"length_unit\":\"\",\"price_per_unit\":0,\"price\":0,\"price_with_vat\":0,\"price_without_vat\":0,\"vat\":0,\"buy_price\":0,\"recycling_fee\":0,\"weight\":0,\"availability\":\"\",\"invoice_info\":\"\",\"parameters\":[{\"name\":\"\",\"value\":\"\"}],\"configurations\":[{\"name\":\"\",\"values\":[{\"value\":\"\",\"operation\":\"\",\"cena\":0}]}],\"categories\":[{\"category_id\":0,\"code\":\"\"}],\"image_url\":\"\"}],\"discount_voucher\":{\"code\":\"\",\"type\":\"percent\",\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"quantity_discount\":{\"type\":\"percent\",\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"loyalty_points\":{\"one_point_for\":0,\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"shipment\":{\"id\":0,\"code\":\"\",\"name\":\"\",\"price\":0,\"vat\":0,\"affiliate_id\":\"\",\"type\":\"\",\"packeta_carrier_id\":0},\"payment\":{\"id\":0,\"code\":\"\",\"name\":\"\",\"price\":0,\"vat\":0,\"eet_yn\":false,\"type\":\"\"},\"metas\":[{\"key\":\"\",\"type\":\"\",\"value\":\"\",\"values\":[{\"language\":\"\",\"value\":\"\"}]}]}",
|
|
8
|
-
"headers": {}
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"http": "GET https://private-anon-903e641b16-upgatesapiv2.apiary-mock.com/api/v2/orders?order_numbers=20200101;20200102",
|
|
3
|
-
"code": 200,
|
|
4
|
-
"body": {
|
|
5
|
-
"current_page": 0,
|
|
6
|
-
"current_page_items": 0,
|
|
7
|
-
"number_of_pages": 0,
|
|
8
|
-
"number_of_items": 0,
|
|
9
|
-
"orders": [
|
|
10
|
-
{
|
|
11
|
-
"order_number": "",
|
|
12
|
-
"case_number": "",
|
|
13
|
-
"external_order_number": "",
|
|
14
|
-
"language_id": "",
|
|
15
|
-
"currency_id": "",
|
|
16
|
-
"default_currency_rate": "",
|
|
17
|
-
"prices_with_vat_yn": false,
|
|
18
|
-
"status_id": 0,
|
|
19
|
-
"status": "",
|
|
20
|
-
"paid_date": "",
|
|
21
|
-
"tracking_code": "",
|
|
22
|
-
"tracking_url": "",
|
|
23
|
-
"resolved_yn": false,
|
|
24
|
-
"oss_yn": false,
|
|
25
|
-
"internal_note": "",
|
|
26
|
-
"last_update_time": "",
|
|
27
|
-
"creation_time": "",
|
|
28
|
-
"variable_symbol": "",
|
|
29
|
-
"total_weight": 0,
|
|
30
|
-
"order_total": 0,
|
|
31
|
-
"order_total_before_round": 0,
|
|
32
|
-
"order_total_rest": 0,
|
|
33
|
-
"invoice_number": "",
|
|
34
|
-
"origin": "admin",
|
|
35
|
-
"admin_url": "",
|
|
36
|
-
"customer": {
|
|
37
|
-
"email": "",
|
|
38
|
-
"phone": "",
|
|
39
|
-
"code": "",
|
|
40
|
-
"customer_id": 0,
|
|
41
|
-
"customer_pricelist_id": "",
|
|
42
|
-
"pricelist_name": "",
|
|
43
|
-
"pricelist_percent": "",
|
|
44
|
-
"firstname_invoice": "",
|
|
45
|
-
"surname_invoice": "",
|
|
46
|
-
"street_invoice": "",
|
|
47
|
-
"city_invoice": "",
|
|
48
|
-
"state_invoice": "",
|
|
49
|
-
"zip_invoice": "",
|
|
50
|
-
"country_id_invoice": "",
|
|
51
|
-
"postal_yn": false,
|
|
52
|
-
"firstname_postal": "",
|
|
53
|
-
"surname_postal": "",
|
|
54
|
-
"street_postal": "",
|
|
55
|
-
"city_postal": "",
|
|
56
|
-
"state_postal": "",
|
|
57
|
-
"zip_postal": "",
|
|
58
|
-
"country_id_postal": "",
|
|
59
|
-
"company_postal": "",
|
|
60
|
-
"company_yn": false,
|
|
61
|
-
"company": "",
|
|
62
|
-
"ico": "",
|
|
63
|
-
"dic": "",
|
|
64
|
-
"vat_payer_yn": false,
|
|
65
|
-
"customer_note": "",
|
|
66
|
-
"agreements": [
|
|
67
|
-
{
|
|
68
|
-
"name": "",
|
|
69
|
-
"valid_to": "",
|
|
70
|
-
"status": false
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"products": [
|
|
75
|
-
{
|
|
76
|
-
"product_id": 0,
|
|
77
|
-
"option_set_id": 0,
|
|
78
|
-
"code": "",
|
|
79
|
-
"code_supplier": "",
|
|
80
|
-
"supplier": "",
|
|
81
|
-
"ean": "",
|
|
82
|
-
"title": "",
|
|
83
|
-
"adult_yn": false,
|
|
84
|
-
"quantity": 0,
|
|
85
|
-
"unit": "",
|
|
86
|
-
"length": "",
|
|
87
|
-
"length_unit": "",
|
|
88
|
-
"price_per_unit": 0,
|
|
89
|
-
"price": 0,
|
|
90
|
-
"price_with_vat": 0,
|
|
91
|
-
"price_without_vat": 0,
|
|
92
|
-
"vat": 0,
|
|
93
|
-
"buy_price": 0,
|
|
94
|
-
"recycling_fee": 0,
|
|
95
|
-
"weight": 0,
|
|
96
|
-
"availability": "",
|
|
97
|
-
"invoice_info": "",
|
|
98
|
-
"parameters": [
|
|
99
|
-
{
|
|
100
|
-
"name": "",
|
|
101
|
-
"value": ""
|
|
102
|
-
}
|
|
103
|
-
],
|
|
104
|
-
"configurations": [
|
|
105
|
-
{
|
|
106
|
-
"name": "",
|
|
107
|
-
"values": [
|
|
108
|
-
{
|
|
109
|
-
"value": "",
|
|
110
|
-
"operation": "",
|
|
111
|
-
"cena": 0
|
|
112
|
-
}
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"categories": [
|
|
117
|
-
{
|
|
118
|
-
"category_id": 0,
|
|
119
|
-
"code": ""
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
"image_url": ""
|
|
123
|
-
}
|
|
124
|
-
],
|
|
125
|
-
"discount_voucher": {
|
|
126
|
-
"code": "",
|
|
127
|
-
"type": "percent",
|
|
128
|
-
"amount": 0,
|
|
129
|
-
"discounts": [
|
|
130
|
-
{
|
|
131
|
-
"price": 0,
|
|
132
|
-
"vat": 0
|
|
133
|
-
}
|
|
134
|
-
]
|
|
135
|
-
},
|
|
136
|
-
"quantity_discount": {
|
|
137
|
-
"type": "percent",
|
|
138
|
-
"amount": 0,
|
|
139
|
-
"discounts": [
|
|
140
|
-
{
|
|
141
|
-
"price": 0,
|
|
142
|
-
"vat": 0
|
|
143
|
-
}
|
|
144
|
-
]
|
|
145
|
-
},
|
|
146
|
-
"loyalty_points": {
|
|
147
|
-
"one_point_for": 0,
|
|
148
|
-
"amount": 0,
|
|
149
|
-
"discounts": [
|
|
150
|
-
{
|
|
151
|
-
"price": 0,
|
|
152
|
-
"vat": 0
|
|
153
|
-
}
|
|
154
|
-
]
|
|
155
|
-
},
|
|
156
|
-
"shipment": {
|
|
157
|
-
"id": 0,
|
|
158
|
-
"code": "",
|
|
159
|
-
"name": "",
|
|
160
|
-
"price": 0,
|
|
161
|
-
"vat": 0,
|
|
162
|
-
"affiliate_id": "",
|
|
163
|
-
"type": "",
|
|
164
|
-
"packeta_carrier_id": 0
|
|
165
|
-
},
|
|
166
|
-
"payment": {
|
|
167
|
-
"id": 0,
|
|
168
|
-
"code": "",
|
|
169
|
-
"name": "",
|
|
170
|
-
"price": 0,
|
|
171
|
-
"vat": 0,
|
|
172
|
-
"eet_yn": false,
|
|
173
|
-
"type": ""
|
|
174
|
-
},
|
|
175
|
-
"metas": [
|
|
176
|
-
{
|
|
177
|
-
"key": "",
|
|
178
|
-
"type": "",
|
|
179
|
-
"value": "",
|
|
180
|
-
"values": [
|
|
181
|
-
{
|
|
182
|
-
"language": "",
|
|
183
|
-
"value": ""
|
|
184
|
-
}
|
|
185
|
-
]
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": {
|
|
3
|
-
"user": "TestUser"
|
|
4
|
-
},
|
|
5
|
-
"data": [
|
|
6
|
-
{
|
|
7
|
-
"body": "{\"order_number\":\"\",\"case_number\":\"\",\"external_order_number\":\"\",\"language_id\":\"\",\"currency_id\":\"\",\"default_currency_rate\":\"\",\"prices_with_vat_yn\":false,\"status_id\":0,\"status\":\"\",\"paid_date\":\"\",\"tracking_code\":\"\",\"tracking_url\":\"\",\"resolved_yn\":false,\"oss_yn\":false,\"internal_note\":\"\",\"last_update_time\":\"\",\"creation_time\":\"\",\"variable_symbol\":\"\",\"total_weight\":0,\"order_total\":0,\"order_total_before_round\":0,\"order_total_rest\":0,\"invoice_number\":\"\",\"origin\":\"admin\",\"admin_url\":\"\",\"customer\":{\"email\":\"\",\"phone\":\"\",\"code\":\"\",\"customer_id\":0,\"customer_pricelist_id\":\"\",\"pricelist_name\":\"\",\"pricelist_percent\":\"\",\"firstname_invoice\":\"\",\"surname_invoice\":\"\",\"street_invoice\":\"\",\"city_invoice\":\"\",\"state_invoice\":\"\",\"zip_invoice\":\"\",\"country_id_invoice\":\"\",\"postal_yn\":false,\"firstname_postal\":\"\",\"surname_postal\":\"\",\"street_postal\":\"\",\"city_postal\":\"\",\"state_postal\":\"\",\"zip_postal\":\"\",\"country_id_postal\":\"\",\"company_postal\":\"\",\"company_yn\":false,\"company\":\"\",\"ico\":\"\",\"dic\":\"\",\"vat_payer_yn\":false,\"customer_note\":\"\",\"agreements\":[{\"name\":\"\",\"valid_to\":\"\",\"status\":false}]},\"products\":[{\"product_id\":0,\"option_set_id\":0,\"code\":\"\",\"code_supplier\":\"\",\"supplier\":\"\",\"ean\":\"\",\"title\":\"\",\"adult_yn\":false,\"quantity\":0,\"unit\":\"\",\"length\":\"\",\"length_unit\":\"\",\"price_per_unit\":0,\"price\":0,\"price_with_vat\":0,\"price_without_vat\":0,\"vat\":0,\"buy_price\":0,\"recycling_fee\":0,\"weight\":0,\"availability\":\"\",\"invoice_info\":\"\",\"parameters\":[{\"name\":\"\",\"value\":\"\"}],\"configurations\":[{\"name\":\"\",\"values\":[{\"value\":\"\",\"operation\":\"\",\"cena\":0}]}],\"categories\":[{\"category_id\":0,\"code\":\"\"}],\"image_url\":\"\"}],\"discount_voucher\":{\"code\":\"\",\"type\":\"percent\",\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"quantity_discount\":{\"type\":\"percent\",\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"loyalty_points\":{\"one_point_for\":0,\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"shipment\":{\"id\":0,\"code\":\"\",\"name\":\"\",\"price\":0,\"vat\":0,\"affiliate_id\":\"\",\"type\":\"\",\"packeta_carrier_id\":0},\"payment\":{\"id\":0,\"code\":\"\",\"name\":\"\",\"price\":0,\"vat\":0,\"eet_yn\":false,\"type\":\"\"},\"metas\":[{\"key\":\"\",\"type\":\"\",\"value\":\"\",\"values\":[{\"language\":\"\",\"value\":\"\"}]}]}",
|
|
8
|
-
"headers": {}
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"headers": {
|
|
3
|
-
"user": "TestUser"
|
|
4
|
-
},
|
|
5
|
-
"data": [
|
|
6
|
-
{
|
|
7
|
-
"body": "{\"order_number\":\"\",\"case_number\":\"\",\"external_order_number\":\"\",\"language_id\":\"\",\"currency_id\":\"\",\"default_currency_rate\":\"\",\"prices_with_vat_yn\":false,\"status_id\":0,\"status\":\"\",\"paid_date\":\"\",\"tracking_code\":\"\",\"tracking_url\":\"\",\"resolved_yn\":false,\"oss_yn\":false,\"internal_note\":\"\",\"last_update_time\":\"\",\"creation_time\":\"\",\"variable_symbol\":\"\",\"total_weight\":0,\"order_total\":0,\"order_total_before_round\":0,\"order_total_rest\":0,\"invoice_number\":\"\",\"origin\":\"admin\",\"admin_url\":\"\",\"customer\":{\"email\":\"\",\"phone\":\"\",\"code\":\"\",\"customer_id\":0,\"customer_pricelist_id\":\"\",\"pricelist_name\":\"\",\"pricelist_percent\":\"\",\"firstname_invoice\":\"\",\"surname_invoice\":\"\",\"street_invoice\":\"\",\"city_invoice\":\"\",\"state_invoice\":\"\",\"zip_invoice\":\"\",\"country_id_invoice\":\"\",\"postal_yn\":false,\"firstname_postal\":\"\",\"surname_postal\":\"\",\"street_postal\":\"\",\"city_postal\":\"\",\"state_postal\":\"\",\"zip_postal\":\"\",\"country_id_postal\":\"\",\"company_postal\":\"\",\"company_yn\":false,\"company\":\"\",\"ico\":\"\",\"dic\":\"\",\"vat_payer_yn\":false,\"customer_note\":\"\",\"agreements\":[{\"name\":\"\",\"valid_to\":\"\",\"status\":false}]},\"products\":[{\"product_id\":0,\"option_set_id\":0,\"code\":\"\",\"code_supplier\":\"\",\"supplier\":\"\",\"ean\":\"\",\"title\":\"\",\"adult_yn\":false,\"quantity\":0,\"unit\":\"\",\"length\":\"\",\"length_unit\":\"\",\"price_per_unit\":0,\"price\":0,\"price_with_vat\":0,\"price_without_vat\":0,\"vat\":0,\"buy_price\":0,\"recycling_fee\":0,\"weight\":0,\"availability\":\"\",\"invoice_info\":\"\",\"parameters\":[{\"name\":\"\",\"value\":\"\"}],\"configurations\":[{\"name\":\"\",\"values\":[{\"value\":\"\",\"operation\":\"\",\"cena\":0}]}],\"categories\":[{\"category_id\":0,\"code\":\"\"}],\"image_url\":\"\"}],\"discount_voucher\":{\"code\":\"\",\"type\":\"percent\",\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"quantity_discount\":{\"type\":\"percent\",\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"loyalty_points\":{\"one_point_for\":0,\"amount\":0,\"discounts\":[{\"price\":0,\"vat\":0}]},\"shipment\":{\"id\":0,\"code\":\"\",\"name\":\"\",\"price\":0,\"vat\":0,\"affiliate_id\":\"\",\"type\":\"\",\"packeta_carrier_id\":0},\"payment\":{\"id\":0,\"code\":\"\",\"name\":\"\",\"price\":0,\"vat\":0,\"eet_yn\":false,\"type\":\"\"},\"metas\":[{\"key\":\"\",\"type\":\"\",\"value\":\"\",\"values\":[{\"language\":\"\",\"value\":\"\"}]}]}",
|
|
8
|
-
"headers": {}
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|