ultracart_api 3.1.46 → 3.2.6

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.
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
 
@@ -0,0 +1,23 @@
1
+ # UltracartClient::IntegrationLog
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **action** | **String** | | [optional]
7
+ **direction** | **String** | | [optional]
8
+ **email** | **String** | | [optional]
9
+ **files** | [**Array<IntegrationLogFile>**](IntegrationLogFile.md) | | [optional]
10
+ **integration_log_oid** | **Integer** | | [optional]
11
+ **item_id** | **String** | | [optional]
12
+ **item_ipn_oid** | **Integer** | | [optional]
13
+ **log_dts** | **String** | | [optional]
14
+ **log_type** | **String** | | [optional]
15
+ **logger_id** | **String** | | [optional]
16
+ **logger_name** | **String** | | [optional]
17
+ **logs** | [**Array<IntegrationLogLog>**](IntegrationLogLog.md) | | [optional]
18
+ **order_ids** | **Array<String>** | | [optional]
19
+ **pk** | **String** | | [optional]
20
+ **sk** | **String** | | [optional]
21
+ **status** | **String** | | [optional]
22
+
23
+
@@ -0,0 +1,178 @@
1
+ # UltracartClient::IntegrationLogApi
2
+
3
+ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
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
9
+ [**get_integration_logs_query**](IntegrationLogApi.md#get_integration_logs_query) | **POST** /integration_log/query | Retrieve integration logs
10
+
11
+
12
+ # **get_integration_log**
13
+ > IntegrationLogResponse get_integration_log(pk, sk)
14
+
15
+ Retrieve an integration log
16
+
17
+ Retrieve an integration logs from the account based identifiers
18
+
19
+ ### Example
20
+ ```ruby
21
+ # load the gem
22
+ require 'ultracart_api'
23
+
24
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
25
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
26
+ api_instance = UltracartClient::IntegrationLogApi.new_using_api_key(simple_key, false, false)
27
+
28
+
29
+ pk = 'pk_example' # String |
30
+
31
+ sk = 'sk_example' # String |
32
+
33
+
34
+ begin
35
+ #Retrieve an integration log
36
+ result = api_instance.get_integration_log(pk, sk)
37
+ p result
38
+ rescue UltracartClient::ApiError => e
39
+ puts "Exception when calling IntegrationLogApi->get_integration_log: #{e}"
40
+ end
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **pk** | **String**| |
48
+ **sk** | **String**| |
49
+
50
+ ### Return type
51
+
52
+ [**IntegrationLogResponse**](IntegrationLogResponse.md)
53
+
54
+ ### Authorization
55
+
56
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: application/json
61
+ - **Accept**: application/json
62
+
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
+
121
+ # **get_integration_logs_query**
122
+ > IntegrationLogQueryResponse get_integration_logs_query(integration_log_query, opts)
123
+
124
+ Retrieve integration logs
125
+
126
+ Retrieves a set of integration logs from the account based on a query object.
127
+
128
+ ### Example
129
+ ```ruby
130
+ # load the gem
131
+ require 'ultracart_api'
132
+
133
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
134
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
135
+ api_instance = UltracartClient::IntegrationLogApi.new_using_api_key(simple_key, false, false)
136
+
137
+
138
+ integration_log_query = UltracartClient::IntegrationLogQueryRequest.new # IntegrationLogQueryRequest | Integration log query
139
+
140
+ opts = {
141
+ _limit: 100, # Integer | The maximum number of records to return on this one API call. (Default 100, Max 500)
142
+ _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
143
+ _sort: '_sort_example' # String | The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
144
+ }
145
+
146
+ begin
147
+ #Retrieve integration logs
148
+ result = api_instance.get_integration_logs_query(integration_log_query, opts)
149
+ p result
150
+ rescue UltracartClient::ApiError => e
151
+ puts "Exception when calling IntegrationLogApi->get_integration_logs_query: #{e}"
152
+ end
153
+ ```
154
+
155
+ ### Parameters
156
+
157
+ Name | Type | Description | Notes
158
+ ------------- | ------------- | ------------- | -------------
159
+ **integration_log_query** | [**IntegrationLogQueryRequest**](IntegrationLogQueryRequest.md)| Integration log query |
160
+ **_limit** | **Integer**| The maximum number of records to return on this one API call. (Default 100, Max 500) | [optional] [default to 100]
161
+ **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
162
+ **_sort** | **String**| The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
163
+
164
+ ### Return type
165
+
166
+ [**IntegrationLogQueryResponse**](IntegrationLogQueryResponse.md)
167
+
168
+ ### Authorization
169
+
170
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: application/json
175
+ - **Accept**: application/json
176
+
177
+
178
+
@@ -0,0 +1,11 @@
1
+ # UltracartClient::IntegrationLogFile
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **mime_type** | **String** | | [optional]
7
+ **name** | **String** | | [optional]
8
+ **size** | **Integer** | | [optional]
9
+ **uuid** | **String** | | [optional]
10
+
11
+
@@ -0,0 +1,9 @@
1
+ # UltracartClient::IntegrationLogLog
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **contents** | **String** | | [optional]
7
+ **name** | **String** | | [optional]
8
+
9
+
@@ -0,0 +1,17 @@
1
+ # UltracartClient::IntegrationLogQueryFilterValues
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **actions** | **Array<String>** | | [optional]
7
+ **directions** | **Array<String>** | | [optional]
8
+ **emails** | **Array<String>** | | [optional]
9
+ **file_names** | **Array<String>** | | [optional]
10
+ **item_ids** | **Array<String>** | | [optional]
11
+ **item_ipn_oids** | **Array<Integer>** | | [optional]
12
+ **log_types** | **Array<String>** | | [optional]
13
+ **logger_names** | **Array<String>** | | [optional]
14
+ **order_ids** | **Array<String>** | | [optional]
15
+ **statuses** | **Array<String>** | | [optional]
16
+
17
+