ultracart_api 3.11.16 → 3.11.18

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.
@@ -44,6 +44,7 @@ Method | HTTP request | Description
44
44
  [**get_email_campaigns**](StorefrontApi.md#get_email_campaigns) | **GET** /storefront/{storefront_oid}/email/campaigns | Get email campaigns
45
45
  [**get_email_campaigns_with_stats**](StorefrontApi.md#get_email_campaigns_with_stats) | **GET** /storefront/{storefront_oid}/email/campaignsWithStats/{stat_days} | Get email campaigns with stats
46
46
  [**get_email_commseq**](StorefrontApi.md#get_email_commseq) | **GET** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid} | Get email commseq
47
+ [**get_email_commseq_editor_values**](StorefrontApi.md#get_email_commseq_editor_values) | **GET** /storefront/{storefront_oid}/email/commseqs/editorValues | Get email merchant specific editor values
47
48
  [**get_email_commseq_email_stats**](StorefrontApi.md#get_email_commseq_email_stats) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/emailStats | Get email communication sequence emails stats
48
49
  [**get_email_commseq_postcard_stats**](StorefrontApi.md#get_email_commseq_postcard_stats) | **POST** /storefront/{storefront_oid}/email/commseqs/{commseq_uuid}/postcardStats | Get email communication sequence postcard stats
49
50
  [**get_email_commseq_postcard_tracking**](StorefrontApi.md#get_email_commseq_postcard_tracking) | **GET** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid}/tracking | Get email communication postcard tracking
@@ -2203,6 +2204,54 @@ Name | Type | Description | Notes
2203
2204
 
2204
2205
 
2205
2206
 
2207
+ # **get_email_commseq_editor_values**
2208
+ > EmailEditorValuesResponse get_email_commseq_editor_values(storefront_oid)
2209
+
2210
+ Get email merchant specific editor values
2211
+
2212
+ ### Example
2213
+ ```ruby
2214
+ # load the gem
2215
+ require 'ultracart_api'
2216
+
2217
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2218
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2219
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2220
+
2221
+
2222
+ storefront_oid = 56 # Integer |
2223
+
2224
+
2225
+ begin
2226
+ #Get email merchant specific editor values
2227
+ result = api_instance.get_email_commseq_editor_values(storefront_oid)
2228
+ p result
2229
+ rescue UltracartClient::ApiError => e
2230
+ puts "Exception when calling StorefrontApi->get_email_commseq_editor_values: #{e}"
2231
+ end
2232
+ ```
2233
+
2234
+ ### Parameters
2235
+
2236
+ Name | Type | Description | Notes
2237
+ ------------- | ------------- | ------------- | -------------
2238
+ **storefront_oid** | **Integer**| |
2239
+
2240
+ ### Return type
2241
+
2242
+ [**EmailEditorValuesResponse**](EmailEditorValuesResponse.md)
2243
+
2244
+ ### Authorization
2245
+
2246
+ [ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
2247
+
2248
+ ### HTTP request headers
2249
+
2250
+ - **Content-Type**: application/json
2251
+ - **Accept**: application/json
2252
+
2253
+
2254
+
2206
2255
  # **get_email_commseq_email_stats**
2207
2256
  > EmailStatSummaryResponse get_email_commseq_email_stats(storefront_oid, commseq_uuid, stats_request)
2208
2257
 
@@ -32,6 +32,60 @@ module UltracartClient
32
32
  UltracartClient::DatawarehouseApi.new(api_client)
33
33
  end
34
34
 
35
+ # Delete a custom dashboard
36
+ # Delete a custom dashboard on the UltraCart account.
37
+ # @param custom_dashboard_oid The dashboard oid to delete.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [nil]
40
+ def delete_custom_dashboard(custom_dashboard_oid, opts = {})
41
+ delete_custom_dashboard_with_http_info(custom_dashboard_oid, opts)
42
+ nil
43
+ end
44
+
45
+ # Delete a custom dashboard
46
+ # Delete a custom dashboard on the UltraCart account.
47
+ # @param custom_dashboard_oid The dashboard oid to delete.
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
50
+ def delete_custom_dashboard_with_http_info(custom_dashboard_oid, opts = {})
51
+ if @api_client.config.debugging
52
+ @api_client.config.logger.debug 'Calling API: DatawarehouseApi.delete_custom_dashboard ...'
53
+ end
54
+ # verify the required parameter 'custom_dashboard_oid' is set
55
+ if @api_client.config.client_side_validation && custom_dashboard_oid.nil?
56
+ fail ArgumentError, "Missing the required parameter 'custom_dashboard_oid' when calling DatawarehouseApi.delete_custom_dashboard"
57
+ end
58
+ # resource path
59
+ local_var_path = '/datawarehouse/custom_dashboards/{custom_dashboard_oid}'.sub('{' + 'custom_dashboard_oid' + '}', custom_dashboard_oid.to_s)
60
+
61
+ # query parameters
62
+ query_params = {}
63
+
64
+ # header parameters
65
+ header_params = {}
66
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
67
+ # HTTP header 'Accept' (if needed)
68
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
69
+ # HTTP header 'Content-Type'
70
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
71
+
72
+ # form parameters
73
+ form_params = {}
74
+
75
+ # http body (model)
76
+ post_body = nil
77
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
78
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
79
+ :header_params => header_params,
80
+ :query_params => query_params,
81
+ :form_params => form_params,
82
+ :body => post_body,
83
+ :auth_names => auth_names)
84
+ if @api_client.config.debugging
85
+ @api_client.config.logger.debug "API called: DatawarehouseApi#delete_custom_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
+ end
87
+ return data, status_code, headers
88
+ end
35
89
  # Delete a custom report
36
90
  # Delete a custom report on the UltraCart account.
37
91
  # @param custom_report_oid The report oid to delete.
@@ -200,7 +254,7 @@ module UltracartClient
200
254
  # @param execution_request Request to execute custom report
201
255
  # @param custom_report_oid The report oid to execute.
202
256
  # @param [Hash] opts the optional parameters
203
- # @return [CustomReportResponse]
257
+ # @return [CustomReportExecutionResponse]
204
258
  def execute_custom_report(execution_request, custom_report_oid, opts = {})
205
259
  data, _status_code, _headers = execute_custom_report_with_http_info(execution_request, custom_report_oid, opts)
206
260
  data
@@ -211,7 +265,7 @@ module UltracartClient
211
265
  # @param execution_request Request to execute custom report
212
266
  # @param custom_report_oid The report oid to execute.
213
267
  # @param [Hash] opts the optional parameters
214
- # @return [Array<(CustomReportResponse, Fixnum, Hash)>] CustomReportResponse data, response status code and response headers
268
+ # @return [Array<(CustomReportExecutionResponse, Fixnum, Hash)>] CustomReportExecutionResponse data, response status code and response headers
215
269
  def execute_custom_report_with_http_info(execution_request, custom_report_oid, opts = {})
216
270
  if @api_client.config.debugging
217
271
  @api_client.config.logger.debug 'Calling API: DatawarehouseApi.execute_custom_report ...'
@@ -250,12 +304,67 @@ module UltracartClient
250
304
  :form_params => form_params,
251
305
  :body => post_body,
252
306
  :auth_names => auth_names,
253
- :return_type => 'CustomReportResponse')
307
+ :return_type => 'CustomReportExecutionResponse')
254
308
  if @api_client.config.debugging
255
309
  @api_client.config.logger.debug "API called: DatawarehouseApi#execute_custom_report\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
256
310
  end
257
311
  return data, status_code, headers
258
312
  end
313
+ # Execute a custom reports
314
+ # Execute a custom reports on the UltraCart account.
315
+ # @param execution_request Request to execute custom reports
316
+ # @param [Hash] opts the optional parameters
317
+ # @return [CustomReportsExecutionResponse]
318
+ def execute_custom_reports(execution_request, opts = {})
319
+ data, _status_code, _headers = execute_custom_reports_with_http_info(execution_request, opts)
320
+ data
321
+ end
322
+
323
+ # Execute a custom reports
324
+ # Execute a custom reports on the UltraCart account.
325
+ # @param execution_request Request to execute custom reports
326
+ # @param [Hash] opts the optional parameters
327
+ # @return [Array<(CustomReportsExecutionResponse, Fixnum, Hash)>] CustomReportsExecutionResponse data, response status code and response headers
328
+ def execute_custom_reports_with_http_info(execution_request, opts = {})
329
+ if @api_client.config.debugging
330
+ @api_client.config.logger.debug 'Calling API: DatawarehouseApi.execute_custom_reports ...'
331
+ end
332
+ # verify the required parameter 'execution_request' is set
333
+ if @api_client.config.client_side_validation && execution_request.nil?
334
+ fail ArgumentError, "Missing the required parameter 'execution_request' when calling DatawarehouseApi.execute_custom_reports"
335
+ end
336
+ # resource path
337
+ local_var_path = '/datawarehouse/custom_reports/execute'
338
+
339
+ # query parameters
340
+ query_params = {}
341
+
342
+ # header parameters
343
+ header_params = {}
344
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
345
+ # HTTP header 'Accept' (if needed)
346
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
347
+ # HTTP header 'Content-Type'
348
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
349
+
350
+ # form parameters
351
+ form_params = {}
352
+
353
+ # http body (model)
354
+ post_body = @api_client.object_to_http_body(execution_request)
355
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
356
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
357
+ :header_params => header_params,
358
+ :query_params => query_params,
359
+ :form_params => form_params,
360
+ :body => post_body,
361
+ :auth_names => auth_names,
362
+ :return_type => 'CustomReportsExecutionResponse')
363
+ if @api_client.config.debugging
364
+ @api_client.config.logger.debug "API called: DatawarehouseApi#execute_custom_reports\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
365
+ end
366
+ return data, status_code, headers
367
+ end
259
368
  # Execute the report queries
260
369
  # Execute the report queries
261
370
  # @param query_request Query request
@@ -310,6 +419,110 @@ module UltracartClient
310
419
  end
311
420
  return data, status_code, headers
312
421
  end
422
+ # Get a custom dashboard
423
+ # Retrieve a custom dashboard
424
+ # @param custom_dashboard_oid
425
+ # @param [Hash] opts the optional parameters
426
+ # @return [CustomDashboardResponse]
427
+ def get_custom_dashboard(custom_dashboard_oid, opts = {})
428
+ data, _status_code, _headers = get_custom_dashboard_with_http_info(custom_dashboard_oid, opts)
429
+ data
430
+ end
431
+
432
+ # Get a custom dashboard
433
+ # Retrieve a custom dashboard
434
+ # @param custom_dashboard_oid
435
+ # @param [Hash] opts the optional parameters
436
+ # @return [Array<(CustomDashboardResponse, Fixnum, Hash)>] CustomDashboardResponse data, response status code and response headers
437
+ def get_custom_dashboard_with_http_info(custom_dashboard_oid, opts = {})
438
+ if @api_client.config.debugging
439
+ @api_client.config.logger.debug 'Calling API: DatawarehouseApi.get_custom_dashboard ...'
440
+ end
441
+ # verify the required parameter 'custom_dashboard_oid' is set
442
+ if @api_client.config.client_side_validation && custom_dashboard_oid.nil?
443
+ fail ArgumentError, "Missing the required parameter 'custom_dashboard_oid' when calling DatawarehouseApi.get_custom_dashboard"
444
+ end
445
+ # resource path
446
+ local_var_path = '/datawarehouse/custom_dashboards/{custom_dashboard_oid}'.sub('{' + 'custom_dashboard_oid' + '}', custom_dashboard_oid.to_s)
447
+
448
+ # query parameters
449
+ query_params = {}
450
+
451
+ # header parameters
452
+ header_params = {}
453
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
454
+ # HTTP header 'Accept' (if needed)
455
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
456
+ # HTTP header 'Content-Type'
457
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
458
+
459
+ # form parameters
460
+ form_params = {}
461
+
462
+ # http body (model)
463
+ post_body = nil
464
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
465
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
466
+ :header_params => header_params,
467
+ :query_params => query_params,
468
+ :form_params => form_params,
469
+ :body => post_body,
470
+ :auth_names => auth_names,
471
+ :return_type => 'CustomDashboardResponse')
472
+ if @api_client.config.debugging
473
+ @api_client.config.logger.debug "API called: DatawarehouseApi#get_custom_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
474
+ end
475
+ return data, status_code, headers
476
+ end
477
+ # Get custom dashboards
478
+ # Retrieve a custom dashboards
479
+ # @param [Hash] opts the optional parameters
480
+ # @return [CustomDashboardsResponse]
481
+ def get_custom_dashboards(opts = {})
482
+ data, _status_code, _headers = get_custom_dashboards_with_http_info(opts)
483
+ data
484
+ end
485
+
486
+ # Get custom dashboards
487
+ # Retrieve a custom dashboards
488
+ # @param [Hash] opts the optional parameters
489
+ # @return [Array<(CustomDashboardsResponse, Fixnum, Hash)>] CustomDashboardsResponse data, response status code and response headers
490
+ def get_custom_dashboards_with_http_info(opts = {})
491
+ if @api_client.config.debugging
492
+ @api_client.config.logger.debug 'Calling API: DatawarehouseApi.get_custom_dashboards ...'
493
+ end
494
+ # resource path
495
+ local_var_path = '/datawarehouse/custom_dashboards'
496
+
497
+ # query parameters
498
+ query_params = {}
499
+
500
+ # header parameters
501
+ header_params = {}
502
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
503
+ # HTTP header 'Accept' (if needed)
504
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
505
+ # HTTP header 'Content-Type'
506
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
507
+
508
+ # form parameters
509
+ form_params = {}
510
+
511
+ # http body (model)
512
+ post_body = nil
513
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
514
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
515
+ :header_params => header_params,
516
+ :query_params => query_params,
517
+ :form_params => form_params,
518
+ :body => post_body,
519
+ :auth_names => auth_names,
520
+ :return_type => 'CustomDashboardsResponse')
521
+ if @api_client.config.debugging
522
+ @api_client.config.logger.debug "API called: DatawarehouseApi#get_custom_dashboards\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
523
+ end
524
+ return data, status_code, headers
525
+ end
313
526
  # Get a custom report
314
527
  # Retrieve a custom report
315
528
  # @param custom_report_oid
@@ -732,6 +945,61 @@ module UltracartClient
732
945
  end
733
946
  return data, status_code, headers
734
947
  end
948
+ # Create a custom dashboard
949
+ # Create a new custom dashboard on the UltraCart account.
950
+ # @param dashboard Dashboard to create
951
+ # @param [Hash] opts the optional parameters
952
+ # @return [CustomDashboardResponse]
953
+ def insert_custom_dashboard(dashboard, opts = {})
954
+ data, _status_code, _headers = insert_custom_dashboard_with_http_info(dashboard, opts)
955
+ data
956
+ end
957
+
958
+ # Create a custom dashboard
959
+ # Create a new custom dashboard on the UltraCart account.
960
+ # @param dashboard Dashboard to create
961
+ # @param [Hash] opts the optional parameters
962
+ # @return [Array<(CustomDashboardResponse, Fixnum, Hash)>] CustomDashboardResponse data, response status code and response headers
963
+ def insert_custom_dashboard_with_http_info(dashboard, opts = {})
964
+ if @api_client.config.debugging
965
+ @api_client.config.logger.debug 'Calling API: DatawarehouseApi.insert_custom_dashboard ...'
966
+ end
967
+ # verify the required parameter 'dashboard' is set
968
+ if @api_client.config.client_side_validation && dashboard.nil?
969
+ fail ArgumentError, "Missing the required parameter 'dashboard' when calling DatawarehouseApi.insert_custom_dashboard"
970
+ end
971
+ # resource path
972
+ local_var_path = '/datawarehouse/custom_dashboards'
973
+
974
+ # query parameters
975
+ query_params = {}
976
+
977
+ # header parameters
978
+ header_params = {}
979
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
980
+ # HTTP header 'Accept' (if needed)
981
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
982
+ # HTTP header 'Content-Type'
983
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
984
+
985
+ # form parameters
986
+ form_params = {}
987
+
988
+ # http body (model)
989
+ post_body = @api_client.object_to_http_body(dashboard)
990
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
991
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
992
+ :header_params => header_params,
993
+ :query_params => query_params,
994
+ :form_params => form_params,
995
+ :body => post_body,
996
+ :auth_names => auth_names,
997
+ :return_type => 'CustomDashboardResponse')
998
+ if @api_client.config.debugging
999
+ @api_client.config.logger.debug "API called: DatawarehouseApi#insert_custom_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1000
+ end
1001
+ return data, status_code, headers
1002
+ end
735
1003
  # Create a custom report
736
1004
  # Create a new custom report on the UltraCart account.
737
1005
  # @param report Report to create
@@ -842,6 +1110,67 @@ module UltracartClient
842
1110
  end
843
1111
  return data, status_code, headers
844
1112
  end
1113
+ # Update a custom dashboard
1114
+ # Update a custom dashboard on the UltraCart account.
1115
+ # @param dashboard Dashboard to custom update
1116
+ # @param custom_dashboard_oid The dashboard oid to custom update.
1117
+ # @param [Hash] opts the optional parameters
1118
+ # @return [CustomDashboardResponse]
1119
+ def update_custom_dashboard(dashboard, custom_dashboard_oid, opts = {})
1120
+ data, _status_code, _headers = update_custom_dashboard_with_http_info(dashboard, custom_dashboard_oid, opts)
1121
+ data
1122
+ end
1123
+
1124
+ # Update a custom dashboard
1125
+ # Update a custom dashboard on the UltraCart account.
1126
+ # @param dashboard Dashboard to custom update
1127
+ # @param custom_dashboard_oid The dashboard oid to custom update.
1128
+ # @param [Hash] opts the optional parameters
1129
+ # @return [Array<(CustomDashboardResponse, Fixnum, Hash)>] CustomDashboardResponse data, response status code and response headers
1130
+ def update_custom_dashboard_with_http_info(dashboard, custom_dashboard_oid, opts = {})
1131
+ if @api_client.config.debugging
1132
+ @api_client.config.logger.debug 'Calling API: DatawarehouseApi.update_custom_dashboard ...'
1133
+ end
1134
+ # verify the required parameter 'dashboard' is set
1135
+ if @api_client.config.client_side_validation && dashboard.nil?
1136
+ fail ArgumentError, "Missing the required parameter 'dashboard' when calling DatawarehouseApi.update_custom_dashboard"
1137
+ end
1138
+ # verify the required parameter 'custom_dashboard_oid' is set
1139
+ if @api_client.config.client_side_validation && custom_dashboard_oid.nil?
1140
+ fail ArgumentError, "Missing the required parameter 'custom_dashboard_oid' when calling DatawarehouseApi.update_custom_dashboard"
1141
+ end
1142
+ # resource path
1143
+ local_var_path = '/datawarehouse/custom_dashboards/{custom_dashboard_oid}'.sub('{' + 'custom_dashboard_oid' + '}', custom_dashboard_oid.to_s)
1144
+
1145
+ # query parameters
1146
+ query_params = {}
1147
+
1148
+ # header parameters
1149
+ header_params = {}
1150
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1151
+ # HTTP header 'Accept' (if needed)
1152
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1153
+ # HTTP header 'Content-Type'
1154
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1155
+
1156
+ # form parameters
1157
+ form_params = {}
1158
+
1159
+ # http body (model)
1160
+ post_body = @api_client.object_to_http_body(dashboard)
1161
+ auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1162
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1163
+ :header_params => header_params,
1164
+ :query_params => query_params,
1165
+ :form_params => form_params,
1166
+ :body => post_body,
1167
+ :auth_names => auth_names,
1168
+ :return_type => 'CustomDashboardResponse')
1169
+ if @api_client.config.debugging
1170
+ @api_client.config.logger.debug "API called: DatawarehouseApi#update_custom_dashboard\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1171
+ end
1172
+ return data, status_code, headers
1173
+ end
845
1174
  # Update a custom report
