ultracart_api 3.1.49 → 3.2.9

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.
@@ -11,10 +11,12 @@ Name | Type | Description | Notes
11
11
  **customer_profile_oid** | **Integer** | Customer profile object identifier | [optional]
12
12
  **email** | **String** | Email | [optional]
13
13
  **first_name** | **String** | First name | [optional]
14
- **item_id** | **String** | Item ID | [optional]
14
+ **item_id** | **String** | Item ID. Deprecated query field. This incorrectly meant the original order contained this item id. | [optional]
15
15
  **last_name** | **String** | Last name | [optional]
16
+ **next_item_id** | **String** | Next Item ID that is supposed to ship. This is calculated based upon the schedule associated with the original item id. | [optional]
16
17
  **next_shipment_date_begin** | **String** | Next shipment date begin | [optional]
17
18
  **next_shipment_date_end** | **String** | Next shipment date end | [optional]
19
+ **original_item_id** | **String** | Original Item ID purchased on auto order. | [optional]
18
20
  **original_order_date_begin** | **String** | Original order date begin | [optional]
19
21
  **original_order_date_end** | **String** | Original order date end | [optional]
20
22
  **original_order_id** | **String** | Original order ID | [optional]
data/docs/CustomerApi.md CHANGED
@@ -7,11 +7,11 @@ Method | HTTP request | Description
7
7
  [**delete_customer**](CustomerApi.md#delete_customer) | **DELETE** /customer/customers/{customer_profile_oid} | Delete a customer
8
8
  [**get_customer**](CustomerApi.md#get_customer) | **GET** /customer/customers/{customer_profile_oid} | Retrieve a customer
9
9
  [**get_customer_by_email**](CustomerApi.md#get_customer_by_email) | **GET** /customer/customers/by_email/{email} | Retrieve a customer by Email
10
+ [**get_customer_editor_values**](CustomerApi.md#get_customer_editor_values) | **GET** /customer/editor_values | Retrieve values needed for a customer profile editor
11
+ [**get_customer_email_lists**](CustomerApi.md#get_customer_email_lists) | **GET** /customer/email_lists | Retrieve all email lists across all storefronts
10
12
  [**get_customers**](CustomerApi.md#get_customers) | **GET** /customer/customers | Retrieve customers
11
13
  [**get_customers_by_query**](CustomerApi.md#get_customers_by_query) | **POST** /customer/customers/query | Retrieve customers by query
12
14
  [**get_customers_for_data_tables**](CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin
13
- [**get_editor_values**](CustomerApi.md#get_editor_values) | **GET** /customer/editor_values | Retrieve values needed for a customer profile editor
14
- [**get_email_lists**](CustomerApi.md#get_email_lists) | **GET** /customer/email_lists | Retrieve all email lists across all storefronts
15
15
  [**get_email_verification_token**](CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address
16
16
  [**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer
17
17
  [**update_customer**](CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer
@@ -177,6 +177,96 @@ Name | Type | Description | Notes
177
177
 
178
178
 
179
179
 
180
+ # **get_customer_editor_values**
181
+ > CustomerEditorValues get_customer_editor_values
182
+
183
+ Retrieve values needed for a customer profile editor
184
+
185
+ Retrieve values needed for a customer profile editor.
186
+
187
+ ### Example
188
+ ```ruby
189
+ # load the gem
190
+ require 'ultracart_api'
191
+
192
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
193
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
194
+ api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false)
195
+
196
+
197
+
198
+ begin
199
+ #Retrieve values needed for a customer profile editor
200
+ result = api_instance.get_customer_editor_values
201
+ p result
202
+ rescue UltracartClient::ApiError => e
203
+ puts "Exception when calling CustomerApi->get_customer_editor_values: #{e}"
204
+ end
205
+ ```
206
+
207
+ ### Parameters
208
+ This endpoint does not need any parameter.
209
+
210
+ ### Return type
211
+
212
+ [**CustomerEditorValues**](CustomerEditorValues.md)
213
+
214
+ ### Authorization
215
+
216
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
217
+
218
+ ### HTTP request headers
219
+
220
+ - **Content-Type**: application/json
221
+ - **Accept**: application/json
222
+
223
+
224
+
225
+ # **get_customer_email_lists**
226
+ > EmailListsResponse get_customer_email_lists
227
+
228
+ Retrieve all email lists across all storefronts
229
+
230
+ Retrieve all email lists across all storefronts
231
+
232
+ ### Example
233
+ ```ruby
234
+ # load the gem
235
+ require 'ultracart_api'
236
+
237
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
238
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
239
+ api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false)
240
+
241
+
242
+
243
+ begin
244
+ #Retrieve all email lists across all storefronts
245
+ result = api_instance.get_customer_email_lists
246
+ p result
247
+ rescue UltracartClient::ApiError => e
248
+ puts "Exception when calling CustomerApi->get_customer_email_lists: #{e}"
249
+ end
250
+ ```
251
+
252
+ ### Parameters
253
+ This endpoint does not need any parameter.
254
+
255
+ ### Return type
256
+
257
+ [**EmailListsResponse**](EmailListsResponse.md)
258
+
259
+ ### Authorization
260
+
261
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
262
+
263
+ ### HTTP request headers
264
+
265
+ - **Content-Type**: application/json
266
+ - **Accept**: application/json
267
+
268
+
269
+
180
270
  # **get_customers**
181
271
  > CustomersResponse get_customers(opts)
182
272
 
@@ -403,96 +493,6 @@ Name | Type | Description | Notes
403
493
 
404
494
 
405
495
 
406
- # **get_editor_values**
407
- > CustomerEditorValues get_editor_values
408
-
409
- Retrieve values needed for a customer profile editor
410
-
411
- Retrieve values needed for a customer profile editor.
412
-
413
- ### Example
414
- ```ruby
415
- # load the gem
416
- require 'ultracart_api'
417
-
418
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
419
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
420
- api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false)
421
-
422
-
423
-
424
- begin
425
- #Retrieve values needed for a customer profile editor
426
- result = api_instance.get_editor_values
427
- p result
428
- rescue UltracartClient::ApiError => e
429
- puts "Exception when calling CustomerApi->get_editor_values: #{e}"
430
- end
431
- ```
432
-
433
- ### Parameters
434
- This endpoint does not need any parameter.
435
-
436
- ### Return type
437
-
438
- [**CustomerEditorValues**](CustomerEditorValues.md)
439
-
440
- ### Authorization
441
-
442
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
443
-
444
- ### HTTP request headers
445
-
446
- - **Content-Type**: application/json
447
- - **Accept**: application/json
448
-
449
-
450
-
451
- # **get_email_lists**
452
- > EmailListsResponse get_email_lists
453
-
454
- Retrieve all email lists across all storefronts
455
-
456
- Retrieve all email lists across all storefronts
457
-
458
- ### Example
459
- ```ruby
460
- # load the gem
461
- require 'ultracart_api'
462
-
463
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
464
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
465
- api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false)
466
-
467
-
468
-
469
- begin
470
- #Retrieve all email lists across all storefronts
471
- result = api_instance.get_email_lists
472
- p result
473
- rescue UltracartClient::ApiError => e
474
- puts "Exception when calling CustomerApi->get_email_lists: #{e}"
475
- end
476
- ```
477
-
478
- ### Parameters
479
- This endpoint does not need any parameter.
480
-
481
- ### Return type
482
-
483
- [**EmailListsResponse**](EmailListsResponse.md)
484
-
485
- ### Authorization
486
-
487
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
488
-
489
- ### HTTP request headers
490
-
491
- - **Content-Type**: application/json
492
- - **Accept**: application/json
493
-
494
-
495
-
496
496
  # **get_email_verification_token**
497
497
  > EmailVerifyTokenResponse get_email_verification_token(token_request)
498
498
 
@@ -10,13 +10,16 @@ Name | Type | Description | Notes
10
10
  **integration_log_oid** | **Integer** | | [optional]
11
11
  **item_id** | **String** | | [optional]
12
12
  **item_ipn_oid** | **Integer** | | [optional]
13
- **log_dts** | **String** | | [optional]
13
+ **log_dts** | **String** | Date/time the integration log was created | [optional]
14
14
  **log_type** | **String** | | [optional]
15
15
  **logger_id** | **String** | | [optional]
16
+ **logger_name** | **String** | | [optional]
16
17
  **logs** | [**Array<IntegrationLogLog>**](IntegrationLogLog.md) | | [optional]
18
+ **omit_log_map** | **BOOLEAN** | | [optional]
17
19
  **order_ids** | **Array<String>** | | [optional]
18
20
  **pk** | **String** | | [optional]
19
21
  **sk** | **String** | | [optional]
20
22
  **status** | **String** | | [optional]
23
+ **status_code** | **Integer** | | [optional]
21
24
 
22
25
 
@@ -5,6 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**get_integration_log**](IntegrationLogApi.md#get_integration_log) | **GET** /integration_log/query/{pk}/{sk} | Retrieve an integration log
8
+ [**get_integration_log_file**](IntegrationLogApi.md#get_integration_log_file) | **GET** /integration_log/query/{pk}/{sk}/{uuid} | Retrieve an integration log file
8
9
  [**get_integration_logs_query**](IntegrationLogApi.md#get_integration_logs_query) | **POST** /integration_log/query | Retrieve integration logs
9
10
 
10
11
 
@@ -61,6 +62,62 @@ Name | Type | Description | Notes
61
62
 
62
63
 
63
64
 
65
+ # **get_integration_log_file**
66
+ > File get_integration_log_file(pk, sk, uuid)
67
+
68
+ Retrieve an integration log file
69
+
70
+ Retrieve an integration log file from the account based identifiers
71
+
72
+ ### Example
73
+ ```ruby
74
+ # load the gem
75
+ require 'ultracart_api'
76
+
77
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
78
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
79
+ api_instance = UltracartClient::IntegrationLogApi.new_using_api_key(simple_key, false, false)
80
+
81
+
82
+ pk = 'pk_example' # String |
83
+
84
+ sk = 'sk_example' # String |
85
+
86
+ uuid = 'uuid_example' # String |
87
+
88
+
89
+ begin
90
+ #Retrieve an integration log file
91
+ result = api_instance.get_integration_log_file(pk, sk, uuid)
92
+ p result
93
+ rescue UltracartClient::ApiError => e
94
+ puts "Exception when calling IntegrationLogApi->get_integration_log_file: #{e}"
95
+ end
96
+ ```
97
+
98
+ ### Parameters
99
+
100
+ Name | Type | Description | Notes
101
+ ------------- | ------------- | ------------- | -------------
102
+ **pk** | **String**| |
103
+ **sk** | **String**| |
104
+ **uuid** | **String**| |
105
+
106
+ ### Return type
107
+
108
+ **File**
109
+
110
+ ### Authorization
111
+
112
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
113
+
114
+ ### HTTP request headers
115
+
116
+ - **Content-Type**: application/json
117
+ - **Accept**: application/octet-stream
118
+
119
+
120
+
64
121
  # **get_integration_logs_query**
65
122
  > IntegrationLogQueryResponse get_integration_logs_query(integration_log_query, opts)
66
123
 
@@ -3,6 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **mime_type** | **String** | | [optional]
6
7
  **name** | **String** | | [optional]
7
8
  **size** | **Integer** | | [optional]
8
9
  **uuid** | **String** | | [optional]
@@ -9,7 +9,10 @@ Name | Type | Description | Notes
9
9
  **file_names** | **Array<String>** | | [optional]
10
10
  **item_ids** | **Array<String>** | | [optional]
11
11
  **item_ipn_oids** | **Array<Integer>** | | [optional]
12
+ **log_dts_max** | **String** | Maximum date/time log date/time | [optional]
13
+ **log_dts_min** | **String** | Minimum date/time log date/time | [optional]
12
14
  **log_types** | **Array<String>** | | [optional]
15
+ **logger_names** | **Array<String>** | | [optional]
13
16
  **order_ids** | **Array<String>** | | [optional]
14
17
  **statuses** | **Array<String>** | | [optional]
15
18
 
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **log_dts_end** | **String** | Log date/time end | [optional]
14
14
  **log_type** | **String** | | [optional]
15
15
  **logger_id** | **String** | | [optional]
16
+ **logger_name** | **String** | | [optional]
16
17
  **order_ids** | **Array<String>** | | [optional]
17
18
  **status** | **String** | | [optional]
18
19
 
@@ -3,7 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **library_item_oid** | **Integer** | | [optional]
7
6
  **name** | **String** | | [optional]
8
7
  **value** | **String** | | [optional]
9
8
 
@@ -3,7 +3,9 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
+ **cost_per_thousand** | **Float** | Cost per one thousand sessions | [optional]
6
7
  **enabled** | **BOOLEAN** | | [optional]
8
+ **retention_interval** | **String** | How long screen recording data is retained | [optional]
7
9
  **sessions_current_billing_period** | **Integer** | | [optional]
8
10
  **sessions_last_billing_period** | **Integer** | | [optional]
9
11
  **sessions_trial_billing_period** | **Integer** | | [optional]
@@ -88,7 +88,6 @@ Method | HTTP request | Description
88
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.
89
89
  [**get_library_item**](StorefrontApi.md#get_library_item) | **GET** /storefront/code_library/{library_item_oid} | Get library item.
90
90
  [**get_library_item_published_versions**](StorefrontApi.md#get_library_item_published_versions) | **GET** /storefront/code_library/{library_item_oid}/published_versions | Get all published versions for a library item.
91
- [**get_pricing_tiers**](StorefrontApi.md#get_pricing_tiers) | **GET** /storefront/pricing_tiers | Retrieve pricing tiers
92
91
  [**get_screen_recording**](StorefrontApi.md#get_screen_recording) | **GET** /storefront/{storefront_oid}/screen_recordings/{screen_recording_uuid} | Get screen recording
93
92
  [**get_screen_recording_page_view_data**](StorefrontApi.md#get_screen_recording_page_view_data) | **GET** /storefront/{storefront_oid}/screen_recordings/{screen_recording_uuid}/page_view_data/{screen_recording_page_view_uuid} | Get screen recording page view data
94
93
  [**get_screen_recording_segment**](StorefrontApi.md#get_screen_recording_segment) | **GET** /storefront/{storefront_oid}/screen_recordings/segments/{screen_recording_segment_oid} | Get screen recording segment
@@ -97,6 +96,7 @@ Method | HTTP request | Description
97
96
  [**get_screen_recording_tags**](StorefrontApi.md#get_screen_recording_tags) | **POST** /storefront/{storefront_oid}/screen_recordings/tags | Get tags used by screen recording
98
97
  [**get_screen_recordings_by_query**](StorefrontApi.md#get_screen_recordings_by_query) | **POST** /storefront/{storefront_oid}/screen_recordings/query | Query screen recordings
99
98
  [**get_screen_recordings_by_segment**](StorefrontApi.md#get_screen_recordings_by_segment) | **POST** /storefront/{storefront_oid}/screen_recordings/segments/{screen_recording_segment_oid}/query | Get screen recordings by segment
99
+ [**get_store_front_pricing_tiers**](StorefrontApi.md#get_store_front_pricing_tiers) | **GET** /storefront/pricing_tiers | Retrieve pricing tiers
100
100
  [**get_thumbnail_parameters**](StorefrontApi.md#get_thumbnail_parameters) | **POST** /storefront/thumbnailParameters | Get thumbnail parameters
101
101
  [**get_transaction_email**](StorefrontApi.md#get_transaction_email) | **GET** /storefront/{storefront_oid}/transaction_email/list/{email_id} | Gets a transaction email object
102
102
  [**get_transaction_email_list**](StorefrontApi.md#get_transaction_email_list) | **GET** /storefront/{storefront_oid}/transaction_email/list | Gets a list of transaction email names
@@ -4430,57 +4430,6 @@ Name | Type | Description | Notes
4430
4430
 
4431
4431
 
4432
4432
 
4433
- # **get_pricing_tiers**
4434
- > PricingTiersResponse get_pricing_tiers(opts)
4435
-
4436
- Retrieve pricing tiers
4437
-
4438
- Retrieves the pricing tiers
4439
-
4440
- ### Example
4441
- ```ruby
4442
- # load the gem
4443
- require 'ultracart_api'
4444
-
4445
- # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4446
- simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4447
- api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4448
-
4449
-
4450
- opts = {
4451
- _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
4452
- }
4453
-
4454
- begin
4455
- #Retrieve pricing tiers
4456
- result = api_instance.get_pricing_tiers(opts)
4457
- p result
4458
- rescue UltracartClient::ApiError => e
4459
- puts "Exception when calling StorefrontApi->get_pricing_tiers: #{e}"
4460
- end
4461
- ```
4462
-
4463
- ### Parameters
4464
-
4465
- Name | Type | Description | Notes
4466
- ------------- | ------------- | ------------- | -------------
4467
- **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
4468
-
4469
- ### Return type
4470
-
4471
- [**PricingTiersResponse**](PricingTiersResponse.md)
4472
-
4473
- ### Authorization
4474
-
4475
- [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4476
-
4477
- ### HTTP request headers
4478
-
4479
- - **Content-Type**: application/json
4480
- - **Accept**: application/json
4481
-
4482
-
4483
-
4484
4433
  # **get_screen_recording**
4485
4434
  > ScreenRecordingResponse get_screen_recording(storefront_oid, screen_recording_uuid)
4486
4435
 
@@ -4909,6 +4858,57 @@ Name | Type | Description | Notes
4909
4858
 
4910
4859
 
4911
4860
 
4861
+ # **get_store_front_pricing_tiers**
4862
+ > PricingTiersResponse get_store_front_pricing_tiers(opts)
4863
+
4864
+ Retrieve pricing tiers
4865
+
4866
+ Retrieves the pricing tiers
4867
+
4868
+ ### Example
4869
+ ```ruby
4870
+ # load the gem
4871
+ require 'ultracart_api'
4872
+
4873
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4874
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4875
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4876
+
4877
+
4878
+ opts = {
4879
+ _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
4880
+ }
4881
+
4882
+ begin
4883
+ #Retrieve pricing tiers
4884
+ result = api_instance.get_store_front_pricing_tiers(opts)
4885
+ p result
4886
+ rescue UltracartClient::ApiError => e
4887
+ puts "Exception when calling StorefrontApi->get_store_front_pricing_tiers: #{e}"
4888
+ end
4889
+ ```
4890
+
4891
+ ### Parameters
4892
+
4893
+ Name | Type | Description | Notes
4894
+ ------------- | ------------- | ------------- | -------------
4895
+ **_expand** | **String**| The object expansion to perform on the result. See documentation for examples | [optional]
4896
+
4897
+ ### Return type
4898
+
4899
+ [**PricingTiersResponse**](PricingTiersResponse.md)
4900
+
4901
+ ### Authorization
4902
+
4903
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
4904
+
4905
+ ### HTTP request headers
4906
+
4907
+ - **Content-Type**: application/json
4908
+ - **Accept**: application/json
4909
+
4910
+
4911
+
4912
4912
  # **get_thumbnail_parameters**
4913
4913
  > ThumbnailParametersResponse get_thumbnail_parameters(thumbnail_parameters)
4914
4914