ultracart_api 3.1.18 → 3.1.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -4
- data/docs/CouponPercentOffMsrpItems.md +1 -1
- data/docs/CouponTierAmount.md +1 -0
- data/docs/CouponTierPercent.md +1 -0
- data/docs/CouponTierQuantityAmount.md +1 -0
- data/docs/CouponTierQuantityPercent.md +1 -0
- data/docs/CouponTieredPercentOffShipping.md +1 -0
- data/docs/CustomerLoyalty.md +1 -0
- data/docs/EmailCampaign.md +2 -1
- data/docs/EmailFlow.md +2 -1
- data/docs/LibraryItemAttribute.md +0 -1
- data/docs/OrderApi.md +1 -1
- data/docs/OrderProcessPaymentRequest.md +1 -0
- data/docs/OrderSummary.md +1 -0
- data/docs/ScreenRecording.md +13 -0
- data/docs/ScreenRecordingAdPlatform.md +13 -0
- data/docs/ScreenRecordingFilter.md +12 -0
- data/docs/ScreenRecordingFilterPageView.md +1 -0
- data/docs/ScreenRecordingFilterValues.md +12 -2
- data/docs/ScreenRecordingFilterValuesPageView.md +13 -0
- data/docs/ScreenRecordingHeatmap.md +19 -0
- data/docs/ScreenRecordingHeatmapIndexResponse.md +12 -0
- data/docs/ScreenRecordingHeatmapRequest.md +9 -0
- data/docs/ScreenRecordingHeatmapReset.md +8 -0
- data/docs/ScreenRecordingHeatmapResponse.md +12 -0
- data/docs/ScreenRecordingHeatmapUrl.md +12 -0
- data/docs/ScreenRecordingPageView.md +3 -0
- data/docs/ScreenRecordingPageViewEvent.md +1 -0
- data/docs/ScreenRecordingQueryResponse.md +3 -0
- data/docs/ScreenRecordingSegment.md +3 -0
- data/docs/ScreenRecordingSettings.md +5 -0
- data/docs/StorefrontApi.md +158 -0
- data/docs/WebhookLog.md +1 -0
- data/lib/ultracart_api.rb +8 -0
- data/lib/ultracart_api/api/order_api.rb +2 -2
- data/lib/ultracart_api/api/storefront_api.rb +176 -0
- data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +1 -1
- data/lib/ultracart_api/models/coupon_tier_amount.rb +26 -1
- data/lib/ultracart_api/models/coupon_tier_percent.rb +26 -1
- data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +29 -4
- data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +29 -4
- data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +26 -1
- data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
- data/lib/ultracart_api/models/email_campaign.rb +12 -2
- data/lib/ultracart_api/models/email_flow.rb +12 -2
- data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
- data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
- data/lib/ultracart_api/models/order_summary.rb +10 -1
- data/lib/ultracart_api/models/screen_recording.rb +128 -1
- data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
- data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
- data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +10 -1
- data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
- data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +237 -0
- data/lib/ultracart_api/models/screen_recording_heatmap.rb +283 -0
- data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +223 -0
- data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +193 -0
- data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +184 -0
- data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +221 -0
- data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +222 -0
- data/lib/ultracart_api/models/screen_recording_page_view.rb +30 -1
- data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
- data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
- data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
- data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
- data/lib/ultracart_api/models/webhook_log.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +18 -2
@@ -0,0 +1,12 @@
|
|
1
|
+
# UltracartClient::ScreenRecordingHeatmapUrl
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**histogram_data** | **Array<Integer>** | | [optional]
|
7
|
+
**histogram_interval** | **String** | | [optional]
|
8
|
+
**histogram_start_dts** | **String** | | [optional]
|
9
|
+
**session_count** | **Integer** | | [optional]
|
10
|
+
**url** | **String** | | [optional]
|
11
|
+
|
12
|
+
|
@@ -3,6 +3,7 @@
|
|
3
3
|
## Properties
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
|
+
**domain** | **String** | | [optional]
|
6
7
|
**events** | [**Array<ScreenRecordingPageViewEvent>**](ScreenRecordingPageViewEvent.md) | | [optional]
|
7
8
|
**first_event_timestamp** | **String** | First event timestamp | [optional]
|
8
9
|
**http_post** | **BOOLEAN** | | [optional]
|
@@ -16,6 +17,8 @@ Name | Type | Description | Notes
|
|
16
17
|
**referrer_raw** | **String** | | [optional]
|
17
18
|
**screen_recording_page_view_uuid** | **String** | | [optional]
|
18
19
|
**time_on_page** | **Integer** | | [optional]
|
20
|
+
**timing_dom_content_loaded** | **Integer** | Amount of time for DOMContentLoaded event to fire (milliseconds) | [optional]
|
21
|
+
**timing_loaded** | **Integer** | Amount of time for loaded event to fire (milliseconds) | [optional]
|
19
22
|
**truncated_events** | **BOOLEAN** | | [optional]
|
20
23
|
**ucapv** | **String** | | [optional]
|
21
24
|
**url** | **String** | | [optional]
|
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**name** | **String** | | [optional]
|
7
7
|
**params** | [**Array<ScreenRecordingPageViewEventParameter>**](ScreenRecordingPageViewEventParameter.md) | | [optional]
|
8
|
+
**prior_page_view** | **BOOLEAN** | | [optional]
|
8
9
|
**timestamp** | **String** | Timestamp of the event | [optional]
|
9
10
|
**ts** | **Integer** | | [optional]
|
10
11
|
|
@@ -6,6 +6,9 @@ Name | Type | Description | Notes
|
|
6
6
|
**error** | [**Error**](Error.md) | | [optional]
|
7
7
|
**filter** | [**ScreenRecordingFilter**](ScreenRecordingFilter.md) | | [optional]
|
8
8
|
**filter_values** | [**ScreenRecordingFilterValues**](ScreenRecordingFilterValues.md) | | [optional]
|
9
|
+
**histogram_data** | **Array<Integer>** | | [optional]
|
10
|
+
**histogram_interval** | **String** | | [optional]
|
11
|
+
**histogram_start_dts** | **String** | | [optional]
|
9
12
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
10
13
|
**screen_recordings** | [**Array<ScreenRecording>**](ScreenRecording.md) | | [optional]
|
11
14
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
@@ -6,6 +6,9 @@ Name | Type | Description | Notes
|
|
6
6
|
**create_dts** | **String** | | [optional]
|
7
7
|
**description** | **String** | | [optional]
|
8
8
|
**filter** | [**ScreenRecordingFilter**](ScreenRecordingFilter.md) | | [optional]
|
9
|
+
**histogram_data** | **Array<Integer>** | | [optional]
|
10
|
+
**histogram_interval** | **String** | | [optional]
|
11
|
+
**histogram_start_dts** | **String** | | [optional]
|
9
12
|
**name** | **String** | | [optional]
|
10
13
|
**screen_recording_segment_oid** | **Integer** | | [optional]
|
11
14
|
**session_count** | **Integer** | | [optional]
|
@@ -4,5 +4,10 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**enabled** | **BOOLEAN** | | [optional]
|
7
|
+
**sessions_current_billing_period** | **Integer** | | [optional]
|
8
|
+
**sessions_last_billing_period** | **Integer** | | [optional]
|
9
|
+
**sessions_trial_billing_period** | **Integer** | | [optional]
|
10
|
+
**trial_expiration** | **String** | | [optional]
|
11
|
+
**trial_expired** | **BOOLEAN** | | [optional]
|
7
12
|
|
8
13
|
|
data/docs/StorefrontApi.md
CHANGED
@@ -21,6 +21,7 @@ Method | HTTP request | Description
|
|
21
21
|
[**delete_email_postcard**](StorefrontApi.md#delete_email_postcard) | **DELETE** /storefront/{storefront_oid}/email/postcards/{commseq_postcard_uuid} | Delete email postcard
|
22
22
|
[**delete_email_sending_domain**](StorefrontApi.md#delete_email_sending_domain) | **DELETE** /storefront/email/sending_domains/{domain} | delete email campaign
|
23
23
|
[**delete_experiment**](StorefrontApi.md#delete_experiment) | **DELETE** /storefront/{storefront_oid}/experiments/{storefront_experiment_oid} | Delete experiment
|
24
|
+
[**delete_heatmap**](StorefrontApi.md#delete_heatmap) | **DELETE** /storefront/{storefront_oid}/screen_recordings/heatmap | Delete screen recording heatmap
|
24
25
|
[**delete_library_item**](StorefrontApi.md#delete_library_item) | **DELETE** /storefront/code_library/{library_item_oid} | Delete library item
|
25
26
|
[**delete_library_item_published_versions**](StorefrontApi.md#delete_library_item_published_versions) | **DELETE** /storefront/code_library/{library_item_oid}/published_versions | Delete all published versions for a library item, including anything in review.
|
26
27
|
[**delete_screen_recording_segment**](StorefrontApi.md#delete_screen_recording_segment) | **DELETE** /storefront/{storefront_oid}/screen_recordings/segments/{screen_recording_segment_oid} | Delete screen recording segment
|
@@ -80,6 +81,8 @@ Method | HTTP request | Description
|
|
80
81
|
[**get_email_templates**](StorefrontApi.md#get_email_templates) | **GET** /storefront/{storefront_oid}/email/templates | Get email templates
|
81
82
|
[**get_email_third_party_providers**](StorefrontApi.md#get_email_third_party_providers) | **GET** /storefront/{storefront_oid}/email/third_party_providers | Get a list of third party email providers
|
82
83
|
[**get_experiments**](StorefrontApi.md#get_experiments) | **GET** /storefront/{storefront_oid}/experiments | Get experiments
|
84
|
+
[**get_heatmap**](StorefrontApi.md#get_heatmap) | **POST** /storefront/{storefront_oid}/screen_recordings/heatmap | Get screen recording heatmap
|
85
|
+
[**get_heatmap_index**](StorefrontApi.md#get_heatmap_index) | **POST** /storefront/{storefront_oid}/screen_recordings/heatmap/index | Get screen recording heatmap index
|
83
86
|
[**get_histogram_property_names**](StorefrontApi.md#get_histogram_property_names) | **GET** /storefront/{storefront_oid}/email/histogram/property_names | Get histogram property names
|
84
87
|
[**get_histogram_property_values**](StorefrontApi.md#get_histogram_property_values) | **GET** /storefront/{storefront_oid}/email/histogram/property_values | Get histogram property values
|
85
88
|
[**get_library_filter_values**](StorefrontApi.md#get_library_filter_values) | **GET** /storefront/code_library/filter_values | Get library values used to populate drop down boxes for filtering.
|
@@ -1020,6 +1023,58 @@ nil (empty response body)
|
|
1020
1023
|
|
1021
1024
|
|
1022
1025
|
|
1026
|
+
# **delete_heatmap**
|
1027
|
+
> delete_heatmap(storefront_oid, query)
|
1028
|
+
|
1029
|
+
Delete screen recording heatmap
|
1030
|
+
|
1031
|
+
Delete screen recording heatmap
|
1032
|
+
|
1033
|
+
### Example
|
1034
|
+
```ruby
|
1035
|
+
# load the gem
|
1036
|
+
require 'ultracart_api'
|
1037
|
+
|
1038
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
1039
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
1040
|
+
api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
|
1041
|
+
|
1042
|
+
|
1043
|
+
storefront_oid = 56 # Integer |
|
1044
|
+
|
1045
|
+
query = UltracartClient::ScreenRecordingHeatmapReset.new # ScreenRecordingHeatmapReset | Query
|
1046
|
+
|
1047
|
+
|
1048
|
+
begin
|
1049
|
+
#Delete screen recording heatmap
|
1050
|
+
api_instance.delete_heatmap(storefront_oid, query)
|
1051
|
+
rescue UltracartClient::ApiError => e
|
1052
|
+
puts "Exception when calling StorefrontApi->delete_heatmap: #{e}"
|
1053
|
+
end
|
1054
|
+
```
|
1055
|
+
|
1056
|
+
### Parameters
|
1057
|
+
|
1058
|
+
Name | Type | Description | Notes
|
1059
|
+
------------- | ------------- | ------------- | -------------
|
1060
|
+
**storefront_oid** | **Integer**| |
|
1061
|
+
**query** | [**ScreenRecordingHeatmapReset**](ScreenRecordingHeatmapReset.md)| Query |
|
1062
|
+
|
1063
|
+
### Return type
|
1064
|
+
|
1065
|
+
nil (empty response body)
|
1066
|
+
|
1067
|
+
### Authorization
|
1068
|
+
|
1069
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
1070
|
+
|
1071
|
+
### HTTP request headers
|
1072
|
+
|
1073
|
+
- **Content-Type**: application/json
|
1074
|
+
- **Accept**: application/json
|
1075
|
+
|
1076
|
+
|
1077
|
+
|
1023
1078
|
# **delete_library_item**
|
1024
1079
|
> delete_library_item(library_item_oid)
|
1025
1080
|
|
@@ -4010,6 +4065,109 @@ Name | Type | Description | Notes
|
|
4010
4065
|
|
4011
4066
|
|
4012
4067
|
|
4068
|
+
# **get_heatmap**
|
4069
|
+
> ScreenRecordingHeatmapResponse get_heatmap(storefront_oid, query)
|
4070
|
+
|
4071
|
+
Get screen recording heatmap
|
4072
|
+
|
4073
|
+
Get screen recording heatmap
|
4074
|
+
|
4075
|
+
### Example
|
4076
|
+
```ruby
|
4077
|
+
# load the gem
|
4078
|
+
require 'ultracart_api'
|
4079
|
+
|
4080
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
4081
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
4082
|
+
api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
|
4083
|
+
|
4084
|
+
|
4085
|
+
storefront_oid = 56 # Integer |
|
4086
|
+
|
4087
|
+
query = UltracartClient::ScreenRecordingHeatmapRequest.new # ScreenRecordingHeatmapRequest | Query
|
4088
|
+
|
4089
|
+
|
4090
|
+
begin
|
4091
|
+
#Get screen recording heatmap
|
4092
|
+
result = api_instance.get_heatmap(storefront_oid, query)
|
4093
|
+
p result
|
4094
|
+
rescue UltracartClient::ApiError => e
|
4095
|
+
puts "Exception when calling StorefrontApi->get_heatmap: #{e}"
|
4096
|
+
end
|
4097
|
+
```
|
4098
|
+
|
4099
|
+
### Parameters
|
4100
|
+
|
4101
|
+
Name | Type | Description | Notes
|
4102
|
+
------------- | ------------- | ------------- | -------------
|
4103
|
+
**storefront_oid** | **Integer**| |
|
4104
|
+
**query** | [**ScreenRecordingHeatmapRequest**](ScreenRecordingHeatmapRequest.md)| Query |
|
4105
|
+
|
4106
|
+
### Return type
|
4107
|
+
|
4108
|
+
[**ScreenRecordingHeatmapResponse**](ScreenRecordingHeatmapResponse.md)
|
4109
|
+
|
4110
|
+
### Authorization
|
4111
|
+
|
4112
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
4113
|
+
|
4114
|
+
### HTTP request headers
|
4115
|
+
|
4116
|
+
- **Content-Type**: application/json
|
4117
|
+
- **Accept**: application/json
|
4118
|
+
|
4119
|
+
|
4120
|
+
|
4121
|
+
# **get_heatmap_index**
|
4122
|
+
> ScreenRecordingHeatmapIndexResponse get_heatmap_index(storefront_oid)
|
4123
|
+
|
4124
|
+
Get screen recording heatmap index
|
4125
|
+
|
4126
|
+
Get screen recording heatmap index
|
4127
|
+
|
4128
|
+
### Example
|
4129
|
+
```ruby
|
4130
|
+
# load the gem
|
4131
|
+
require 'ultracart_api'
|
4132
|
+
|
4133
|
+
# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
|
4134
|
+
simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
|
4135
|
+
api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
|
4136
|
+
|
4137
|
+
|
4138
|
+
storefront_oid = 56 # Integer |
|
4139
|
+
|
4140
|
+
|
4141
|
+
begin
|
4142
|
+
#Get screen recording heatmap index
|
4143
|
+
result = api_instance.get_heatmap_index(storefront_oid)
|
4144
|
+
p result
|
4145
|
+
rescue UltracartClient::ApiError => e
|
4146
|
+
puts "Exception when calling StorefrontApi->get_heatmap_index: #{e}"
|
4147
|
+
end
|
4148
|
+
```
|
4149
|
+
|
4150
|
+
### Parameters
|
4151
|
+
|
4152
|
+
Name | Type | Description | Notes
|
4153
|
+
------------- | ------------- | ------------- | -------------
|
4154
|
+
**storefront_oid** | **Integer**| |
|
4155
|
+
|
4156
|
+
### Return type
|
4157
|
+
|
4158
|
+
[**ScreenRecordingHeatmapIndexResponse**](ScreenRecordingHeatmapIndexResponse.md)
|
4159
|
+
|
4160
|
+
### Authorization
|
4161
|
+
|
4162
|
+
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
|
4163
|
+
|
4164
|
+
### HTTP request headers
|
4165
|
+
|
4166
|
+
- **Content-Type**: application/json
|
4167
|
+
- **Accept**: application/json
|
4168
|
+
|
4169
|
+
|
4170
|
+
|
4013
4171
|
# **get_histogram_property_names**
|
4014
4172
|
> EmailHistogramPropertyNamesResponse get_histogram_property_names(storefront_oid, opts)
|
4015
4173
|
|
data/docs/WebhookLog.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**delivery_dts** | **String** | Date/time of delivery | [optional]
|
7
7
|
**duration** | **Integer** | Number of milliseconds to process the notification | [optional]
|
8
|
+
**queue_delay** | **Integer** | Number of milliseconds of delay caused by queuing | [optional]
|
8
9
|
**request** | **String** | Request payload (first 100,000 characters) | [optional]
|
9
10
|
**request_headers** | [**Array<HTTPHeader>**](HTTPHeader.md) | Request headers sent to the server | [optional]
|
10
11
|
**request_id** | **String** | Request id is a unique string that you can look up in the logs | [optional]
|
data/lib/ultracart_api.rb
CHANGED
@@ -486,6 +486,7 @@ require 'ultracart_api/models/register_affiliate_click_response'
|
|
486
486
|
require 'ultracart_api/models/response_metadata'
|
487
487
|
require 'ultracart_api/models/result_set'
|
488
488
|
require 'ultracart_api/models/screen_recording'
|
489
|
+
require 'ultracart_api/models/screen_recording_ad_platform'
|
489
490
|
require 'ultracart_api/models/screen_recording_filter'
|
490
491
|
require 'ultracart_api/models/screen_recording_filter_geo_distance'
|
491
492
|
require 'ultracart_api/models/screen_recording_filter_ip_search'
|
@@ -502,6 +503,13 @@ require 'ultracart_api/models/screen_recording_filter_values'
|
|
502
503
|
require 'ultracart_api/models/screen_recording_filter_values_event'
|
503
504
|
require 'ultracart_api/models/screen_recording_filter_values_event_params'
|
504
505
|
require 'ultracart_api/models/screen_recording_filter_values_page_param'
|
506
|
+
require 'ultracart_api/models/screen_recording_filter_values_page_view'
|
507
|
+
require 'ultracart_api/models/screen_recording_heatmap'
|
508
|
+
require 'ultracart_api/models/screen_recording_heatmap_index_response'
|
509
|
+
require 'ultracart_api/models/screen_recording_heatmap_request'
|
510
|
+
require 'ultracart_api/models/screen_recording_heatmap_reset'
|
511
|
+
require 'ultracart_api/models/screen_recording_heatmap_response'
|
512
|
+
require 'ultracart_api/models/screen_recording_heatmap_url'
|
505
513
|
require 'ultracart_api/models/screen_recording_merchant_notes_request'
|
506
514
|
require 'ultracart_api/models/screen_recording_multifield'
|
507
515
|
require 'ultracart_api/models/screen_recording_page_view'
|
@@ -33,7 +33,7 @@ module UltracartClient
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# Adjusts an order total
|
36
|
-
# Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order.
|
36
|
+
# Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order and must be less than the current total and greater than zero. This call will change the order total. It returns true if the desired total is achieved. If the goal seeking algorithm falls short (usually by pennies), this method returns back false. View the merchant notes for the order for further details.
|
37
37
|
# @param order_id The order id to cancel.
|
38
38
|
# @param desired_total The desired total with no formatting. example 123.45
|
39
39
|
# @param [Hash] opts the optional parameters
|
@@ -44,7 +44,7 @@ module UltracartClient
|
|
44
44
|
end
|
45
45
|
|
46
46
|
# Adjusts an order total
|
47
|
-
# Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order.
|
47
|
+
# Adjusts an order total. Adjusts individual items appropriately and considers taxes. Desired total should be provided in the same currency as the order and must be less than the current total and greater than zero. This call will change the order total. It returns true if the desired total is achieved. If the goal seeking algorithm falls short (usually by pennies), this method returns back false. View the merchant notes for the order for further details.
|
48
48
|
# @param order_id The order id to cancel.
|
49
49
|
# @param desired_total The desired total with no formatting. example 123.45
|
50
50
|
# @param [Hash] opts the optional parameters
|
@@ -1033,6 +1033,66 @@ module UltracartClient
|
|
1033
1033
|
end
|
1034
1034
|
return data, status_code, headers
|
1035
1035
|
end
|
1036
|
+
# Delete screen recording heatmap
|
1037
|
+
# Delete screen recording heatmap
|
1038
|
+
# @param storefront_oid
|
1039
|
+
# @param query Query
|
1040
|
+
# @param [Hash] opts the optional parameters
|
1041
|
+
# @return [nil]
|
1042
|
+
def delete_heatmap(storefront_oid, query, opts = {})
|
1043
|
+
delete_heatmap_with_http_info(storefront_oid, query, opts)
|
1044
|
+
nil
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
# Delete screen recording heatmap
|
1048
|
+
# Delete screen recording heatmap
|
1049
|
+
# @param storefront_oid
|
1050
|
+
# @param query Query
|
1051
|
+
# @param [Hash] opts the optional parameters
|
1052
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
1053
|
+
def delete_heatmap_with_http_info(storefront_oid, query, opts = {})
|
1054
|
+
if @api_client.config.debugging
|
1055
|
+
@api_client.config.logger.debug 'Calling API: StorefrontApi.delete_heatmap ...'
|
1056
|
+
end
|
1057
|
+
# verify the required parameter 'storefront_oid' is set
|
1058
|
+
if @api_client.config.client_side_validation && storefront_oid.nil?
|
1059
|
+
fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.delete_heatmap"
|
1060
|
+
end
|
1061
|
+
# verify the required parameter 'query' is set
|
1062
|
+
if @api_client.config.client_side_validation && query.nil?
|
1063
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling StorefrontApi.delete_heatmap"
|
1064
|
+
end
|
1065
|
+
# resource path
|
1066
|
+
local_var_path = '/storefront/{storefront_oid}/screen_recordings/heatmap'.sub('{' + 'storefront_oid' + '}', storefront_oid.to_s)
|
1067
|
+
|
1068
|
+
# query parameters
|
1069
|
+
query_params = {}
|
1070
|
+
|
1071
|
+
# header parameters
|
1072
|
+
header_params = {}
|
1073
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
1074
|
+
# HTTP header 'Accept' (if needed)
|
1075
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1076
|
+
# HTTP header 'Content-Type'
|
1077
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
1078
|
+
|
1079
|
+
# form parameters
|
1080
|
+
form_params = {}
|
1081
|
+
|
1082
|
+
# http body (model)
|
1083
|
+
post_body = @api_client.object_to_http_body(query)
|
1084
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
1085
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
1086
|
+
:header_params => header_params,
|
1087
|
+
:query_params => query_params,
|
1088
|
+
:form_params => form_params,
|
1089
|
+
:body => post_body,
|
1090
|
+
:auth_names => auth_names)
|
1091
|
+
if @api_client.config.debugging
|
1092
|
+
@api_client.config.logger.debug "API called: StorefrontApi#delete_heatmap\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1093
|
+
end
|
1094
|
+
return data, status_code, headers
|
1095
|
+
end
|
1036
1096
|
# Delete library item
|
1037
1097
|
# @param library_item_oid
|
1038
1098
|
# @param [Hash] opts the optional parameters
|
@@ -4438,6 +4498,122 @@ module UltracartClient
|
|
4438
4498
|
end
|
4439
4499
|
return data, status_code, headers
|
4440
4500
|
end
|
4501
|
+
# Get screen recording heatmap
|
4502
|
+
# Get screen recording heatmap
|
4503
|
+
# @param storefront_oid
|
4504
|
+
# @param query Query
|
4505
|
+
# @param [Hash] opts the optional parameters
|
4506
|
+
# @return [ScreenRecordingHeatmapResponse]
|
4507
|
+
def get_heatmap(storefront_oid, query, opts = {})
|
4508
|
+
data, _status_code, _headers = get_heatmap_with_http_info(storefront_oid, query, opts)
|
4509
|
+
data
|
4510
|
+
end
|
4511
|
+
|
4512
|
+
# Get screen recording heatmap
|
4513
|
+
# Get screen recording heatmap
|
4514
|
+
# @param storefront_oid
|
4515
|
+
# @param query Query
|
4516
|
+
# @param [Hash] opts the optional parameters
|
4517
|
+
# @return [Array<(ScreenRecordingHeatmapResponse, Fixnum, Hash)>] ScreenRecordingHeatmapResponse data, response status code and response headers
|
4518
|
+
def get_heatmap_with_http_info(storefront_oid, query, opts = {})
|
4519
|
+
if @api_client.config.debugging
|
4520
|
+
@api_client.config.logger.debug 'Calling API: StorefrontApi.get_heatmap ...'
|
4521
|
+
end
|
4522
|
+
# verify the required parameter 'storefront_oid' is set
|
4523
|
+
if @api_client.config.client_side_validation && storefront_oid.nil?
|
4524
|
+
fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.get_heatmap"
|
4525
|
+
end
|
4526
|
+
# verify the required parameter 'query' is set
|
4527
|
+
if @api_client.config.client_side_validation && query.nil?
|
4528
|
+
fail ArgumentError, "Missing the required parameter 'query' when calling StorefrontApi.get_heatmap"
|
4529
|
+
end
|
4530
|
+
# resource path
|
4531
|
+
local_var_path = '/storefront/{storefront_oid}/screen_recordings/heatmap'.sub('{' + 'storefront_oid' + '}', storefront_oid.to_s)
|
4532
|
+
|
4533
|
+
# query parameters
|
4534
|
+
query_params = {}
|
4535
|
+
|
4536
|
+
# header parameters
|
4537
|
+
header_params = {}
|
4538
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
4539
|
+
# HTTP header 'Accept' (if needed)
|
4540
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4541
|
+
# HTTP header 'Content-Type'
|
4542
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
4543
|
+
|
4544
|
+
# form parameters
|
4545
|
+
form_params = {}
|
4546
|
+
|
4547
|
+
# http body (model)
|
4548
|
+
post_body = @api_client.object_to_http_body(query)
|
4549
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
4550
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4551
|
+
:header_params => header_params,
|
4552
|
+
:query_params => query_params,
|
4553
|
+
:form_params => form_params,
|
4554
|
+
:body => post_body,
|
4555
|
+
:auth_names => auth_names,
|
4556
|
+
:return_type => 'ScreenRecordingHeatmapResponse')
|
4557
|
+
if @api_client.config.debugging
|
4558
|
+
@api_client.config.logger.debug "API called: StorefrontApi#get_heatmap\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4559
|
+
end
|
4560
|
+
return data, status_code, headers
|
4561
|
+
end
|
4562
|
+
# Get screen recording heatmap index
|
4563
|
+
# Get screen recording heatmap index
|
4564
|
+
# @param storefront_oid
|
4565
|
+
# @param [Hash] opts the optional parameters
|
4566
|
+
# @return [ScreenRecordingHeatmapIndexResponse]
|
4567
|
+
def get_heatmap_index(storefront_oid, opts = {})
|
4568
|
+
data, _status_code, _headers = get_heatmap_index_with_http_info(storefront_oid, opts)
|
4569
|
+
data
|
4570
|
+
end
|
4571
|
+
|
4572
|
+
# Get screen recording heatmap index
|
4573
|
+
# Get screen recording heatmap index
|
4574
|
+
# @param storefront_oid
|
4575
|
+
# @param [Hash] opts the optional parameters
|
4576
|
+
# @return [Array<(ScreenRecordingHeatmapIndexResponse, Fixnum, Hash)>] ScreenRecordingHeatmapIndexResponse data, response status code and response headers
|
4577
|
+
def get_heatmap_index_with_http_info(storefront_oid, opts = {})
|
4578
|
+
if @api_client.config.debugging
|
4579
|
+
@api_client.config.logger.debug 'Calling API: StorefrontApi.get_heatmap_index ...'
|
4580
|
+
end
|
4581
|
+
# verify the required parameter 'storefront_oid' is set
|
4582
|
+
if @api_client.config.client_side_validation && storefront_oid.nil?
|
4583
|
+
fail ArgumentError, "Missing the required parameter 'storefront_oid' when calling StorefrontApi.get_heatmap_index"
|
4584
|
+
end
|
4585
|
+
# resource path
|
4586
|
+
local_var_path = '/storefront/{storefront_oid}/screen_recordings/heatmap/index'.sub('{' + 'storefront_oid' + '}', storefront_oid.to_s)
|
4587
|
+
|
4588
|
+
# query parameters
|
4589
|
+
query_params = {}
|
4590
|
+
|
4591
|
+
# header parameters
|
4592
|
+
header_params = {}
|
4593
|
+
header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
|
4594
|
+
# HTTP header 'Accept' (if needed)
|
4595
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
4596
|
+
# HTTP header 'Content-Type'
|
4597
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
4598
|
+
|
4599
|
+
# form parameters
|
4600
|
+
form_params = {}
|
4601
|
+
|
4602
|
+
# http body (model)
|
4603
|
+
post_body = nil
|
4604
|
+
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
4605
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
4606
|
+
:header_params => header_params,
|
4607
|
+
:query_params => query_params,
|
4608
|
+
:form_params => form_params,
|
4609
|
+
:body => post_body,
|
4610
|
+
:auth_names => auth_names,
|
4611
|
+
:return_type => 'ScreenRecordingHeatmapIndexResponse')
|
4612
|
+
if @api_client.config.debugging
|
4613
|
+
@api_client.config.logger.debug "API called: StorefrontApi#get_heatmap_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4614
|
+
end
|
4615
|
+
return data, status_code, headers
|
4616
|
+
end
|
4441
4617
|
# Get histogram property names
|
4442
4618
|
# Obtain a list of property names for a given property type
|
4443
4619
|
# @param storefront_oid
|