846
1175
  # Update a custom report on the UltraCart account.
847
1176
  # @param report Report to custom update
@@ -2327,6 +2327,59 @@ module UltracartClient
2327
2327
  end
2328
2328
  return data, status_code, headers
2329
2329
  end
2330
+ # Get email merchant specific editor values
2331
+ # @param storefront_oid
2332
+ # @param [Hash] opts the optional parameters
2333
+ # @return [EmailEditorValuesResponse]
2334
+ def get_email_commseq_editor_values(storefront_oid, opts = {})
2335
+ data, _status_code, _headers = get_email_commseq_editor_values_with_http_info(storefront_oid, opts)
2336
+ data
2337
+ end
2338
+
2339
+ # Get email merchant specific editor values
2340
+ # @param storefront_oid
2341
+ # @param [Hash] opts the optional parameters
2342
+ # @return [Array<(EmailEditorValuesResponse, Fixnum, Hash)>] EmailEditorValuesResponse data, response status code and response headers
2343
+ def get_email_commseq_editor_values_with_http_info(storefront_oid, opts = {})
2344
+ if @api_client.config.debugging
2345
+ @api_client.config.logger.debug 'Calling API: StorefrontApi.get_email_commseq_editor_values ...'
2346
+ end
2347
+ # verify the required parameter 'storefront_oid' is set
2348
+ if @api_client.config.client_side_validation && storefront_oid.nil?
2349
+ fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.get_email_commseq_editor_values"
2350
+ end
2351
+ # resource path
2352
+ local_var_path = '/storefront/{storefront_oid}/email/commseqs/editorValues'.sub('{' + 'storefront_oid' + '}', storefront_oid.to_s)
2353
+
2354
+ # query parameters
2355
+ query_params = {}
2356
+
2357
+ # header parameters
2358
+ header_params = {}
2359
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
2360
+ # HTTP header 'Accept' (if needed)
2361
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2362
+ # HTTP header 'Content-Type'
2363
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
2364
+
2365
+ # form parameters
2366
+ form_params = {}
2367
+
2368
+ # http body (model)
2369
+ post_body = nil
2370
+ auth_names = ['ultraCartBrowserApiKey', 'ultraCartOauth', 'ultraCartSimpleApiKey']
2371
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
2372
+ :header_params => header_params,
2373
+ :query_params => query_params,
2374
+ :form_params => form_params,
2375
+ :body => post_body,
2376
+ :auth_names => auth_names,
2377
+ :return_type => 'EmailEditorValuesResponse')
2378
+ if @api_client.config.debugging
2379
+ @api_client.config.logger.debug "API called: StorefrontApi#get_email_commseq_editor_values\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2380
+ end
2381
+ return data, status_code, headers
2382
+ end
2330
2383
  # Get email communication sequence emails stats
2331
2384
  # @param storefront_oid
2332
2385
  # @param commseq_uuid