ultracart_api 4.0.32.rc → 4.0.35.rc
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -4
- data/docs/Activity.md +4 -0
- data/docs/AffiliateApi.md +16 -22
- data/docs/AutoOrderApi.md +64 -88
- data/docs/ChannelPartnerApi.md +40 -55
- data/docs/ChargebackApi.md +40 -55
- data/docs/CheckoutApi.md +152 -294
- data/docs/Conversation.md +26 -0
- data/docs/ConversationAgentAuthResponse.md +22 -0
- data/docs/ConversationApi.md +438 -0
- data/docs/ConversationMessage.md +26 -0
- data/docs/ConversationParticipant.md +30 -0
- data/docs/ConversationStartRequest.md +20 -0
- data/docs/ConversationStartResponse.md +20 -0
- data/docs/ConversationSummary.md +34 -0
- data/docs/ConversationsResponse.md +26 -0
- data/docs/CouponApi.md +152 -209
- data/docs/CustomerActivity.md +9 -1
- data/docs/CustomerApi.md +213 -192
- data/docs/CustomerMergeRequest.md +20 -0
- data/docs/FulfillmentApi.md +48 -66
- data/docs/GiftCertificateApi.md +64 -88
- data/docs/IntegrationLogApi.md +40 -55
- data/docs/ItemApi.md +72 -99
- data/docs/OauthApi.md +16 -32
- data/docs/OrderApi.md +184 -253
- data/docs/SsoApi.md +32 -44
- data/docs/StorefrontApi.md +1134 -2345
- data/docs/TaxApi.md +224 -308
- data/docs/UserApi.md +88 -121
- data/docs/WebhookApi.md +64 -88
- data/lib/ultracart_api/api/conversation_api.rb +418 -0
- data/lib/ultracart_api/api/customer_api.rb +78 -0
- data/lib/ultracart_api/models/activity.rb +19 -1
- data/lib/ultracart_api/models/conversation.rb +259 -0
- data/lib/ultracart_api/models/conversation_agent_auth_response.rb +237 -0
- data/lib/ultracart_api/models/conversation_message.rb +258 -0
- data/lib/ultracart_api/models/conversation_participant.rb +276 -0
- data/lib/ultracart_api/models/conversation_start_request.rb +230 -0
- data/lib/ultracart_api/models/conversation_start_response.rb +228 -0
- data/lib/ultracart_api/models/conversation_summary.rb +292 -0
- data/lib/ultracart_api/models/conversations_response.rb +258 -0
- data/lib/ultracart_api/models/customer_activity.rb +40 -4
- data/lib/ultracart_api/models/customer_merge_request.rb +230 -0
- data/lib/ultracart_api/version.rb +1 -1
- data/lib/ultracart_api.rb +10 -0
- metadata +22 -2
data/docs/ChargebackApi.md
CHANGED
@@ -24,18 +24,15 @@ Delete a chargeback on the UltraCart account.
|
|
24
24
|
```ruby
|
25
25
|
require 'time'
|
26
26
|
require 'ultracart_api'
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
35
|
-
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
36
|
-
end
|
27
|
+
require 'json'
|
28
|
+
require 'yaml'
|
29
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
30
|
+
|
31
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
32
|
+
# As such, this might not be the best way to use this object.
|
33
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
37
34
|
|
38
|
-
|
35
|
+
api = UltracartClient::ChargebackApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
39
36
|
chargeback_dispute_oid = 56 # Integer | The chargeback_dispute_oid to delete.
|
40
37
|
|
41
38
|
begin
|
@@ -98,18 +95,15 @@ Retrieves a single chargeback using the specified chargeback dispute oid.
|
|
98
95
|
```ruby
|
99
96
|
require 'time'
|
100
97
|
require 'ultracart_api'
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
105
|
-
|
106
|
-
# Configure API key authorization: ultraCartSimpleApiKey
|
107
|
-
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
108
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
109
|
-
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
110
|
-
end
|
98
|
+
require 'json'
|
99
|
+
require 'yaml'
|
100
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
111
101
|
|
112
|
-
|
102
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
103
|
+
# As such, this might not be the best way to use this object.
|
104
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
105
|
+
|
106
|
+
api = UltracartClient::ChargebackApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
113
107
|
chargeback_dispute_oid = 56 # Integer | The chargeback dispute oid to retrieve.
|
114
108
|
opts = {
|
115
109
|
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
@@ -176,18 +170,15 @@ Retrieves chargebacks from the account. If no parameters are specified, all cha
|
|
176
170
|
```ruby
|
177
171
|
require 'time'
|
178
172
|
require 'ultracart_api'
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
config.access_token = 'YOUR ACCESS TOKEN'
|
183
|
-
|
184
|
-
# Configure API key authorization: ultraCartSimpleApiKey
|
185
|
-
config.api_key['ultraCartSimpleApiKey'] = 'YOUR API KEY'
|
186
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
187
|
-
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
188
|
-
end
|
173
|
+
require 'json'
|
174
|
+
require 'yaml'
|
175
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
189
176
|
|
190
|
-
|
177
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
178
|
+
# As such, this might not be the best way to use this object.
|
179
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
180
|
+
|
181
|
+
api = UltracartClient::ChargebackApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
191
182
|
opts = {
|
192
183
|
order_id: 'order_id_example', # String | Order Id
|
193
184
|
case_number: 'case_number_example', # String | Case number
|
@@ -274,18 +265,15 @@ Insert a chargeback on the UltraCart account.
|
|
274
265
|
```ruby
|
275
266
|
require 'time'
|
276
267
|
require 'ultracart_api'
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
285
|
-
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
286
|
-
end
|
268
|
+
require 'json'
|
269
|
+
require 'yaml'
|
270
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
271
|
+
|
272
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
273
|
+
# As such, this might not be the best way to use this object.
|
274
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
287
275
|
|
288
|
-
|
276
|
+
api = UltracartClient::ChargebackApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
289
277
|
chargeback = UltracartClient::ChargebackDispute.new # ChargebackDispute | Chargeback to insert
|
290
278
|
opts = {
|
291
279
|
_expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
|
@@ -352,18 +340,15 @@ Update a chargeback on the UltraCart account.
|
|
352
340
|
```ruby
|
353
341
|
require 'time'
|
354
342
|
require 'ultracart_api'
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
363
|
-
# config.api_key_prefix['ultraCartSimpleApiKey'] = 'Bearer'
|
364
|
-
end
|
343
|
+
require 'json'
|
344
|
+
require 'yaml'
|
345
|
+
require_relative '../constants' # https://github.com/UltraCart/sdk_samples/blob/master/ruby/constants.rb
|
346
|
+
|
347
|
+
# This example is based on our samples_sdk project, but still contains auto-generated content from our sdk generators.
|
348
|
+
# As such, this might not be the best way to use this object.
|
349
|
+
# Please see https://github.com/UltraCart/sdk_samples for working examples.
|
365
350
|
|
366
|
-
|
351
|
+
api = UltracartClient::ChargebackApi.new_using_api_key(Constants::API_KEY, Constants::VERIFY_SSL, Constants::DEBUG_MODE)
|
367
352
|
chargeback_dispute_oid = 56 # Integer | The chargeback_dispute_oid to update.
|
368
353
|
chargeback = UltracartClient::ChargebackDispute.new # ChargebackDispute | Chargeback to update
|
369
354
|
opts = {
|