MailchimpMarketing 3.0.9 → 3.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +53 -0
- data/MailchimpMarketing.gemspec +1 -1
- data/README.md +2 -2
- data/lib/MailchimpMarketing.rb +1 -1
- data/lib/MailchimpMarketing/api/activity_feed_api.rb +5 -5
- data/lib/MailchimpMarketing/api/authorized_apps_api.rb +7 -7
- data/lib/MailchimpMarketing/api/automations_api.rb +39 -39
- data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +11 -11
- data/lib/MailchimpMarketing/api/batches_api.rb +9 -9
- data/lib/MailchimpMarketing/api/campaign_folders_api.rb +11 -11
- data/lib/MailchimpMarketing/api/campaigns_api.rb +45 -45
- data/lib/MailchimpMarketing/api/connected_sites_api.rb +11 -11
- data/lib/MailchimpMarketing/api/conversations_api.rb +11 -11
- data/lib/MailchimpMarketing/api/dashboard_api.rb +13 -13
- data/lib/MailchimpMarketing/api/ecommerce_api.rb +119 -119
- data/lib/MailchimpMarketing/api/external_auths_api.rb +7 -7
- data/lib/MailchimpMarketing/api/facebook_ads_api.rb +5 -5
- data/lib/MailchimpMarketing/api/file_manager_api.rb +23 -23
- data/lib/MailchimpMarketing/api/landing_pages_api.rb +17 -17
- data/lib/MailchimpMarketing/api/lists_api.rb +136 -135
- data/lib/MailchimpMarketing/api/ping_api.rb +3 -3
- data/lib/MailchimpMarketing/api/postcards_api.rb +3 -3
- data/lib/MailchimpMarketing/api/reporting_api.rb +13 -13
- data/lib/MailchimpMarketing/api/reports_api.rb +45 -45
- data/lib/MailchimpMarketing/api/root_api.rb +3 -3
- data/lib/MailchimpMarketing/api/search_campaigns_api.rb +3 -3
- data/lib/MailchimpMarketing/api/search_members_api.rb +3 -3
- data/lib/MailchimpMarketing/api/template_folders_api.rb +11 -11
- data/lib/MailchimpMarketing/api/templates_api.rb +13 -13
- data/lib/MailchimpMarketing/api/verified_domains_api.rb +11 -11
- data/lib/MailchimpMarketing/api_client.rb +10 -8
- data/lib/MailchimpMarketing/api_error.rb +1 -1
- data/lib/MailchimpMarketing/configuration.rb +1 -1
- data/lib/MailchimpMarketing/version.rb +2 -2
- metadata +3 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -36,10 +36,10 @@ module MailchimpMarketing
|
|
36
36
|
post_body = nil
|
37
37
|
|
38
38
|
local_var_path = '/conversations'
|
39
|
-
data
|
39
|
+
data = @api_client.call_api(:GET, local_var_path,
|
40
40
|
:query_params => query_params,
|
41
41
|
:body => post_body)
|
42
|
-
return data
|
42
|
+
return data
|
43
43
|
end
|
44
44
|
|
45
45
|
# Get conversation
|
@@ -52,10 +52,10 @@ module MailchimpMarketing
|
|
52
52
|
post_body = nil
|
53
53
|
|
54
54
|
local_var_path = '/conversations/{conversation_id}'.sub('{' + 'conversation_id' + '}', conversation_id.to_s)
|
55
|
-
data
|
55
|
+
data = @api_client.call_api(:GET, local_var_path,
|
56
56
|
:query_params => query_params,
|
57
57
|
:body => post_body)
|
58
|
-
return data
|
58
|
+
return data
|
59
59
|
end
|
60
60
|
|
61
61
|
# List messages
|
@@ -72,10 +72,10 @@ module MailchimpMarketing
|
|
72
72
|
post_body = nil
|
73
73
|
|
74
74
|
local_var_path = '/conversations/{conversation_id}/messages'.sub('{' + 'conversation_id' + '}', conversation_id.to_s)
|
75
|
-
data
|
75
|
+
data = @api_client.call_api(:GET, local_var_path,
|
76
76
|
:query_params => query_params,
|
77
77
|
:body => post_body)
|
78
|
-
return data
|
78
|
+
return data
|
79
79
|
end
|
80
80
|
|
81
81
|
# Get message
|
@@ -89,10 +89,10 @@ module MailchimpMarketing
|
|
89
89
|
post_body = nil
|
90
90
|
|
91
91
|
local_var_path = '/conversations/{conversation_id}/messages/{message_id}'.sub('{' + 'conversation_id' + '}', conversation_id.to_s).sub('{' + 'message_id' + '}', message_id.to_s)
|
92
|
-
data
|
92
|
+
data = @api_client.call_api(:GET, local_var_path,
|
93
93
|
:query_params => query_params,
|
94
94
|
:body => post_body)
|
95
|
-
return data
|
95
|
+
return data
|
96
96
|
end
|
97
97
|
|
98
98
|
# Post message
|
@@ -104,10 +104,10 @@ module MailchimpMarketing
|
|
104
104
|
post_body = @api_client.object_to_http_body(body)
|
105
105
|
|
106
106
|
local_var_path = '/conversations/{conversation_id}/messages'.sub('{' + 'conversation_id' + '}', conversation_id.to_s)
|
107
|
-
data
|
107
|
+
data = @api_client.call_api(:POST, local_var_path,
|
108
108
|
:query_params => query_params,
|
109
109
|
:body => post_body)
|
110
|
-
return data
|
110
|
+
return data
|
111
111
|
end
|
112
112
|
end
|
113
113
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -31,10 +31,10 @@ module MailchimpMarketing
|
|
31
31
|
post_body = nil
|
32
32
|
|
33
33
|
local_var_path = '/dashboard/ads'
|
34
|
-
data
|
34
|
+
data = @api_client.call_api(:GET, local_var_path,
|
35
35
|
:query_params => query_params,
|
36
36
|
:body => post_body)
|
37
|
-
return data
|
37
|
+
return data
|
38
38
|
end
|
39
39
|
|
40
40
|
# List dashboard audiences
|
@@ -46,10 +46,10 @@ module MailchimpMarketing
|
|
46
46
|
post_body = nil
|
47
47
|
|
48
48
|
local_var_path = '/dashboard/audiences'
|
49
|
-
data
|
49
|
+
data = @api_client.call_api(:GET, local_var_path,
|
50
50
|
:query_params => query_params,
|
51
51
|
:body => post_body)
|
52
|
-
return data
|
52
|
+
return data
|
53
53
|
end
|
54
54
|
|
55
55
|
# List dashboard charts
|
@@ -61,10 +61,10 @@ module MailchimpMarketing
|
|
61
61
|
post_body = nil
|
62
62
|
|
63
63
|
local_var_path = '/dashboard/charts'
|
64
|
-
data
|
64
|
+
data = @api_client.call_api(:GET, local_var_path,
|
65
65
|
:query_params => query_params,
|
66
66
|
:body => post_body)
|
67
|
-
return data
|
67
|
+
return data
|
68
68
|
end
|
69
69
|
|
70
70
|
# List dashboard ecommerce info
|
@@ -76,10 +76,10 @@ module MailchimpMarketing
|
|
76
76
|
post_body = nil
|
77
77
|
|
78
78
|
local_var_path = '/dashboard/ecommerce'
|
79
|
-
data
|
79
|
+
data = @api_client.call_api(:GET, local_var_path,
|
80
80
|
:query_params => query_params,
|
81
81
|
:body => post_body)
|
82
|
-
return data
|
82
|
+
return data
|
83
83
|
end
|
84
84
|
|
85
85
|
# List dashboard engagement info
|
@@ -91,10 +91,10 @@ module MailchimpMarketing
|
|
91
91
|
post_body = nil
|
92
92
|
|
93
93
|
local_var_path = '/dashboard/engagement'
|
94
|
-
data
|
94
|
+
data = @api_client.call_api(:GET, local_var_path,
|
95
95
|
:query_params => query_params,
|
96
96
|
:body => post_body)
|
97
|
-
return data
|
97
|
+
return data
|
98
98
|
end
|
99
99
|
|
100
100
|
# List dashboard homepage metrics
|
@@ -106,10 +106,10 @@ module MailchimpMarketing
|
|
106
106
|
post_body = nil
|
107
107
|
|
108
108
|
local_var_path = '/dashboard/homepage'
|
109
|
-
data
|
109
|
+
data = @api_client.call_api(:GET, local_var_path,
|
110
110
|
:query_params => query_params,
|
111
111
|
:body => post_body)
|
112
|
-
return data
|
112
|
+
return data
|
113
113
|
end
|
114
114
|
end
|
115
115
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -28,10 +28,10 @@ module MailchimpMarketing
|
|
28
28
|
post_body = nil
|
29
29
|
|
30
30
|
local_var_path = '/ecommerce/stores/{store_id}'.sub('{' + 'store_id' + '}', store_id.to_s)
|
31
|
-
data
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
34
|
+
return data
|
35
35
|
end
|
36
36
|
|
37
37
|
# Delete cart
|
@@ -43,10 +43,10 @@ module MailchimpMarketing
|
|
43
43
|
post_body = nil
|
44
44
|
|
45
45
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s)
|
46
|
-
data
|
46
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
47
47
|
:query_params => query_params,
|
48
48
|
:body => post_body)
|
49
|
-
return data
|
49
|
+
return data
|
50
50
|
end
|
51
51
|
|
52
52
|
# Delete cart line item
|
@@ -59,10 +59,10 @@ module MailchimpMarketing
|
|
59
59
|
post_body = nil
|
60
60
|
|
61
61
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s).sub('{' + 'line_id' + '}', line_id.to_s)
|
62
|
-
data
|
62
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
63
63
|
:query_params => query_params,
|
64
64
|
:body => post_body)
|
65
|
-
return data
|
65
|
+
return data
|
66
66
|
end
|
67
67
|
|
68
68
|
# Delete customer
|
@@ -74,10 +74,10 @@ module MailchimpMarketing
|
|
74
74
|
post_body = nil
|
75
75
|
|
76
76
|
local_var_path = '/ecommerce/stores/{store_id}/customers/{customer_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'customer_id' + '}', customer_id.to_s)
|
77
|
-
data
|
77
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
78
78
|
:query_params => query_params,
|
79
79
|
:body => post_body)
|
80
|
-
return data
|
80
|
+
return data
|
81
81
|
end
|
82
82
|
|
83
83
|
# Delete order
|
@@ -89,10 +89,10 @@ module MailchimpMarketing
|
|
89
89
|
post_body = nil
|
90
90
|
|
91
91
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
92
|
-
data
|
92
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
93
93
|
:query_params => query_params,
|
94
94
|
:body => post_body)
|
95
|
-
return data
|
95
|
+
return data
|
96
96
|
end
|
97
97
|
|
98
98
|
# Delete order line item
|
@@ -105,10 +105,10 @@ module MailchimpMarketing
|
|
105
105
|
post_body = nil
|
106
106
|
|
107
107
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s).sub('{' + 'line_id' + '}', line_id.to_s)
|
108
|
-
data
|
108
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
109
109
|
:query_params => query_params,
|
110
110
|
:body => post_body)
|
111
|
-
return data
|
111
|
+
return data
|
112
112
|
end
|
113
113
|
|
114
114
|
# Delete product
|
@@ -120,10 +120,10 @@ module MailchimpMarketing
|
|
120
120
|
post_body = nil
|
121
121
|
|
122
122
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
123
|
-
data
|
123
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
124
124
|
:query_params => query_params,
|
125
125
|
:body => post_body)
|
126
|
-
return data
|
126
|
+
return data
|
127
127
|
end
|
128
128
|
|
129
129
|
# Delete product image
|
@@ -136,10 +136,10 @@ module MailchimpMarketing
|
|
136
136
|
post_body = nil
|
137
137
|
|
138
138
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'image_id' + '}', image_id.to_s)
|
139
|
-
data
|
139
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
140
140
|
:query_params => query_params,
|
141
141
|
:body => post_body)
|
142
|
-
return data
|
142
|
+
return data
|
143
143
|
end
|
144
144
|
|
145
145
|
# Delete product variant
|
@@ -152,10 +152,10 @@ module MailchimpMarketing
|
|
152
152
|
post_body = nil
|
153
153
|
|
154
154
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'variant_id' + '}', variant_id.to_s)
|
155
|
-
data
|
155
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
156
156
|
:query_params => query_params,
|
157
157
|
:body => post_body)
|
158
|
-
return data
|
158
|
+
return data
|
159
159
|
end
|
160
160
|
|
161
161
|
# Delete promo code
|
@@ -168,10 +168,10 @@ module MailchimpMarketing
|
|
168
168
|
post_body = nil
|
169
169
|
|
170
170
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s).sub('{' + 'promo_code_id' + '}', promo_code_id.to_s)
|
171
|
-
data
|
171
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
172
172
|
:query_params => query_params,
|
173
173
|
:body => post_body)
|
174
|
-
return data
|
174
|
+
return data
|
175
175
|
end
|
176
176
|
|
177
177
|
# Delete promo rule
|
@@ -183,10 +183,10 @@ module MailchimpMarketing
|
|
183
183
|
post_body = nil
|
184
184
|
|
185
185
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s)
|
186
|
-
data
|
186
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
187
187
|
:query_params => query_params,
|
188
188
|
:body => post_body)
|
189
|
-
return data
|
189
|
+
return data
|
190
190
|
end
|
191
191
|
|
192
192
|
# List e commerce api resources
|
@@ -196,10 +196,10 @@ module MailchimpMarketing
|
|
196
196
|
post_body = nil
|
197
197
|
|
198
198
|
local_var_path = '/ecommerce'
|
199
|
-
data
|
199
|
+
data = @api_client.call_api(:GET, local_var_path,
|
200
200
|
:query_params => query_params,
|
201
201
|
:body => post_body)
|
202
|
-
return data
|
202
|
+
return data
|
203
203
|
end
|
204
204
|
|
205
205
|
# List account orders
|
@@ -218,10 +218,10 @@ module MailchimpMarketing
|
|
218
218
|
post_body = nil
|
219
219
|
|
220
220
|
local_var_path = '/ecommerce/orders'
|
221
|
-
data
|
221
|
+
data = @api_client.call_api(:GET, local_var_path,
|
222
222
|
:query_params => query_params,
|
223
223
|
:body => post_body)
|
224
|
-
return data
|
224
|
+
return data
|
225
225
|
end
|
226
226
|
|
227
227
|
# List stores
|
@@ -236,10 +236,10 @@ module MailchimpMarketing
|
|
236
236
|
post_body = nil
|
237
237
|
|
238
238
|
local_var_path = '/ecommerce/stores'
|
239
|
-
data
|
239
|
+
data = @api_client.call_api(:GET, local_var_path,
|
240
240
|
:query_params => query_params,
|
241
241
|
:body => post_body)
|
242
|
-
return data
|
242
|
+
return data
|
243
243
|
end
|
244
244
|
|
245
245
|
# Get store info
|
@@ -252,10 +252,10 @@ module MailchimpMarketing
|
|
252
252
|
post_body = nil
|
253
253
|
|
254
254
|
local_var_path = '/ecommerce/stores/{store_id}'.sub('{' + 'store_id' + '}', store_id.to_s)
|
255
|
-
data
|
255
|
+
data = @api_client.call_api(:GET, local_var_path,
|
256
256
|
:query_params => query_params,
|
257
257
|
:body => post_body)
|
258
|
-
return data
|
258
|
+
return data
|
259
259
|
end
|
260
260
|
|
261
261
|
# List carts
|
@@ -271,10 +271,10 @@ module MailchimpMarketing
|
|
271
271
|
post_body = nil
|
272
272
|
|
273
273
|
local_var_path = '/ecommerce/stores/{store_id}/carts'.sub('{' + 'store_id' + '}', store_id.to_s)
|
274
|
-
data
|
274
|
+
data = @api_client.call_api(:GET, local_var_path,
|
275
275
|
:query_params => query_params,
|
276
276
|
:body => post_body)
|
277
|
-
return data
|
277
|
+
return data
|
278
278
|
end
|
279
279
|
|
280
280
|
# Get cart info
|
@@ -288,10 +288,10 @@ module MailchimpMarketing
|
|
288
288
|
post_body = nil
|
289
289
|
|
290
290
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s)
|
291
|
-
data
|
291
|
+
data = @api_client.call_api(:GET, local_var_path,
|
292
292
|
:query_params => query_params,
|
293
293
|
:body => post_body)
|
294
|
-
return data
|
294
|
+
return data
|
295
295
|
end
|
296
296
|
|
297
297
|
# List cart line items
|
@@ -308,10 +308,10 @@ module MailchimpMarketing
|
|
308
308
|
post_body = nil
|
309
309
|
|
310
310
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}/lines'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s)
|
311
|
-
data
|
311
|
+
data = @api_client.call_api(:GET, local_var_path,
|
312
312
|
:query_params => query_params,
|
313
313
|
:body => post_body)
|
314
|
-
return data
|
314
|
+
return data
|
315
315
|
end
|
316
316
|
|
317
317
|
# Get cart line item
|
@@ -326,10 +326,10 @@ module MailchimpMarketing
|
|
326
326
|
post_body = nil
|
327
327
|
|
328
328
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s).sub('{' + 'line_id' + '}', line_id.to_s)
|
329
|
-
data
|
329
|
+
data = @api_client.call_api(:GET, local_var_path,
|
330
330
|
:query_params => query_params,
|
331
331
|
:body => post_body)
|
332
|
-
return data
|
332
|
+
return data
|
333
333
|
end
|
334
334
|
|
335
335
|
# List customers
|
@@ -346,10 +346,10 @@ module MailchimpMarketing
|
|
346
346
|
post_body = nil
|
347
347
|
|
348
348
|
local_var_path = '/ecommerce/stores/{store_id}/customers'.sub('{' + 'store_id' + '}', store_id.to_s)
|
349
|
-
data
|
349
|
+
data = @api_client.call_api(:GET, local_var_path,
|
350
350
|
:query_params => query_params,
|
351
351
|
:body => post_body)
|
352
|
-
return data
|
352
|
+
return data
|
353
353
|
end
|
354
354
|
|
355
355
|
# Get customer info
|
@@ -363,10 +363,10 @@ module MailchimpMarketing
|
|
363
363
|
post_body = nil
|
364
364
|
|
365
365
|
local_var_path = '/ecommerce/stores/{store_id}/customers/{customer_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'customer_id' + '}', customer_id.to_s)
|
366
|
-
data
|
366
|
+
data = @api_client.call_api(:GET, local_var_path,
|
367
367
|
:query_params => query_params,
|
368
368
|
:body => post_body)
|
369
|
-
return data
|
369
|
+
return data
|
370
370
|
end
|
371
371
|
|
372
372
|
# List orders
|
@@ -386,10 +386,10 @@ module MailchimpMarketing
|
|
386
386
|
post_body = nil
|
387
387
|
|
388
388
|
local_var_path = '/ecommerce/stores/{store_id}/orders'.sub('{' + 'store_id' + '}', store_id.to_s)
|
389
|
-
data
|
389
|
+
data = @api_client.call_api(:GET, local_var_path,
|
390
390
|
:query_params => query_params,
|
391
391
|
:body => post_body)
|
392
|
-
return data
|
392
|
+
return data
|
393
393
|
end
|
394
394
|
|
395
395
|
# Get order info
|
@@ -403,10 +403,10 @@ module MailchimpMarketing
|
|
403
403
|
post_body = nil
|
404
404
|
|
405
405
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
406
|
-
data
|
406
|
+
data = @api_client.call_api(:GET, local_var_path,
|
407
407
|
:query_params => query_params,
|
408
408
|
:body => post_body)
|
409
|
-
return data
|
409
|
+
return data
|
410
410
|
end
|
411
411
|
|
412
412
|
# List order line items
|
@@ -423,10 +423,10 @@ module MailchimpMarketing
|
|
423
423
|
post_body = nil
|
424
424
|
|
425
425
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}/lines'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
426
|
-
data
|
426
|
+
data = @api_client.call_api(:GET, local_var_path,
|
427
427
|
:query_params => query_params,
|
428
428
|
:body => post_body)
|
429
|
-
return data
|
429
|
+
return data
|
430
430
|
end
|
431
431
|
|
432
432
|
# Get order line item
|
@@ -441,10 +441,10 @@ module MailchimpMarketing
|
|
441
441
|
post_body = nil
|
442
442
|
|
443
443
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s).sub('{' + 'line_id' + '}', line_id.to_s)
|
444
|
-
data
|
444
|
+
data = @api_client.call_api(:GET, local_var_path,
|
445
445
|
:query_params => query_params,
|
446
446
|
:body => post_body)
|
447
|
-
return data
|
447
|
+
return data
|
448
448
|
end
|
449
449
|
|
450
450
|
# List product
|
@@ -462,10 +462,10 @@ module MailchimpMarketing
|
|
462
462
|
post_body = nil
|
463
463
|
|
464
464
|
local_var_path = '/ecommerce/stores/{store_id}/products'.sub('{' + 'store_id' + '}', store_id.to_s)
|
465
|
-
data
|
465
|
+
data = @api_client.call_api(:GET, local_var_path,
|
466
466
|
:query_params => query_params,
|
467
467
|
:body => post_body)
|
468
|
-
return data
|
468
|
+
return data
|
469
469
|
end
|
470
470
|
|
471
471
|
# Get product info
|
@@ -479,10 +479,10 @@ module MailchimpMarketing
|
|
479
479
|
post_body = nil
|
480
480
|
|
481
481
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
482
|
-
data
|
482
|
+
data = @api_client.call_api(:GET, local_var_path,
|
483
483
|
:query_params => query_params,
|
484
484
|
:body => post_body)
|
485
|
-
return data
|
485
|
+
return data
|
486
486
|
end
|
487
487
|
|
488
488
|
# List product images
|
@@ -499,10 +499,10 @@ module MailchimpMarketing
|
|
499
499
|
post_body = nil
|
500
500
|
|
501
501
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/images'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
502
|
-
data
|
502
|
+
data = @api_client.call_api(:GET, local_var_path,
|
503
503
|
:query_params => query_params,
|
504
504
|
:body => post_body)
|
505
|
-
return data
|
505
|
+
return data
|
506
506
|
end
|
507
507
|
|
508
508
|
# Get product image info
|
@@ -517,10 +517,10 @@ module MailchimpMarketing
|
|
517
517
|
post_body = nil
|
518
518
|
|
519
519
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'image_id' + '}', image_id.to_s)
|
520
|
-
data
|
520
|
+
data = @api_client.call_api(:GET, local_var_path,
|
521
521
|
:query_params => query_params,
|
522
522
|
:body => post_body)
|
523
|
-
return data
|
523
|
+
return data
|
524
524
|
end
|
525
525
|
|
526
526
|
# List product variants
|
@@ -537,10 +537,10 @@ module MailchimpMarketing
|
|
537
537
|
post_body = nil
|
538
538
|
|
539
539
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/variants'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
540
|
-
data
|
540
|
+
data = @api_client.call_api(:GET, local_var_path,
|
541
541
|
:query_params => query_params,
|
542
542
|
:body => post_body)
|
543
|
-
return data
|
543
|
+
return data
|
544
544
|
end
|
545
545
|
|
546
546
|
# Get product variant info
|
@@ -555,10 +555,10 @@ module MailchimpMarketing
|
|
555
555
|
post_body = nil
|
556
556
|
|
557
557
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'variant_id' + '}', variant_id.to_s)
|
558
|
-
data
|
558
|
+
data = @api_client.call_api(:GET, local_var_path,
|
559
559
|
:query_params => query_params,
|
560
560
|
:body => post_body)
|
561
|
-
return data
|
561
|
+
return data
|
562
562
|
end
|
563
563
|
|
564
564
|
# List promo codes
|
@@ -575,10 +575,10 @@ module MailchimpMarketing
|
|
575
575
|
post_body = nil
|
576
576
|
|
577
577
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes'.sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s).sub('{' + 'store_id' + '}', store_id.to_s)
|
578
|
-
data
|
578
|
+
data = @api_client.call_api(:GET, local_var_path,
|
579
579
|
:query_params => query_params,
|
580
580
|
:body => post_body)
|
581
|
-
return data
|
581
|
+
return data
|
582
582
|
end
|
583
583
|
|
584
584
|
# Get promo code
|
@@ -593,10 +593,10 @@ module MailchimpMarketing
|
|
593
593
|
post_body = nil
|
594
594
|
|
595
595
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s).sub('{' + 'promo_code_id' + '}', promo_code_id.to_s)
|
596
|
-
data
|
596
|
+
data = @api_client.call_api(:GET, local_var_path,
|
597
597
|
:query_params => query_params,
|
598
598
|
:body => post_body)
|
599
|
-
return data
|
599
|
+
return data
|
600
600
|
end
|
601
601
|
|
602
602
|
# List promo rules
|
@@ -612,10 +612,10 @@ module MailchimpMarketing
|
|
612
612
|
post_body = nil
|
613
613
|
|
614
614
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules'.sub('{' + 'store_id' + '}', store_id.to_s)
|
615
|
-
data
|
615
|
+
data = @api_client.call_api(:GET, local_var_path,
|
616
616
|
:query_params => query_params,
|
617
617
|
:body => post_body)
|
618
|
-
return data
|
618
|
+
return data
|
619
619
|
end
|
620
620
|
|
621
621
|
# Get promo rule
|
@@ -629,10 +629,10 @@ module MailchimpMarketing
|
|
629
629
|
post_body = nil
|
630
630
|
|
631
631
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s)
|
632
|
-
data
|
632
|
+
data = @api_client.call_api(:GET, local_var_path,
|
633
633
|
:query_params => query_params,
|
634
634
|
:body => post_body)
|
635
|
-
return data
|
635
|
+
return data
|
636
636
|
end
|
637
637
|
|
638
638
|
# Update store
|
@@ -644,10 +644,10 @@ module MailchimpMarketing
|
|
644
644
|
post_body = @api_client.object_to_http_body(body)
|
645
645
|
|
646
646
|
local_var_path = '/ecommerce/stores/{store_id}'.sub('{' + 'store_id' + '}', store_id.to_s)
|
647
|
-
data
|
647
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
648
648
|
:query_params => query_params,
|
649
649
|
:body => post_body)
|
650
|
-
return data
|
650
|
+
return data
|
651
651
|
end
|
652
652
|
|
653
653
|
# Update cart
|
@@ -660,10 +660,10 @@ module MailchimpMarketing
|
|
660
660
|
post_body = @api_client.object_to_http_body(body)
|
661
661
|
|
662
662
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s)
|
663
|
-
data
|
663
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
664
664
|
:query_params => query_params,
|
665
665
|
:body => post_body)
|
666
|
-
return data
|
666
|
+
return data
|
667
667
|
end
|
668
668
|
|
669
669
|
# Update cart line item
|
@@ -677,10 +677,10 @@ module MailchimpMarketing
|
|
677
677
|
post_body = @api_client.object_to_http_body(body)
|
678
678
|
|
679
679
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s).sub('{' + 'line_id' + '}', line_id.to_s)
|
680
|
-
data
|
680
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
681
681
|
:query_params => query_params,
|
682
682
|
:body => post_body)
|
683
|
-
return data
|
683
|
+
return data
|
684
684
|
end
|
685
685
|
|
686
686
|
# Update customer
|
@@ -693,10 +693,10 @@ module MailchimpMarketing
|
|
693
693
|
post_body = @api_client.object_to_http_body(body)
|
694
694
|
|
695
695
|
local_var_path = '/ecommerce/stores/{store_id}/customers/{customer_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'customer_id' + '}', customer_id.to_s)
|
696
|
-
data
|
696
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
697
697
|
:query_params => query_params,
|
698
698
|
:body => post_body)
|
699
|
-
return data
|
699
|
+
return data
|
700
700
|
end
|
701
701
|
|
702
702
|
# Update order
|
@@ -709,10 +709,10 @@ module MailchimpMarketing
|
|
709
709
|
post_body = @api_client.object_to_http_body(body)
|
710
710
|
|
711
711
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
712
|
-
data
|
712
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
713
713
|
:query_params => query_params,
|
714
714
|
:body => post_body)
|
715
|
-
return data
|
715
|
+
return data
|
716
716
|
end
|
717
717
|
|
718
718
|
# Update order line item
|
@@ -726,10 +726,10 @@ module MailchimpMarketing
|
|
726
726
|
post_body = @api_client.object_to_http_body(body)
|
727
727
|
|
728
728
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}/lines/{line_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s).sub('{' + 'line_id' + '}', line_id.to_s)
|
729
|
-
data
|
729
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
730
730
|
:query_params => query_params,
|
731
731
|
:body => post_body)
|
732
|
-
return data
|
732
|
+
return data
|
733
733
|
end
|
734
734
|
|
735
735
|
# Update product
|
@@ -742,10 +742,10 @@ module MailchimpMarketing
|
|
742
742
|
post_body = @api_client.object_to_http_body(body)
|
743
743
|
|
744
744
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
745
|
-
data
|
745
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
746
746
|
:query_params => query_params,
|
747
747
|
:body => post_body)
|
748
|
-
return data
|
748
|
+
return data
|
749
749
|
end
|
750
750
|
|
751
751
|
# Update product image
|
@@ -759,10 +759,10 @@ module MailchimpMarketing
|
|
759
759
|
post_body = @api_client.object_to_http_body(body)
|
760
760
|
|
761
761
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/images/{image_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'image_id' + '}', image_id.to_s)
|
762
|
-
data
|
762
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
763
763
|
:query_params => query_params,
|
764
764
|
:body => post_body)
|
765
|
-
return data
|
765
|
+
return data
|
766
766
|
end
|
767
767
|
|
768
768
|
# Update product variant
|
@@ -776,10 +776,10 @@ module MailchimpMarketing
|
|
776
776
|
post_body = @api_client.object_to_http_body(body)
|
777
777
|
|
778
778
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'variant_id' + '}', variant_id.to_s)
|
779
|
-
data
|
779
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
780
780
|
:query_params => query_params,
|
781
781
|
:body => post_body)
|
782
|
-
return data
|
782
|
+
return data
|
783
783
|
end
|
784
784
|
|
785
785
|
# Update promo code
|
@@ -793,10 +793,10 @@ module MailchimpMarketing
|
|
793
793
|
post_body = @api_client.object_to_http_body(body)
|
794
794
|
|
795
795
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes/{promo_code_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s).sub('{' + 'promo_code_id' + '}', promo_code_id.to_s)
|
796
|
-
data
|
796
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
797
797
|
:query_params => query_params,
|
798
798
|
:body => post_body)
|
799
|
-
return data
|
799
|
+
return data
|
800
800
|
end
|
801
801
|
|
802
802
|
# Update promo rule
|
@@ -809,10 +809,10 @@ module MailchimpMarketing
|
|
809
809
|
post_body = @api_client.object_to_http_body(body)
|
810
810
|
|
811
811
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s)
|
812
|
-
data
|
812
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
813
813
|
:query_params => query_params,
|
814
814
|
:body => post_body)
|
815
|
-
return data
|
815
|
+
return data
|
816
816
|
end
|
817
817
|
|
818
818
|
# Add store
|
@@ -823,10 +823,10 @@ module MailchimpMarketing
|
|
823
823
|
post_body = @api_client.object_to_http_body(body)
|
824
824
|
|
825
825
|
local_var_path = '/ecommerce/stores'
|
826
|
-
data
|
826
|
+
data = @api_client.call_api(:POST, local_var_path,
|
827
827
|
:query_params => query_params,
|
828
828
|
:body => post_body)
|
829
|
-
return data
|
829
|
+
return data
|
830
830
|
end
|
831
831
|
|
832
832
|
# Add cart
|
@@ -838,10 +838,10 @@ module MailchimpMarketing
|
|
838
838
|
post_body = @api_client.object_to_http_body(body)
|
839
839
|
|
840
840
|
local_var_path = '/ecommerce/stores/{store_id}/carts'.sub('{' + 'store_id' + '}', store_id.to_s)
|
841
|
-
data
|
841
|
+
data = @api_client.call_api(:POST, local_var_path,
|
842
842
|
:query_params => query_params,
|
843
843
|
:body => post_body)
|
844
|
-
return data
|
844
|
+
return data
|
845
845
|
end
|
846
846
|
|
847
847
|
# Add cart line item
|
@@ -854,10 +854,10 @@ module MailchimpMarketing
|
|
854
854
|
post_body = @api_client.object_to_http_body(body)
|
855
855
|
|
856
856
|
local_var_path = '/ecommerce/stores/{store_id}/carts/{cart_id}/lines'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'cart_id' + '}', cart_id.to_s)
|
857
|
-
data
|
857
|
+
data = @api_client.call_api(:POST, local_var_path,
|
858
858
|
:query_params => query_params,
|
859
859
|
:body => post_body)
|
860
|
-
return data
|
860
|
+
return data
|
861
861
|
end
|
862
862
|
|
863
863
|
# Add customer
|
@@ -869,10 +869,10 @@ module MailchimpMarketing
|
|
869
869
|
post_body = @api_client.object_to_http_body(body)
|
870
870
|
|
871
871
|
local_var_path = '/ecommerce/stores/{store_id}/customers'.sub('{' + 'store_id' + '}', store_id.to_s)
|
872
|
-
data
|
872
|
+
data = @api_client.call_api(:POST, local_var_path,
|
873
873
|
:query_params => query_params,
|
874
874
|
:body => post_body)
|
875
|
-
return data
|
875
|
+
return data
|
876
876
|
end
|
877
877
|
|
878
878
|
# Add order
|
@@ -884,10 +884,10 @@ module MailchimpMarketing
|
|
884
884
|
post_body = @api_client.object_to_http_body(body)
|
885
885
|
|
886
886
|
local_var_path = '/ecommerce/stores/{store_id}/orders'.sub('{' + 'store_id' + '}', store_id.to_s)
|
887
|
-
data
|
887
|
+
data = @api_client.call_api(:POST, local_var_path,
|
888
888
|
:query_params => query_params,
|
889
889
|
:body => post_body)
|
890
|
-
return data
|
890
|
+
return data
|
891
891
|
end
|
892
892
|
|
893
893
|
# Add order line item
|
@@ -900,10 +900,10 @@ module MailchimpMarketing
|
|
900
900
|
post_body = @api_client.object_to_http_body(body)
|
901
901
|
|
902
902
|
local_var_path = '/ecommerce/stores/{store_id}/orders/{order_id}/lines'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'order_id' + '}', order_id.to_s)
|
903
|
-
data
|
903
|
+
data = @api_client.call_api(:POST, local_var_path,
|
904
904
|
:query_params => query_params,
|
905
905
|
:body => post_body)
|
906
|
-
return data
|
906
|
+
return data
|
907
907
|
end
|
908
908
|
|
909
909
|
# Add product
|
@@ -915,10 +915,10 @@ module MailchimpMarketing
|
|
915
915
|
post_body = @api_client.object_to_http_body(body)
|
916
916
|
|
917
917
|
local_var_path = '/ecommerce/stores/{store_id}/products'.sub('{' + 'store_id' + '}', store_id.to_s)
|
918
|
-
data
|
918
|
+
data = @api_client.call_api(:POST, local_var_path,
|
919
919
|
:query_params => query_params,
|
920
920
|
:body => post_body)
|
921
|
-
return data
|
921
|
+
return data
|
922
922
|
end
|
923
923
|
|
924
924
|
# Add product image
|
@@ -931,10 +931,10 @@ module MailchimpMarketing
|
|
931
931
|
post_body = @api_client.object_to_http_body(body)
|
932
932
|
|
933
933
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/images'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
934
|
-
data
|
934
|
+
data = @api_client.call_api(:POST, local_var_path,
|
935
935
|
:query_params => query_params,
|
936
936
|
:body => post_body)
|
937
|
-
return data
|
937
|
+
return data
|
938
938
|
end
|
939
939
|
|
940
940
|
# Add product variant
|
@@ -947,10 +947,10 @@ module MailchimpMarketing
|
|
947
947
|
post_body = @api_client.object_to_http_body(body)
|
948
948
|
|
949
949
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/variants'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s)
|
950
|
-
data
|
950
|
+
data = @api_client.call_api(:POST, local_var_path,
|
951
951
|
:query_params => query_params,
|
952
952
|
:body => post_body)
|
953
|
-
return data
|
953
|
+
return data
|
954
954
|
end
|
955
955
|
|
956
956
|
# Add promo code
|
@@ -963,10 +963,10 @@ module MailchimpMarketing
|
|
963
963
|
post_body = @api_client.object_to_http_body(body)
|
964
964
|
|
965
965
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules/{promo_rule_id}/promo-codes'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'promo_rule_id' + '}', promo_rule_id.to_s)
|
966
|
-
data
|
966
|
+
data = @api_client.call_api(:POST, local_var_path,
|
967
967
|
:query_params => query_params,
|
968
968
|
:body => post_body)
|
969
|
-
return data
|
969
|
+
return data
|
970
970
|
end
|
971
971
|
|
972
972
|
# Add promo rule
|
@@ -978,10 +978,10 @@ module MailchimpMarketing
|
|
978
978
|
post_body = @api_client.object_to_http_body(body)
|
979
979
|
|
980
980
|
local_var_path = '/ecommerce/stores/{store_id}/promo-rules'.sub('{' + 'store_id' + '}', store_id.to_s)
|
981
|
-
data
|
981
|
+
data = @api_client.call_api(:POST, local_var_path,
|
982
982
|
:query_params => query_params,
|
983
983
|
:body => post_body)
|
984
|
-
return data
|
984
|
+
return data
|
985
985
|
end
|
986
986
|
|
987
987
|
# Add or update customer
|
@@ -994,10 +994,10 @@ module MailchimpMarketing
|
|
994
994
|
post_body = @api_client.object_to_http_body(body)
|
995
995
|
|
996
996
|
local_var_path = '/ecommerce/stores/{store_id}/customers/{customer_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'customer_id' + '}', customer_id.to_s)
|
997
|
-
data
|
997
|
+
data = @api_client.call_api(:PUT, local_var_path,
|
998
998
|
:query_params => query_params,
|
999
999
|
:body => post_body)
|
1000
|
-
return data
|
1000
|
+
return data
|
1001
1001
|
end
|
1002
1002
|
|
1003
1003
|
# Add or update product variant
|
@@ -1011,10 +1011,10 @@ module MailchimpMarketing
|
|
1011
1011
|
post_body = @api_client.object_to_http_body(body)
|
1012
1012
|
|
1013
1013
|
local_var_path = '/ecommerce/stores/{store_id}/products/{product_id}/variants/{variant_id}'.sub('{' + 'store_id' + '}', store_id.to_s).sub('{' + 'product_id' + '}', product_id.to_s).sub('{' + 'variant_id' + '}', variant_id.to_s)
|
1014
|
-
data
|
1014
|
+
data = @api_client.call_api(:PUT, local_var_path,
|
1015
1015
|
:query_params => query_params,
|
1016
1016
|
:body => post_body)
|
1017
|
-
return data
|
1017
|
+
return data
|
1018
1018
|
end
|
1019
1019
|
end
|
1020
1020
|
end
|