ultracart_api 3.0.75 → 3.1.3

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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -18
  3. data/docs/AffiliateApi.md +8 -22
  4. data/docs/AutoOrderApi.md +44 -100
  5. data/docs/ChargebackApi.md +20 -55
  6. data/docs/CheckoutApi.md +78 -295
  7. data/docs/CouponApi.md +78 -209
  8. data/docs/CouponTieredAmountOffItem.md +1 -1
  9. data/docs/CouponTieredPercentOffItems.md +1 -1
  10. data/docs/CustomerApi.md +199 -110
  11. data/docs/EmailPlanAdditional.md +1 -0
  12. data/docs/EmailVerifyTokenRequest.md +9 -0
  13. data/docs/EmailVerifyTokenResponse.md +12 -0
  14. data/docs/EmailVerifyTokenValidateRequest.md +8 -0
  15. data/docs/EmailVerifyTokenValidateResponse.md +11 -0
  16. data/docs/FulfillmentApi.md +21 -55
  17. data/docs/ItemApi.md +36 -99
  18. data/docs/OauthApi.md +8 -32
  19. data/docs/OrderApi.md +84 -223
  20. data/docs/ScreenRecording.md +2 -1
  21. data/docs/StorefrontApi.md +429 -2077
  22. data/docs/TaxApi.md +121 -308
  23. data/docs/UserApi.md +46 -121
  24. data/docs/WebhookApi.md +32 -88
  25. data/lib/ultracart_api.rb +4 -0
  26. data/lib/ultracart_api/api/affiliate_api.rb +13 -0
  27. data/lib/ultracart_api/api/auto_order_api.rb +21 -8
  28. data/lib/ultracart_api/api/chargeback_api.rb +13 -0
  29. data/lib/ultracart_api/api/checkout_api.rb +15 -2
  30. data/lib/ultracart_api/api/coupon_api.rb +13 -0
  31. data/lib/ultracart_api/api/customer_api.rb +181 -0
  32. data/lib/ultracart_api/api/fulfillment_api.rb +13 -0
  33. data/lib/ultracart_api/api/item_api.rb +13 -0
  34. data/lib/ultracart_api/api/oauth_api.rb +13 -0
  35. data/lib/ultracart_api/api/order_api.rb +15 -2
  36. data/lib/ultracart_api/api/storefront_api.rb +13 -0
  37. data/lib/ultracart_api/api/tax_api.rb +13 -0
  38. data/lib/ultracart_api/api/user_api.rb +13 -0
  39. data/lib/ultracart_api/api/webhook_api.rb +13 -0
  40. data/lib/ultracart_api/models/coupon_tiered_amount_off_item.rb +1 -1
  41. data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +1 -1
  42. data/lib/ultracart_api/models/email_plan_additional.rb +10 -1
  43. data/lib/ultracart_api/models/email_verify_token_request.rb +195 -0
  44. data/lib/ultracart_api/models/email_verify_token_response.rb +222 -0
  45. data/lib/ultracart_api/models/email_verify_token_validate_request.rb +185 -0
  46. data/lib/ultracart_api/models/email_verify_token_validate_response.rb +212 -0
  47. data/lib/ultracart_api/models/screen_recording.rb +12 -1
  48. data/lib/ultracart_api/version.rb +1 -1
  49. metadata +10 -2
@@ -11,7 +11,8 @@ Name | Type | Description | Notes
11
11
  **esp_customer_uuid** | **String** | | [optional]
12
12
  **events_gz_size** | **Integer** | | [optional]
13
13
  **events_json_key** | **String** | | [optional]
14
- **favorites** | **Array<Integer>** | | [optional]
14
+ **favorite** | **BOOLEAN** | True if the user calling the API has favorited this particular screen recording. | [optional]
15
+ **favorites** | **Array<Integer>** | Array of user ids that favorited this particular screen recording. | [optional]
15
16
  **geolocation** | [**GeoPoint**](GeoPoint.md) | | [optional]
16
17
  **geolocation_country** | **String** | | [optional]
17
18
  **geolocation_state** | **String** | | [optional]
@@ -158,23 +158,11 @@ Add to library
158
158
  ```ruby
159
159
  # load the gem
160
160
  require 'ultracart_api'
161
- # setup authorization
162
- UltracartClient.configure do |config|
163
- # Configure API key authorization: ultraCartBrowserApiKey
164
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
165
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
166
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
167
161
 
168
- # Configure OAuth2 access token for authorization: ultraCartOauth
169
- config.access_token = 'YOUR ACCESS TOKEN'
162
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
163
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
164
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
170
165
 
171
- # Configure API key authorization: ultraCartSimpleApiKey
172
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
173
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
174
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
175
- end
176
-
177
- api_instance = UltracartClient::StorefrontApi.new
178
166
 
179
167
  add_library_request = UltracartClient::AddLibraryItemRequest.new # AddLibraryItemRequest | New library item request
180
168
 
@@ -218,23 +206,11 @@ Apply library item to storefront.
218
206
  ```ruby
219
207
  # load the gem
220
208
  require 'ultracart_api'
221
- # setup authorization
222
- UltracartClient.configure do |config|
223
- # Configure API key authorization: ultraCartBrowserApiKey
224
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
225
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
226
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
227
209
 
228
- # Configure OAuth2 access token for authorization: ultraCartOauth
229
- config.access_token = 'YOUR ACCESS TOKEN'
210
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
211
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
212
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
230
213
 
231
- # Configure API key authorization: ultraCartSimpleApiKey
232
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
233
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
234
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
235
- end
236
-
237
- api_instance = UltracartClient::StorefrontApi.new
238
214
 
239
215
  apply_library_request = UltracartClient::ApplyLibraryItemRequest.new # ApplyLibraryItemRequest | New library item
240
216
 
@@ -278,23 +254,11 @@ Archive email list
278
254
  ```ruby
279
255
  # load the gem
280
256
  require 'ultracart_api'
281
- # setup authorization
282
- UltracartClient.configure do |config|
283
- # Configure API key authorization: ultraCartBrowserApiKey
284
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
285
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
286
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
287
257
 
288
- # Configure OAuth2 access token for authorization: ultraCartOauth
289
- config.access_token = 'YOUR ACCESS TOKEN'
258
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
259
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
260
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
290
261
 
291
- # Configure API key authorization: ultraCartSimpleApiKey
292
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
293
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
294
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
295
- end
296
-
297
- api_instance = UltracartClient::StorefrontApi.new
298
262
 
299
263
  storefront_oid = 56 # Integer |
300
264
 
@@ -341,23 +305,11 @@ Archive email segment
341
305
  ```ruby
342
306
  # load the gem
343
307
  require 'ultracart_api'
344
- # setup authorization
345
- UltracartClient.configure do |config|
346
- # Configure API key authorization: ultraCartBrowserApiKey
347
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
348
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
349
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
350
-
351
- # Configure OAuth2 access token for authorization: ultraCartOauth
352
- config.access_token = 'YOUR ACCESS TOKEN'
353
308
 
354
- # Configure API key authorization: ultraCartSimpleApiKey
355
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
356
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
357
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
358
- end
309
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
310
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
311
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
359
312
 
360
- api_instance = UltracartClient::StorefrontApi.new
361
313
 
362
314
  storefront_oid = 56 # Integer |
363
315
 
@@ -404,23 +356,11 @@ Back populate email flow
404
356
  ```ruby
405
357
  # load the gem
406
358
  require 'ultracart_api'
407
- # setup authorization
408
- UltracartClient.configure do |config|
409
- # Configure API key authorization: ultraCartBrowserApiKey
410
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
411
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
412
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
413
359
 
414
- # Configure OAuth2 access token for authorization: ultraCartOauth
415
- config.access_token = 'YOUR ACCESS TOKEN'
360
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
361
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
362
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
416
363
 
417
- # Configure API key authorization: ultraCartSimpleApiKey
418
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
419
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
420
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
421
- end
422
-
423
- api_instance = UltracartClient::StorefrontApi.new
424
364
 
425
365
  storefront_oid = 56 # Integer |
426
366
 
@@ -470,23 +410,11 @@ Check download of email segment
470
410
  ```ruby
471
411
  # load the gem
472
412
  require 'ultracart_api'
473
- # setup authorization
474
- UltracartClient.configure do |config|
475
- # Configure API key authorization: ultraCartBrowserApiKey
476
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
477
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
478
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
479
-
480
- # Configure OAuth2 access token for authorization: ultraCartOauth
481
- config.access_token = 'YOUR ACCESS TOKEN'
482
413
 
483
- # Configure API key authorization: ultraCartSimpleApiKey
484
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
485
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
486
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
487
- end
414
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
415
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
416
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
488
417
 
489
- api_instance = UltracartClient::StorefrontApi.new
490
418
 
491
419
  storefront_oid = 56 # Integer |
492
420
 
@@ -536,23 +464,11 @@ Clone email campaign
536
464
  ```ruby
537
465
  # load the gem
538
466
  require 'ultracart_api'
539
- # setup authorization
540
- UltracartClient.configure do |config|
541
- # Configure API key authorization: ultraCartBrowserApiKey
542
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
543
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
544
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
545
-
546
- # Configure OAuth2 access token for authorization: ultraCartOauth
547
- config.access_token = 'YOUR ACCESS TOKEN'
548
467
 
549
- # Configure API key authorization: ultraCartSimpleApiKey
550
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
551
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
552
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
553
- end
468
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
469
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
470
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
554
471
 
555
- api_instance = UltracartClient::StorefrontApi.new
556
472
 
557
473
  storefront_oid = 56 # Integer |
558
474
 
@@ -603,23 +519,11 @@ Clone email flow
603
519
  ```ruby
604
520
  # load the gem
605
521
  require 'ultracart_api'
606
- # setup authorization
607
- UltracartClient.configure do |config|
608
- # Configure API key authorization: ultraCartBrowserApiKey
609
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
610
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
611
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
612
-
613
- # Configure OAuth2 access token for authorization: ultraCartOauth
614
- config.access_token = 'YOUR ACCESS TOKEN'
615
522
 
616
- # Configure API key authorization: ultraCartSimpleApiKey
617
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
618
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
619
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
620
- end
523
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
524
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
525
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
621
526
 
622
- api_instance = UltracartClient::StorefrontApi.new
623
527
 
624
528
  storefront_oid = 56 # Integer |
625
529
 
@@ -670,23 +574,11 @@ Create email campaign
670
574
  ```ruby
671
575
  # load the gem
672
576
  require 'ultracart_api'
673
- # setup authorization
674
- UltracartClient.configure do |config|
675
- # Configure API key authorization: ultraCartBrowserApiKey
676
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
677
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
678
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
679
-
680
- # Configure OAuth2 access token for authorization: ultraCartOauth
681
- config.access_token = 'YOUR ACCESS TOKEN'
682
577
 
683
- # Configure API key authorization: ultraCartSimpleApiKey
684
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
685
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
686
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
687
- end
578
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
579
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
580
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
688
581
 
689
- api_instance = UltracartClient::StorefrontApi.new
690
582
 
691
583
  domain = 'domain_example' # String |
692
584
 
@@ -730,23 +622,11 @@ Delete email campaignFolder
730
622
  ```ruby
731
623
  # load the gem
732
624
  require 'ultracart_api'
733
- # setup authorization
734
- UltracartClient.configure do |config|
735
- # Configure API key authorization: ultraCartBrowserApiKey
736
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
737
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
738
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
739
-
740
- # Configure OAuth2 access token for authorization: ultraCartOauth
741
- config.access_token = 'YOUR ACCESS TOKEN'
742
625
 
743
- # Configure API key authorization: ultraCartSimpleApiKey
744
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
745
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
746
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
747
- end
626
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
627
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
628
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
748
629
 
749
- api_instance = UltracartClient::StorefrontApi.new
750
630
 
751
631
  storefront_oid = 56 # Integer |
752
632
 
@@ -793,23 +673,11 @@ Delete communication sequence stats
793
673
  ```ruby
794
674
  # load the gem
795
675
  require 'ultracart_api'
796
- # setup authorization
797
- UltracartClient.configure do |config|
798
- # Configure API key authorization: ultraCartBrowserApiKey
799
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
800
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
801
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
802
676
 
803
- # Configure OAuth2 access token for authorization: ultraCartOauth
804
- config.access_token = 'YOUR ACCESS TOKEN'
805
-
806
- # Configure API key authorization: ultraCartSimpleApiKey
807
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
808
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
809
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
810
- end
677
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
678
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
679
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
811
680
 
812
- api_instance = UltracartClient::StorefrontApi.new
813
681
 
814
682
  storefront_oid = 56 # Integer |
815
683
 
@@ -855,23 +723,11 @@ Delete email email
855
723
  ```ruby
856
724
  # load the gem
857
725
  require 'ultracart_api'
858
- # setup authorization
859
- UltracartClient.configure do |config|
860
- # Configure API key authorization: ultraCartBrowserApiKey
861
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
862
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
863
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
864
726
 
865
- # Configure OAuth2 access token for authorization: ultraCartOauth
866
- config.access_token = 'YOUR ACCESS TOKEN'
727
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
728
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
729
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
867
730
 
868
- # Configure API key authorization: ultraCartSimpleApiKey
869
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
870
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
871
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
872
- end
873
-
874
- api_instance = UltracartClient::StorefrontApi.new
875
731
 
876
732
  storefront_oid = 56 # Integer |
877
733
 
@@ -918,23 +774,11 @@ Delete email flowFolder
918
774
  ```ruby
919
775
  # load the gem
920
776
  require 'ultracart_api'
921
- # setup authorization
922
- UltracartClient.configure do |config|
923
- # Configure API key authorization: ultraCartBrowserApiKey
924
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
925
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
926
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
927
777
 
928
- # Configure OAuth2 access token for authorization: ultraCartOauth
929
- config.access_token = 'YOUR ACCESS TOKEN'
930
-
931
- # Configure API key authorization: ultraCartSimpleApiKey
932
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
933
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
934
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
935
- end
778
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
779
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
780
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
936
781
 
937
- api_instance = UltracartClient::StorefrontApi.new
938
782
 
939
783
  storefront_oid = 56 # Integer |
940
784
 
@@ -981,23 +825,11 @@ Delete email list customer
981
825
  ```ruby
982
826
  # load the gem
983
827
  require 'ultracart_api'
984
- # setup authorization
985
- UltracartClient.configure do |config|
986
- # Configure API key authorization: ultraCartBrowserApiKey
987
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
988
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
989
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
990
828
 
991
- # Configure OAuth2 access token for authorization: ultraCartOauth
992
- config.access_token = 'YOUR ACCESS TOKEN'
829
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
830
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
831
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
993
832
 
994
- # Configure API key authorization: ultraCartSimpleApiKey
995
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
996
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
997
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
998
- end
999
-
1000
- api_instance = UltracartClient::StorefrontApi.new
1001
833
 
1002
834
  storefront_oid = 56 # Integer |
1003
835
 
@@ -1047,23 +879,11 @@ Delete email postcard
1047
879
  ```ruby
1048
880
  # load the gem
1049
881
  require 'ultracart_api'
1050
- # setup authorization
1051
- UltracartClient.configure do |config|
1052
- # Configure API key authorization: ultraCartBrowserApiKey
1053
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1054
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1055
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1056
882
 
1057
- # Configure OAuth2 access token for authorization: ultraCartOauth
1058
- config.access_token = 'YOUR ACCESS TOKEN'
1059
-
1060
- # Configure API key authorization: ultraCartSimpleApiKey
1061
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1062
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1063
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1064
- end
883
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
884
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
885
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1065
886
 
1066
- api_instance = UltracartClient::StorefrontApi.new
1067
887
 
1068
888
  storefront_oid = 56 # Integer |
1069
889
 
@@ -1110,23 +930,11 @@ delete email campaign
1110
930
  ```ruby
1111
931
  # load the gem
1112
932
  require 'ultracart_api'
1113
- # setup authorization
1114
- UltracartClient.configure do |config|
1115
- # Configure API key authorization: ultraCartBrowserApiKey
1116
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1117
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1118
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1119
933
 
1120
- # Configure OAuth2 access token for authorization: ultraCartOauth
1121
- config.access_token = 'YOUR ACCESS TOKEN'
934
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
935
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
936
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1122
937
 
1123
- # Configure API key authorization: ultraCartSimpleApiKey
1124
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1125
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1126
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1127
- end
1128
-
1129
- api_instance = UltracartClient::StorefrontApi.new
1130
938
 
1131
939
  domain = 'domain_example' # String |
1132
940
 
@@ -1170,23 +978,11 @@ Delete experiment
1170
978
  ```ruby
1171
979
  # load the gem
1172
980
  require 'ultracart_api'
1173
- # setup authorization
1174
- UltracartClient.configure do |config|
1175
- # Configure API key authorization: ultraCartBrowserApiKey
1176
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1177
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1178
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1179
981
 
1180
- # Configure OAuth2 access token for authorization: ultraCartOauth
1181
- config.access_token = 'YOUR ACCESS TOKEN'
1182
-
1183
- # Configure API key authorization: ultraCartSimpleApiKey
1184
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1185
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1186
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1187
- end
982
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
983
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
984
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1188
985
 
1189
- api_instance = UltracartClient::StorefrontApi.new
1190
986
 
1191
987
  storefront_oid = 56 # Integer |
1192
988
 
@@ -1232,23 +1028,11 @@ Delete library item
1232
1028
  ```ruby
1233
1029
  # load the gem
1234
1030
  require 'ultracart_api'
1235
- # setup authorization
1236
- UltracartClient.configure do |config|
1237
- # Configure API key authorization: ultraCartBrowserApiKey
1238
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1239
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1240
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1241
1031
 
1242
- # Configure OAuth2 access token for authorization: ultraCartOauth
1243
- config.access_token = 'YOUR ACCESS TOKEN'
1032
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1033
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1034
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1244
1035
 
1245
- # Configure API key authorization: ultraCartSimpleApiKey
1246
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1247
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1248
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1249
- end
1250
-
1251
- api_instance = UltracartClient::StorefrontApi.new
1252
1036
 
1253
1037
  library_item_oid = 56 # Integer |
1254
1038
 
@@ -1291,23 +1075,11 @@ Delete all published versions for a library item, including anything in review.
1291
1075
  ```ruby
1292
1076
  # load the gem
1293
1077
  require 'ultracart_api'
1294
- # setup authorization
1295
- UltracartClient.configure do |config|
1296
- # Configure API key authorization: ultraCartBrowserApiKey
1297
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1298
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1299
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1300
1078
 
1301
- # Configure OAuth2 access token for authorization: ultraCartOauth
1302
- config.access_token = 'YOUR ACCESS TOKEN'
1079
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1080
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1081
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1303
1082
 
1304
- # Configure API key authorization: ultraCartSimpleApiKey
1305
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1306
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1307
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1308
- end
1309
-
1310
- api_instance = UltracartClient::StorefrontApi.new
1311
1083
 
1312
1084
  library_item_oid = 56 # Integer |
1313
1085
 
@@ -1350,23 +1122,11 @@ Delete screen recording segment
1350
1122
  ```ruby
1351
1123
  # load the gem
1352
1124
  require 'ultracart_api'
1353
- # setup authorization
1354
- UltracartClient.configure do |config|
1355
- # Configure API key authorization: ultraCartBrowserApiKey
1356
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1357
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1358
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1359
1125
 
1360
- # Configure OAuth2 access token for authorization: ultraCartOauth
1361
- config.access_token = 'YOUR ACCESS TOKEN'
1126
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1127
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1128
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1362
1129
 
1363
- # Configure API key authorization: ultraCartSimpleApiKey
1364
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1365
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1366
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1367
- end
1368
-
1369
- api_instance = UltracartClient::StorefrontApi.new
1370
1130
 
1371
1131
  storefront_oid = 56 # Integer |
1372
1132
 
@@ -1413,23 +1173,11 @@ Duplicate library item.
1413
1173
  ```ruby
1414
1174
  # load the gem
1415
1175
  require 'ultracart_api'
1416
- # setup authorization
1417
- UltracartClient.configure do |config|
1418
- # Configure API key authorization: ultraCartBrowserApiKey
1419
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1420
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1421
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1422
-
1423
- # Configure OAuth2 access token for authorization: ultraCartOauth
1424
- config.access_token = 'YOUR ACCESS TOKEN'
1425
1176
 
1426
- # Configure API key authorization: ultraCartSimpleApiKey
1427
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1428
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1429
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1430
- end
1177
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1178
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1179
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1431
1180
 
1432
- api_instance = UltracartClient::StorefrontApi.new
1433
1181
 
1434
1182
  library_item_oid = 56 # Integer |
1435
1183
 
@@ -1475,18 +1223,11 @@ Update favorite flag on screen recording
1475
1223
  ```ruby
1476
1224
  # load the gem
1477
1225
  require 'ultracart_api'
1478
- # setup authorization
1479
- UltracartClient.configure do |config|
1480
- # Configure OAuth2 access token for authorization: ultraCartOauth
1481
- config.access_token = 'YOUR ACCESS TOKEN'
1482
1226
 
1483
- # Configure API key authorization: ultraCartSimpleApiKey
1484
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1485
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1486
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1487
- end
1227
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1228
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1229
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1488
1230
 
1489
- api_instance = UltracartClient::StorefrontApi.new
1490
1231
 
1491
1232
  storefront_oid = 56 # Integer |
1492
1233
 
@@ -1532,23 +1273,11 @@ Obtain lat/long for an address
1532
1273
  ```ruby
1533
1274
  # load the gem
1534
1275
  require 'ultracart_api'
1535
- # setup authorization
1536
- UltracartClient.configure do |config|
1537
- # Configure API key authorization: ultraCartBrowserApiKey
1538
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1539
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1540
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1541
1276
 
1542
- # Configure OAuth2 access token for authorization: ultraCartOauth
1543
- config.access_token = 'YOUR ACCESS TOKEN'
1277
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1278
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1279
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1544
1280
 
1545
- # Configure API key authorization: ultraCartSimpleApiKey
1546
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1547
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1548
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1549
- end
1550
-
1551
- api_instance = UltracartClient::StorefrontApi.new
1552
1281
 
1553
1282
  storefront_oid = 56 # Integer |
1554
1283
 
@@ -1597,23 +1326,11 @@ Obtain a list of all the countries
1597
1326
  ```ruby
1598
1327
  # load the gem
1599
1328
  require 'ultracart_api'
1600
- # setup authorization
1601
- UltracartClient.configure do |config|
1602
- # Configure API key authorization: ultraCartBrowserApiKey
1603
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1604
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1605
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1606
1329
 
1607
- # Configure OAuth2 access token for authorization: ultraCartOauth
1608
- config.access_token = 'YOUR ACCESS TOKEN'
1609
-
1610
- # Configure API key authorization: ultraCartSimpleApiKey
1611
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1612
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1613
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1614
- end
1330
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1331
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1332
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1615
1333
 
1616
- api_instance = UltracartClient::StorefrontApi.new
1617
1334
 
1618
1335
  storefront_oid = 56 # Integer |
1619
1336
 
@@ -1659,23 +1376,11 @@ Fetches a temporary authentication token for the editor
1659
1376
  ```ruby
1660
1377
  # load the gem
1661
1378
  require 'ultracart_api'
1662
- # setup authorization
1663
- UltracartClient.configure do |config|
1664
- # Configure API key authorization: ultraCartBrowserApiKey
1665
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1666
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1667
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1668
1379
 
1669
- # Configure OAuth2 access token for authorization: ultraCartOauth
1670
- config.access_token = 'YOUR ACCESS TOKEN'
1380
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1381
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1382
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1671
1383
 
1672
- # Configure API key authorization: ultraCartSimpleApiKey
1673
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1674
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1675
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1676
- end
1677
-
1678
- api_instance = UltracartClient::StorefrontApi.new
1679
1384
 
1680
1385
  storefront_oid = 56 # Integer |
1681
1386
 
@@ -1719,23 +1424,11 @@ Get email communication base templates
1719
1424
  ```ruby
1720
1425
  # load the gem
1721
1426
  require 'ultracart_api'
1722
- # setup authorization
1723
- UltracartClient.configure do |config|
1724
- # Configure API key authorization: ultraCartBrowserApiKey
1725
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1726
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1727
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1728
1427
 
1729
- # Configure OAuth2 access token for authorization: ultraCartOauth
1730
- config.access_token = 'YOUR ACCESS TOKEN'
1731
-
1732
- # Configure API key authorization: ultraCartSimpleApiKey
1733
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1734
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1735
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1736
- end
1428
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1429
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1430
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1737
1431
 
1738
- api_instance = UltracartClient::StorefrontApi.new
1739
1432
 
1740
1433
  storefront_oid = 56 # Integer |
1741
1434
 
@@ -1779,23 +1472,11 @@ Get email campaign
1779
1472
  ```ruby
1780
1473
  # load the gem
1781
1474
  require 'ultracart_api'
1782
- # setup authorization
1783
- UltracartClient.configure do |config|
1784
- # Configure API key authorization: ultraCartBrowserApiKey
1785
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1786
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1787
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1788
1475
 
1789
- # Configure OAuth2 access token for authorization: ultraCartOauth
1790
- config.access_token = 'YOUR ACCESS TOKEN'
1476
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1477
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1478
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1791
1479
 
1792
- # Configure API key authorization: ultraCartSimpleApiKey
1793
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1794
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1795
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1796
- end
1797
-
1798
- api_instance = UltracartClient::StorefrontApi.new
1799
1480
 
1800
1481
  storefront_oid = 56 # Integer |
1801
1482
 
@@ -1842,23 +1523,11 @@ Get email campaign folder
1842
1523
  ```ruby
1843
1524
  # load the gem
1844
1525
  require 'ultracart_api'
1845
- # setup authorization
1846
- UltracartClient.configure do |config|
1847
- # Configure API key authorization: ultraCartBrowserApiKey
1848
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1849
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1850
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1851
1526
 
1852
- # Configure OAuth2 access token for authorization: ultraCartOauth
1853
- config.access_token = 'YOUR ACCESS TOKEN'
1527
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1528
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1529
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1854
1530
 
1855
- # Configure API key authorization: ultraCartSimpleApiKey
1856
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1857
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1858
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1859
- end
1860
-
1861
- api_instance = UltracartClient::StorefrontApi.new
1862
1531
 
1863
1532
  storefront_oid = 56 # Integer |
1864
1533
 
@@ -1905,23 +1574,11 @@ Get email campaign folders
1905
1574
  ```ruby
1906
1575
  # load the gem
1907
1576
  require 'ultracart_api'
1908
- # setup authorization
1909
- UltracartClient.configure do |config|
1910
- # Configure API key authorization: ultraCartBrowserApiKey
1911
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1912
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1913
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1914
1577
 
1915
- # Configure OAuth2 access token for authorization: ultraCartOauth
1916
- config.access_token = 'YOUR ACCESS TOKEN'
1578
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1579
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1580
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1917
1581
 
1918
- # Configure API key authorization: ultraCartSimpleApiKey
1919
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1920
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1921
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1922
- end
1923
-
1924
- api_instance = UltracartClient::StorefrontApi.new
1925
1582
 
1926
1583
  storefront_oid = 56 # Integer |
1927
1584
 
@@ -1965,23 +1622,11 @@ Get email campaign screenshots
1965
1622
  ```ruby
1966
1623
  # load the gem
1967
1624
  require 'ultracart_api'
1968
- # setup authorization
1969
- UltracartClient.configure do |config|
1970
- # Configure API key authorization: ultraCartBrowserApiKey
1971
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
1972
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1973
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
1974
-
1975
- # Configure OAuth2 access token for authorization: ultraCartOauth
1976
- config.access_token = 'YOUR ACCESS TOKEN'
1977
1625
 
1978
- # Configure API key authorization: ultraCartSimpleApiKey
1979
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
1980
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1981
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
1982
- end
1626
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1627
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1628
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
1983
1629
 
1984
- api_instance = UltracartClient::StorefrontApi.new
1985
1630
 
1986
1631
  storefront_oid = 56 # Integer |
1987
1632
 
@@ -2028,23 +1673,11 @@ Get email campaigns
2028
1673
  ```ruby
2029
1674
  # load the gem
2030
1675
  require 'ultracart_api'
2031
- # setup authorization
2032
- UltracartClient.configure do |config|
2033
- # Configure API key authorization: ultraCartBrowserApiKey
2034
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2035
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2036
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2037
1676
 
2038
- # Configure OAuth2 access token for authorization: ultraCartOauth
2039
- config.access_token = 'YOUR ACCESS TOKEN'
1677
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1678
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1679
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2040
1680
 
2041
- # Configure API key authorization: ultraCartSimpleApiKey
2042
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2043
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2044
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2045
- end
2046
-
2047
- api_instance = UltracartClient::StorefrontApi.new
2048
1681
 
2049
1682
  storefront_oid = 56 # Integer |
2050
1683
 
@@ -2088,23 +1721,11 @@ Get email campaigns with stats
2088
1721
  ```ruby
2089
1722
  # load the gem
2090
1723
  require 'ultracart_api'
2091
- # setup authorization
2092
- UltracartClient.configure do |config|
2093
- # Configure API key authorization: ultraCartBrowserApiKey
2094
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2095
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2096
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2097
-
2098
- # Configure OAuth2 access token for authorization: ultraCartOauth
2099
- config.access_token = 'YOUR ACCESS TOKEN'
2100
1724
 
2101
- # Configure API key authorization: ultraCartSimpleApiKey
2102
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2103
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2104
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2105
- end
1725
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1726
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1727
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2106
1728
 
2107
- api_instance = UltracartClient::StorefrontApi.new
2108
1729
 
2109
1730
  storefront_oid = 56 # Integer |
2110
1731
 
@@ -2151,23 +1772,11 @@ Get email commseq
2151
1772
  ```ruby
2152
1773
  # load the gem
2153
1774
  require 'ultracart_api'
2154
- # setup authorization
2155
- UltracartClient.configure do |config|
2156
- # Configure API key authorization: ultraCartBrowserApiKey
2157
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2158
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2159
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2160
-
2161
- # Configure OAuth2 access token for authorization: ultraCartOauth
2162
- config.access_token = 'YOUR ACCESS TOKEN'
2163
1775
 
2164
- # Configure API key authorization: ultraCartSimpleApiKey
2165
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2166
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2167
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2168
- end
1776
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1777
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1778
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2169
1779
 
2170
- api_instance = UltracartClient::StorefrontApi.new
2171
1780
 
2172
1781
  storefront_oid = 56 # Integer |
2173
1782
 
@@ -2214,23 +1823,11 @@ Get email communication sequence emails stats
2214
1823
  ```ruby
2215
1824
  # load the gem
2216
1825
  require 'ultracart_api'
2217
- # setup authorization
2218
- UltracartClient.configure do |config|
2219
- # Configure API key authorization: ultraCartBrowserApiKey
2220
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2221
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2222
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2223
-
2224
- # Configure OAuth2 access token for authorization: ultraCartOauth
2225
- config.access_token = 'YOUR ACCESS TOKEN'
2226
1826
 
2227
- # Configure API key authorization: ultraCartSimpleApiKey
2228
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2229
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2230
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2231
- end
1827
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1828
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1829
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2232
1830
 
2233
- api_instance = UltracartClient::StorefrontApi.new
2234
1831
 
2235
1832
  storefront_oid = 56 # Integer |
2236
1833
 
@@ -2280,23 +1877,11 @@ Get email communication sequence postcard stats
2280
1877
  ```ruby
2281
1878
  # load the gem
2282
1879
  require 'ultracart_api'
2283
- # setup authorization
2284
- UltracartClient.configure do |config|
2285
- # Configure API key authorization: ultraCartBrowserApiKey
2286
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2287
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2288
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2289
1880
 
2290
- # Configure OAuth2 access token for authorization: ultraCartOauth
2291
- config.access_token = 'YOUR ACCESS TOKEN'
1881
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1882
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1883
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2292
1884
 
2293
- # Configure API key authorization: ultraCartSimpleApiKey
2294
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2295
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2296
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2297
- end
2298
-
2299
- api_instance = UltracartClient::StorefrontApi.new
2300
1885
 
2301
1886
  storefront_oid = 56 # Integer |
2302
1887
 
@@ -2346,23 +1931,11 @@ Get communication sequence stats overall
2346
1931
  ```ruby
2347
1932
  # load the gem
2348
1933
  require 'ultracart_api'
2349
- # setup authorization
2350
- UltracartClient.configure do |config|
2351
- # Configure API key authorization: ultraCartBrowserApiKey
2352
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2353
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2354
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2355
-
2356
- # Configure OAuth2 access token for authorization: ultraCartOauth
2357
- config.access_token = 'YOUR ACCESS TOKEN'
2358
1934
 
2359
- # Configure API key authorization: ultraCartSimpleApiKey
2360
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2361
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2362
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2363
- end
1935
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1936
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1937
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2364
1938
 
2365
- api_instance = UltracartClient::StorefrontApi.new
2366
1939
 
2367
1940
  storefront_oid = 56 # Integer |
2368
1941
 
@@ -2409,23 +1982,11 @@ Get email communication sequence step stats
2409
1982
  ```ruby
2410
1983
  # load the gem
2411
1984
  require 'ultracart_api'
2412
- # setup authorization
2413
- UltracartClient.configure do |config|
2414
- # Configure API key authorization: ultraCartBrowserApiKey
2415
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2416
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2417
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2418
1985
 
2419
- # Configure OAuth2 access token for authorization: ultraCartOauth
2420
- config.access_token = 'YOUR ACCESS TOKEN'
2421
-
2422
- # Configure API key authorization: ultraCartSimpleApiKey
2423
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2424
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2425
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2426
- end
1986
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
1987
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
1988
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2427
1989
 
2428
- api_instance = UltracartClient::StorefrontApi.new
2429
1990
 
2430
1991
  storefront_oid = 56 # Integer |
2431
1992
 
@@ -2475,23 +2036,11 @@ Get email communication sequence customers waiting at each requested step
2475
2036
  ```ruby
2476
2037
  # load the gem
2477
2038
  require 'ultracart_api'
2478
- # setup authorization
2479
- UltracartClient.configure do |config|
2480
- # Configure API key authorization: ultraCartBrowserApiKey
2481
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2482
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2483
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2484
2039
 
2485
- # Configure OAuth2 access token for authorization: ultraCartOauth
2486
- config.access_token = 'YOUR ACCESS TOKEN'
2040
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2041
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2042
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2487
2043
 
2488
- # Configure API key authorization: ultraCartSimpleApiKey
2489
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2490
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2491
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2492
- end
2493
-
2494
- api_instance = UltracartClient::StorefrontApi.new
2495
2044
 
2496
2045
  storefront_oid = 56 # Integer |
2497
2046
 
@@ -2541,23 +2090,11 @@ Get email commseqs
2541
2090
  ```ruby
2542
2091
  # load the gem
2543
2092
  require 'ultracart_api'
2544
- # setup authorization
2545
- UltracartClient.configure do |config|
2546
- # Configure API key authorization: ultraCartBrowserApiKey
2547
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2548
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2549
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2550
2093
 
2551
- # Configure OAuth2 access token for authorization: ultraCartOauth
2552
- config.access_token = 'YOUR ACCESS TOKEN'
2553
-
2554
- # Configure API key authorization: ultraCartSimpleApiKey
2555
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2556
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2557
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2558
- end
2094
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2095
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2096
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2559
2097
 
2560
- api_instance = UltracartClient::StorefrontApi.new
2561
2098
 
2562
2099
  storefront_oid = 56 # Integer |
2563
2100
 
@@ -2601,23 +2138,11 @@ Get customers editor URL
2601
2138
  ```ruby
2602
2139
  # load the gem
2603
2140
  require 'ultracart_api'
2604
- # setup authorization
2605
- UltracartClient.configure do |config|
2606
- # Configure API key authorization: ultraCartBrowserApiKey
2607
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2608
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2609
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2610
2141
 
2611
- # Configure OAuth2 access token for authorization: ultraCartOauth
2612
- config.access_token = 'YOUR ACCESS TOKEN'
2142
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2143
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2144
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2613
2145
 
2614
- # Configure API key authorization: ultraCartSimpleApiKey
2615
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2616
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2617
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2618
- end
2619
-
2620
- api_instance = UltracartClient::StorefrontApi.new
2621
2146
 
2622
2147
  storefront_oid = 56 # Integer |
2623
2148
 
@@ -2664,23 +2189,11 @@ Get email customers
2664
2189
  ```ruby
2665
2190
  # load the gem
2666
2191
  require 'ultracart_api'
2667
- # setup authorization
2668
- UltracartClient.configure do |config|
2669
- # Configure API key authorization: ultraCartBrowserApiKey
2670
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2671
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2672
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2673
2192
 
2674
- # Configure OAuth2 access token for authorization: ultraCartOauth
2675
- config.access_token = 'YOUR ACCESS TOKEN'
2676
-
2677
- # Configure API key authorization: ultraCartSimpleApiKey
2678
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2679
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2680
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2681
- end
2193
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2194
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2195
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2682
2196
 
2683
- api_instance = UltracartClient::StorefrontApi.new
2684
2197
 
2685
2198
  storefront_oid = 56 # Integer |
2686
2199
 
@@ -2732,23 +2245,11 @@ Get email dashboard activity
2732
2245
  ```ruby
2733
2246
  # load the gem
2734
2247
  require 'ultracart_api'
2735
- # setup authorization
2736
- UltracartClient.configure do |config|
2737
- # Configure API key authorization: ultraCartBrowserApiKey
2738
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2739
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2740
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2741
2248
 
2742
- # Configure OAuth2 access token for authorization: ultraCartOauth
2743
- config.access_token = 'YOUR ACCESS TOKEN'
2249
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2250
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2251
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2744
2252
 
2745
- # Configure API key authorization: ultraCartSimpleApiKey
2746
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2747
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2748
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2749
- end
2750
-
2751
- api_instance = UltracartClient::StorefrontApi.new
2752
2253
 
2753
2254
  storefront_oid = 56 # Integer |
2754
2255
 
@@ -2796,23 +2297,11 @@ Get dashboard stats
2796
2297
  ```ruby
2797
2298
  # load the gem
2798
2299
  require 'ultracart_api'
2799
- # setup authorization
2800
- UltracartClient.configure do |config|
2801
- # Configure API key authorization: ultraCartBrowserApiKey
2802
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2803
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2804
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2805
2300
 
2806
- # Configure OAuth2 access token for authorization: ultraCartOauth
2807
- config.access_token = 'YOUR ACCESS TOKEN'
2808
-
2809
- # Configure API key authorization: ultraCartSimpleApiKey
2810
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2811
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2812
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2813
- end
2301
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2302
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2303
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2814
2304
 
2815
- api_instance = UltracartClient::StorefrontApi.new
2816
2305
 
2817
2306
  storefront_oid = 56 # Integer |
2818
2307
 
@@ -2860,23 +2349,11 @@ Get email email
2860
2349
  ```ruby
2861
2350
  # load the gem
2862
2351
  require 'ultracart_api'
2863
- # setup authorization
2864
- UltracartClient.configure do |config|
2865
- # Configure API key authorization: ultraCartBrowserApiKey
2866
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2867
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2868
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2869
2352
 
2870
- # Configure OAuth2 access token for authorization: ultraCartOauth
2871
- config.access_token = 'YOUR ACCESS TOKEN'
2353
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2354
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2355
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2872
2356
 
2873
- # Configure API key authorization: ultraCartSimpleApiKey
2874
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2875
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2876
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2877
- end
2878
-
2879
- api_instance = UltracartClient::StorefrontApi.new
2880
2357
 
2881
2358
  storefront_oid = 56 # Integer |
2882
2359
 
@@ -2923,23 +2400,11 @@ Get email email clicks
2923
2400
  ```ruby
2924
2401
  # load the gem
2925
2402
  require 'ultracart_api'
2926
- # setup authorization
2927
- UltracartClient.configure do |config|
2928
- # Configure API key authorization: ultraCartBrowserApiKey
2929
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
2930
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2931
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
2932
2403
 
2933
- # Configure OAuth2 access token for authorization: ultraCartOauth
2934
- config.access_token = 'YOUR ACCESS TOKEN'
2404
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2405
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2406
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
2935
2407
 
2936
- # Configure API key authorization: ultraCartSimpleApiKey
2937
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
2938
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2939
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
2940
- end
2941
-
2942
- api_instance = UltracartClient::StorefrontApi.new
2943
2408
 
2944
2409
  storefront_oid = 56 # Integer |
2945
2410
 
@@ -2996,23 +2461,11 @@ Get email order customer editor url
2996
2461
  ```ruby
2997
2462
  # load the gem
2998
2463
  require 'ultracart_api'
2999
- # setup authorization
3000
- UltracartClient.configure do |config|
3001
- # Configure API key authorization: ultraCartBrowserApiKey
3002
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3003
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3004
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3005
2464
 
3006
- # Configure OAuth2 access token for authorization: ultraCartOauth
3007
- config.access_token = 'YOUR ACCESS TOKEN'
2465
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2466
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2467
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3008
2468
 
3009
- # Configure API key authorization: ultraCartSimpleApiKey
3010
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3011
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3012
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3013
- end
3014
-
3015
- api_instance = UltracartClient::StorefrontApi.new
3016
2469
 
3017
2470
  storefront_oid = 56 # Integer |
3018
2471
 
@@ -3062,23 +2515,11 @@ Get email email orders
3062
2515
  ```ruby
3063
2516
  # load the gem
3064
2517
  require 'ultracart_api'
3065
- # setup authorization
3066
- UltracartClient.configure do |config|
3067
- # Configure API key authorization: ultraCartBrowserApiKey
3068
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3069
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3070
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3071
-
3072
- # Configure OAuth2 access token for authorization: ultraCartOauth
3073
- config.access_token = 'YOUR ACCESS TOKEN'
3074
2518
 
3075
- # Configure API key authorization: ultraCartSimpleApiKey
3076
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3077
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3078
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3079
- end
2519
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2520
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2521
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3080
2522
 
3081
- api_instance = UltracartClient::StorefrontApi.new
3082
2523
 
3083
2524
  storefront_oid = 56 # Integer |
3084
2525
 
@@ -3135,23 +2576,11 @@ Get email emails
3135
2576
  ```ruby
3136
2577
  # load the gem
3137
2578
  require 'ultracart_api'
3138
- # setup authorization
3139
- UltracartClient.configure do |config|
3140
- # Configure API key authorization: ultraCartBrowserApiKey
3141
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3142
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3143
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3144
2579
 
3145
- # Configure OAuth2 access token for authorization: ultraCartOauth
3146
- config.access_token = 'YOUR ACCESS TOKEN'
2580
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2581
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2582
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3147
2583
 
3148
- # Configure API key authorization: ultraCartSimpleApiKey
3149
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3150
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3151
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3152
- end
3153
-
3154
- api_instance = UltracartClient::StorefrontApi.new
3155
2584
 
3156
2585
  storefront_oid = 56 # Integer |
3157
2586
 
@@ -3195,23 +2624,11 @@ Get email emails multiple
3195
2624
  ```ruby
3196
2625
  # load the gem
3197
2626
  require 'ultracart_api'
3198
- # setup authorization
3199
- UltracartClient.configure do |config|
3200
- # Configure API key authorization: ultraCartBrowserApiKey
3201
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3202
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3203
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3204
-
3205
- # Configure OAuth2 access token for authorization: ultraCartOauth
3206
- config.access_token = 'YOUR ACCESS TOKEN'
3207
2627
 
3208
- # Configure API key authorization: ultraCartSimpleApiKey
3209
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3210
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3211
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3212
- end
2628
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2629
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2630
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3213
2631
 
3214
- api_instance = UltracartClient::StorefrontApi.new
3215
2632
 
3216
2633
  storefront_oid = 56 # Integer |
3217
2634
 
@@ -3258,23 +2675,11 @@ Get email flow
3258
2675
  ```ruby
3259
2676
  # load the gem
3260
2677
  require 'ultracart_api'
3261
- # setup authorization
3262
- UltracartClient.configure do |config|
3263
- # Configure API key authorization: ultraCartBrowserApiKey
3264
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3265
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3266
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3267
-
3268
- # Configure OAuth2 access token for authorization: ultraCartOauth
3269
- config.access_token = 'YOUR ACCESS TOKEN'
3270
2678
 
3271
- # Configure API key authorization: ultraCartSimpleApiKey
3272
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3273
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3274
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3275
- end
2679
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2680
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2681
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3276
2682
 
3277
- api_instance = UltracartClient::StorefrontApi.new
3278
2683
 
3279
2684
  storefront_oid = 56 # Integer |
3280
2685
 
@@ -3321,23 +2726,11 @@ Get email flow folder
3321
2726
  ```ruby
3322
2727
  # load the gem
3323
2728
  require 'ultracart_api'
3324
- # setup authorization
3325
- UltracartClient.configure do |config|
3326
- # Configure API key authorization: ultraCartBrowserApiKey
3327
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3328
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3329
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3330
-
3331
- # Configure OAuth2 access token for authorization: ultraCartOauth
3332
- config.access_token = 'YOUR ACCESS TOKEN'
3333
2729
 
3334
- # Configure API key authorization: ultraCartSimpleApiKey
3335
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3336
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3337
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3338
- end
2730
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2731
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2732
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3339
2733
 
3340
- api_instance = UltracartClient::StorefrontApi.new
3341
2734
 
3342
2735
  storefront_oid = 56 # Integer |
3343
2736
 
@@ -3384,23 +2777,11 @@ Get email flow folders
3384
2777
  ```ruby
3385
2778
  # load the gem
3386
2779
  require 'ultracart_api'
3387
- # setup authorization
3388
- UltracartClient.configure do |config|
3389
- # Configure API key authorization: ultraCartBrowserApiKey
3390
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3391
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3392
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3393
2780
 
3394
- # Configure OAuth2 access token for authorization: ultraCartOauth
3395
- config.access_token = 'YOUR ACCESS TOKEN'
2781
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2782
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2783
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3396
2784
 
3397
- # Configure API key authorization: ultraCartSimpleApiKey
3398
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3399
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3400
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3401
- end
3402
-
3403
- api_instance = UltracartClient::StorefrontApi.new
3404
2785
 
3405
2786
  storefront_oid = 56 # Integer |
3406
2787
 
@@ -3444,23 +2825,11 @@ Get email flow screenshots
3444
2825
  ```ruby
3445
2826
  # load the gem
3446
2827
  require 'ultracart_api'
3447
- # setup authorization
3448
- UltracartClient.configure do |config|
3449
- # Configure API key authorization: ultraCartBrowserApiKey
3450
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3451
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3452
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3453
-
3454
- # Configure OAuth2 access token for authorization: ultraCartOauth
3455
- config.access_token = 'YOUR ACCESS TOKEN'
3456
2828
 
3457
- # Configure API key authorization: ultraCartSimpleApiKey
3458
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3459
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3460
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3461
- end
2829
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2830
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2831
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3462
2832
 
3463
- api_instance = UltracartClient::StorefrontApi.new
3464
2833
 
3465
2834
  storefront_oid = 56 # Integer |
3466
2835
 
@@ -3507,23 +2876,11 @@ Get email flows
3507
2876
  ```ruby
3508
2877
  # load the gem
3509
2878
  require 'ultracart_api'
3510
- # setup authorization
3511
- UltracartClient.configure do |config|
3512
- # Configure API key authorization: ultraCartBrowserApiKey
3513
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3514
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3515
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3516
2879
 
3517
- # Configure OAuth2 access token for authorization: ultraCartOauth
3518
- config.access_token = 'YOUR ACCESS TOKEN'
3519
-
3520
- # Configure API key authorization: ultraCartSimpleApiKey
3521
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3522
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3523
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3524
- end
2880
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2881
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2882
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3525
2883
 
3526
- api_instance = UltracartClient::StorefrontApi.new
3527
2884
 
3528
2885
  storefront_oid = 56 # Integer |
3529
2886
 
@@ -3567,23 +2924,12 @@ Get email globalsettings
3567
2924
  ```ruby
3568
2925
  # load the gem
3569
2926
  require 'ultracart_api'
3570
- # setup authorization
3571
- UltracartClient.configure do |config|
3572
- # Configure API key authorization: ultraCartBrowserApiKey
3573
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3574
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3575
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3576
2927
 
3577
- # Configure OAuth2 access token for authorization: ultraCartOauth
3578
- config.access_token = 'YOUR ACCESS TOKEN'
2928
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2929
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2930
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3579
2931
 
3580
- # Configure API key authorization: ultraCartSimpleApiKey
3581
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3582
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3583
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3584
- end
3585
2932
 
3586
- api_instance = UltracartClient::StorefrontApi.new
3587
2933
 
3588
2934
  begin
3589
2935
  #Get email globalsettings
@@ -3621,23 +2967,11 @@ Get email list
3621
2967
  ```ruby
3622
2968
  # load the gem
3623
2969
  require 'ultracart_api'
3624
- # setup authorization
3625
- UltracartClient.configure do |config|
3626
- # Configure API key authorization: ultraCartBrowserApiKey
3627
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3628
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3629
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3630
-
3631
- # Configure OAuth2 access token for authorization: ultraCartOauth
3632
- config.access_token = 'YOUR ACCESS TOKEN'
3633
2970
 
3634
- # Configure API key authorization: ultraCartSimpleApiKey
3635
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3636
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3637
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3638
- end
2971
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
2972
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
2973
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3639
2974
 
3640
- api_instance = UltracartClient::StorefrontApi.new
3641
2975
 
3642
2976
  storefront_oid = 56 # Integer |
3643
2977
 
@@ -3684,23 +3018,11 @@ Get email list customer editor url
3684
3018
  ```ruby
3685
3019
  # load the gem
3686
3020
  require 'ultracart_api'
3687
- # setup authorization
3688
- UltracartClient.configure do |config|
3689
- # Configure API key authorization: ultraCartBrowserApiKey
3690
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3691
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3692
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3693
3021
 
3694
- # Configure OAuth2 access token for authorization: ultraCartOauth
3695
- config.access_token = 'YOUR ACCESS TOKEN'
3022
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3023
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3024
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3696
3025
 
3697
- # Configure API key authorization: ultraCartSimpleApiKey
3698
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3699
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3700
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3701
- end
3702
-
3703
- api_instance = UltracartClient::StorefrontApi.new
3704
3026
 
3705
3027
  storefront_oid = 56 # Integer |
3706
3028
 
@@ -3750,23 +3072,11 @@ Get email list customers
3750
3072
  ```ruby
3751
3073
  # load the gem
3752
3074
  require 'ultracart_api'
3753
- # setup authorization
3754
- UltracartClient.configure do |config|
3755
- # Configure API key authorization: ultraCartBrowserApiKey
3756
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3757
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3758
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3759
-
3760
- # Configure OAuth2 access token for authorization: ultraCartOauth
3761
- config.access_token = 'YOUR ACCESS TOKEN'
3762
3075
 
3763
- # Configure API key authorization: ultraCartSimpleApiKey
3764
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3765
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3766
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3767
- end
3076
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3077
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3078
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3768
3079
 
3769
- api_instance = UltracartClient::StorefrontApi.new
3770
3080
 
3771
3081
  storefront_oid = 56 # Integer |
3772
3082
 
@@ -3819,23 +3129,11 @@ Get email lists
3819
3129
  ```ruby
3820
3130
  # load the gem
3821
3131
  require 'ultracart_api'
3822
- # setup authorization
3823
- UltracartClient.configure do |config|
3824
- # Configure API key authorization: ultraCartBrowserApiKey
3825
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3826
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3827
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3828
-
3829
- # Configure OAuth2 access token for authorization: ultraCartOauth
3830
- config.access_token = 'YOUR ACCESS TOKEN'
3831
3132
 
3832
- # Configure API key authorization: ultraCartSimpleApiKey
3833
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3834
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3835
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3836
- end
3133
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3134
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3135
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3837
3136
 
3838
- api_instance = UltracartClient::StorefrontApi.new
3839
3137
 
3840
3138
  storefront_oid = 56 # Integer |
3841
3139
 
@@ -3879,23 +3177,11 @@ Get email performance
3879
3177
  ```ruby
3880
3178
  # load the gem
3881
3179
  require 'ultracart_api'
3882
- # setup authorization
3883
- UltracartClient.configure do |config|
3884
- # Configure API key authorization: ultraCartBrowserApiKey
3885
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3886
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3887
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3888
-
3889
- # Configure OAuth2 access token for authorization: ultraCartOauth
3890
- config.access_token = 'YOUR ACCESS TOKEN'
3891
3180
 
3892
- # Configure API key authorization: ultraCartSimpleApiKey
3893
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3894
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3895
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3896
- end
3181
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3182
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3183
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3897
3184
 
3898
- api_instance = UltracartClient::StorefrontApi.new
3899
3185
 
3900
3186
  storefront_oid = 56 # Integer |
3901
3187
 
@@ -3939,23 +3225,11 @@ Get email plan
3939
3225
  ```ruby
3940
3226
  # load the gem
3941
3227
  require 'ultracart_api'
3942
- # setup authorization
3943
- UltracartClient.configure do |config|
3944
- # Configure API key authorization: ultraCartBrowserApiKey
3945
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
3946
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3947
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
3948
3228
 
3949
- # Configure OAuth2 access token for authorization: ultraCartOauth
3950
- config.access_token = 'YOUR ACCESS TOKEN'
3229
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3230
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3231
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
3951
3232
 
3952
- # Configure API key authorization: ultraCartSimpleApiKey
3953
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
3954
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
3955
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
3956
- end
3957
-
3958
- api_instance = UltracartClient::StorefrontApi.new
3959
3233
 
3960
3234
  storefront_oid = 56 # Integer |
3961
3235
 
@@ -3999,23 +3273,11 @@ Get email postcard
3999
3273
  ```ruby
4000
3274
  # load the gem
4001
3275
  require 'ultracart_api'
4002
- # setup authorization
4003
- UltracartClient.configure do |config|
4004
- # Configure API key authorization: ultraCartBrowserApiKey
4005
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4006
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4007
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4008
-
4009
- # Configure OAuth2 access token for authorization: ultraCartOauth
4010
- config.access_token = 'YOUR ACCESS TOKEN'
4011
3276
 
4012
- # Configure API key authorization: ultraCartSimpleApiKey
4013
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4014
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4015
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4016
- end
3277
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3278
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3279
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4017
3280
 
4018
- api_instance = UltracartClient::StorefrontApi.new
4019
3281
 
4020
3282
  storefront_oid = 56 # Integer |
4021
3283
 
@@ -4062,23 +3324,11 @@ Get email postcards
4062
3324
  ```ruby
4063
3325
  # load the gem
4064
3326
  require 'ultracart_api'
4065
- # setup authorization
4066
- UltracartClient.configure do |config|
4067
- # Configure API key authorization: ultraCartBrowserApiKey
4068
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4069
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4070
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4071
-
4072
- # Configure OAuth2 access token for authorization: ultraCartOauth
4073
- config.access_token = 'YOUR ACCESS TOKEN'
4074
3327
 
4075
- # Configure API key authorization: ultraCartSimpleApiKey
4076
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4077
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4078
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4079
- end
3328
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3329
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3330
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4080
3331
 
4081
- api_instance = UltracartClient::StorefrontApi.new
4082
3332
 
4083
3333
  storefront_oid = 56 # Integer |
4084
3334
 
@@ -4122,23 +3372,11 @@ Get email postcards multiple
4122
3372
  ```ruby
4123
3373
  # load the gem
4124
3374
  require 'ultracart_api'
4125
- # setup authorization
4126
- UltracartClient.configure do |config|
4127
- # Configure API key authorization: ultraCartBrowserApiKey
4128
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4129
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4130
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4131
-
4132
- # Configure OAuth2 access token for authorization: ultraCartOauth
4133
- config.access_token = 'YOUR ACCESS TOKEN'
4134
3375
 
4135
- # Configure API key authorization: ultraCartSimpleApiKey
4136
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4137
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4138
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4139
- end
3376
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3377
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3378
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4140
3379
 
4141
- api_instance = UltracartClient::StorefrontApi.new
4142
3380
 
4143
3381
  storefront_oid = 56 # Integer |
4144
3382
 
@@ -4185,23 +3423,11 @@ Get email segment
4185
3423
  ```ruby
4186
3424
  # load the gem
4187
3425
  require 'ultracart_api'
4188
- # setup authorization
4189
- UltracartClient.configure do |config|
4190
- # Configure API key authorization: ultraCartBrowserApiKey
4191
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4192
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4193
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4194
-
4195
- # Configure OAuth2 access token for authorization: ultraCartOauth
4196
- config.access_token = 'YOUR ACCESS TOKEN'
4197
3426
 
4198
- # Configure API key authorization: ultraCartSimpleApiKey
4199
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4200
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4201
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4202
- end
3427
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3428
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3429
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4203
3430
 
4204
- api_instance = UltracartClient::StorefrontApi.new
4205
3431
 
4206
3432
  storefront_oid = 56 # Integer |
4207
3433
 
@@ -4248,23 +3474,11 @@ Get email segment customers editor URL
4248
3474
  ```ruby
4249
3475
  # load the gem
4250
3476
  require 'ultracart_api'
4251
- # setup authorization
4252
- UltracartClient.configure do |config|
4253
- # Configure API key authorization: ultraCartBrowserApiKey
4254
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4255
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4256
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4257
-
4258
- # Configure OAuth2 access token for authorization: ultraCartOauth
4259
- config.access_token = 'YOUR ACCESS TOKEN'
4260
3477
 
4261
- # Configure API key authorization: ultraCartSimpleApiKey
4262
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4263
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4264
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4265
- end
3478
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3479
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3480
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4266
3481
 
4267
- api_instance = UltracartClient::StorefrontApi.new
4268
3482
 
4269
3483
  storefront_oid = 56 # Integer |
4270
3484
 
@@ -4314,23 +3528,11 @@ Get email segment customers
4314
3528
  ```ruby
4315
3529
  # load the gem
4316
3530
  require 'ultracart_api'
4317
- # setup authorization
4318
- UltracartClient.configure do |config|
4319
- # Configure API key authorization: ultraCartBrowserApiKey
4320
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4321
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4322
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4323
-
4324
- # Configure OAuth2 access token for authorization: ultraCartOauth
4325
- config.access_token = 'YOUR ACCESS TOKEN'
4326
3531
 
4327
- # Configure API key authorization: ultraCartSimpleApiKey
4328
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4329
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4330
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4331
- end
3532
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3533
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3534
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4332
3535
 
4333
- api_instance = UltracartClient::StorefrontApi.new
4334
3536
 
4335
3537
  storefront_oid = 56 # Integer |
4336
3538
 
@@ -4383,23 +3585,11 @@ Get email segments
4383
3585
  ```ruby
4384
3586
  # load the gem
4385
3587
  require 'ultracart_api'
4386
- # setup authorization
4387
- UltracartClient.configure do |config|
4388
- # Configure API key authorization: ultraCartBrowserApiKey
4389
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4390
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4391
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4392
-
4393
- # Configure OAuth2 access token for authorization: ultraCartOauth
4394
- config.access_token = 'YOUR ACCESS TOKEN'
4395
3588
 
4396
- # Configure API key authorization: ultraCartSimpleApiKey
4397
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4398
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4399
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4400
- end
3589
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3590
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3591
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4401
3592
 
4402
- api_instance = UltracartClient::StorefrontApi.new
4403
3593
 
4404
3594
  storefront_oid = 56 # Integer |
4405
3595
 
@@ -4443,23 +3633,11 @@ Get email sending domain
4443
3633
  ```ruby
4444
3634
  # load the gem
4445
3635
  require 'ultracart_api'
4446
- # setup authorization
4447
- UltracartClient.configure do |config|
4448
- # Configure API key authorization: ultraCartBrowserApiKey
4449
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4450
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4451
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4452
-
4453
- # Configure OAuth2 access token for authorization: ultraCartOauth
4454
- config.access_token = 'YOUR ACCESS TOKEN'
4455
3636
 
4456
- # Configure API key authorization: ultraCartSimpleApiKey
4457
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4458
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4459
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4460
- end
3637
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3638
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3639
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4461
3640
 
4462
- api_instance = UltracartClient::StorefrontApi.new
4463
3641
 
4464
3642
  domain = 'domain_example' # String |
4465
3643
 
@@ -4503,23 +3681,11 @@ Get email sending domain status
4503
3681
  ```ruby
4504
3682
  # load the gem
4505
3683
  require 'ultracart_api'
4506
- # setup authorization
4507
- UltracartClient.configure do |config|
4508
- # Configure API key authorization: ultraCartBrowserApiKey
4509
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4510
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4511
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4512
-
4513
- # Configure OAuth2 access token for authorization: ultraCartOauth
4514
- config.access_token = 'YOUR ACCESS TOKEN'
4515
3684
 
4516
- # Configure API key authorization: ultraCartSimpleApiKey
4517
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4518
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4519
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4520
- end
3685
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3686
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3687
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4521
3688
 
4522
- api_instance = UltracartClient::StorefrontApi.new
4523
3689
 
4524
3690
  domain = 'domain_example' # String |
4525
3691
 
@@ -4563,23 +3729,12 @@ Get email sending domains
4563
3729
  ```ruby
4564
3730
  # load the gem
4565
3731
  require 'ultracart_api'
4566
- # setup authorization
4567
- UltracartClient.configure do |config|
4568
- # Configure API key authorization: ultraCartBrowserApiKey
4569
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4570
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4571
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4572
3732
 
4573
- # Configure OAuth2 access token for authorization: ultraCartOauth
4574
- config.access_token = 'YOUR ACCESS TOKEN'
3733
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3734
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3735
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4575
3736
 
4576
- # Configure API key authorization: ultraCartSimpleApiKey
4577
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4578
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4579
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4580
- end
4581
3737
 
4582
- api_instance = UltracartClient::StorefrontApi.new
4583
3738
 
4584
3739
  begin
4585
3740
  #Get email sending domains
@@ -4617,23 +3772,11 @@ Get email settings
4617
3772
  ```ruby
4618
3773
  # load the gem
4619
3774
  require 'ultracart_api'
4620
- # setup authorization
4621
- UltracartClient.configure do |config|
4622
- # Configure API key authorization: ultraCartBrowserApiKey
4623
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4624
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4625
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4626
3775
 
4627
- # Configure OAuth2 access token for authorization: ultraCartOauth
4628
- config.access_token = 'YOUR ACCESS TOKEN'
3776
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3777
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3778
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4629
3779
 
4630
- # Configure API key authorization: ultraCartSimpleApiKey
4631
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4632
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4633
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4634
- end
4635
-
4636
- api_instance = UltracartClient::StorefrontApi.new
4637
3780
 
4638
3781
  storefront_oid = 56 # Integer |
4639
3782
 
@@ -4677,23 +3820,11 @@ Get email template
4677
3820
  ```ruby
4678
3821
  # load the gem
4679
3822
  require 'ultracart_api'
4680
- # setup authorization
4681
- UltracartClient.configure do |config|
4682
- # Configure API key authorization: ultraCartBrowserApiKey
4683
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4684
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4685
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4686
-
4687
- # Configure OAuth2 access token for authorization: ultraCartOauth
4688
- config.access_token = 'YOUR ACCESS TOKEN'
4689
3823
 
4690
- # Configure API key authorization: ultraCartSimpleApiKey
4691
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4692
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4693
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4694
- end
3824
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3825
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3826
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4695
3827
 
4696
- api_instance = UltracartClient::StorefrontApi.new
4697
3828
 
4698
3829
  storefront_oid = 56 # Integer |
4699
3830
 
@@ -4740,23 +3871,11 @@ Get email templates
4740
3871
  ```ruby
4741
3872
  # load the gem
4742
3873
  require 'ultracart_api'
4743
- # setup authorization
4744
- UltracartClient.configure do |config|
4745
- # Configure API key authorization: ultraCartBrowserApiKey
4746
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4747
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4748
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4749
3874
 
4750
- # Configure OAuth2 access token for authorization: ultraCartOauth
4751
- config.access_token = 'YOUR ACCESS TOKEN'
3875
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3876
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3877
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4752
3878
 
4753
- # Configure API key authorization: ultraCartSimpleApiKey
4754
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4755
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4756
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4757
- end
4758
-
4759
- api_instance = UltracartClient::StorefrontApi.new
4760
3879
 
4761
3880
  storefront_oid = 56 # Integer |
4762
3881
 
@@ -4804,23 +3923,11 @@ Get a list of third party email providers
4804
3923
  ```ruby
4805
3924
  # load the gem
4806
3925
  require 'ultracart_api'
4807
- # setup authorization
4808
- UltracartClient.configure do |config|
4809
- # Configure API key authorization: ultraCartBrowserApiKey
4810
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4811
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4812
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4813
-
4814
- # Configure OAuth2 access token for authorization: ultraCartOauth
4815
- config.access_token = 'YOUR ACCESS TOKEN'
4816
3926
 
4817
- # Configure API key authorization: ultraCartSimpleApiKey
4818
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4819
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4820
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4821
- end
3927
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3928
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3929
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4822
3930
 
4823
- api_instance = UltracartClient::StorefrontApi.new
4824
3931
 
4825
3932
  storefront_oid = 56 # Integer |
4826
3933
 
@@ -4864,23 +3971,11 @@ Get experiments
4864
3971
  ```ruby
4865
3972
  # load the gem
4866
3973
  require 'ultracart_api'
4867
- # setup authorization
4868
- UltracartClient.configure do |config|
4869
- # Configure API key authorization: ultraCartBrowserApiKey
4870
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4871
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4872
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4873
-
4874
- # Configure OAuth2 access token for authorization: ultraCartOauth
4875
- config.access_token = 'YOUR ACCESS TOKEN'
4876
3974
 
4877
- # Configure API key authorization: ultraCartSimpleApiKey
4878
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4879
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4880
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4881
- end
3975
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
3976
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
3977
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4882
3978
 
4883
- api_instance = UltracartClient::StorefrontApi.new
4884
3979
 
4885
3980
  storefront_oid = 56 # Integer |
4886
3981
 
@@ -4926,23 +4021,11 @@ Obtain a list of property names for a given property type
4926
4021
  ```ruby
4927
4022
  # load the gem
4928
4023
  require 'ultracart_api'
4929
- # setup authorization
4930
- UltracartClient.configure do |config|
4931
- # Configure API key authorization: ultraCartBrowserApiKey
4932
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4933
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4934
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
4935
-
4936
- # Configure OAuth2 access token for authorization: ultraCartOauth
4937
- config.access_token = 'YOUR ACCESS TOKEN'
4938
4024
 
4939
- # Configure API key authorization: ultraCartSimpleApiKey
4940
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
4941
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
4942
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
4943
- end
4025
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4026
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4027
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
4944
4028
 
4945
- api_instance = UltracartClient::StorefrontApi.new
4946
4029
 
4947
4030
  storefront_oid = 56 # Integer |
4948
4031
 
@@ -4992,23 +4075,11 @@ Obtain a list of property values for a given property name and type
4992
4075
  ```ruby
4993
4076
  # load the gem
4994
4077
  require 'ultracart_api'
4995
- # setup authorization
4996
- UltracartClient.configure do |config|
4997
- # Configure API key authorization: ultraCartBrowserApiKey
4998
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
4999
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5000
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5001
-
5002
- # Configure OAuth2 access token for authorization: ultraCartOauth
5003
- config.access_token = 'YOUR ACCESS TOKEN'
5004
4078
 
5005
- # Configure API key authorization: ultraCartSimpleApiKey
5006
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5007
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5008
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5009
- end
4079
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4080
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4081
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5010
4082
 
5011
- api_instance = UltracartClient::StorefrontApi.new
5012
4083
 
5013
4084
  storefront_oid = 56 # Integer |
5014
4085
 
@@ -5060,23 +4131,12 @@ Get library values used to populate drop down boxes for filtering.
5060
4131
  ```ruby
5061
4132
  # load the gem
5062
4133
  require 'ultracart_api'
5063
- # setup authorization
5064
- UltracartClient.configure do |config|
5065
- # Configure API key authorization: ultraCartBrowserApiKey
5066
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5067
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5068
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5069
4134
 
5070
- # Configure OAuth2 access token for authorization: ultraCartOauth
5071
- config.access_token = 'YOUR ACCESS TOKEN'
4135
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4136
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4137
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5072
4138
 
5073
- # Configure API key authorization: ultraCartSimpleApiKey
5074
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5075
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5076
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5077
- end
5078
4139
 
5079
- api_instance = UltracartClient::StorefrontApi.new
5080
4140
 
5081
4141
  begin
5082
4142
  #Get library values used to populate drop down boxes for filtering.
@@ -5114,23 +4174,11 @@ Get library item.
5114
4174
  ```ruby
5115
4175
  # load the gem
5116
4176
  require 'ultracart_api'
5117
- # setup authorization
5118
- UltracartClient.configure do |config|
5119
- # Configure API key authorization: ultraCartBrowserApiKey
5120
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5121
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5122
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5123
4177
 
5124
- # Configure OAuth2 access token for authorization: ultraCartOauth
5125
- config.access_token = 'YOUR ACCESS TOKEN'
4178
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4179
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4180
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5126
4181
 
5127
- # Configure API key authorization: ultraCartSimpleApiKey
5128
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5129
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5130
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5131
- end
5132
-
5133
- api_instance = UltracartClient::StorefrontApi.new
5134
4182
 
5135
4183
  library_item_oid = 56 # Integer |
5136
4184
 
@@ -5174,23 +4222,11 @@ Get all published versions for a library item.
5174
4222
  ```ruby
5175
4223
  # load the gem
5176
4224
  require 'ultracart_api'
5177
- # setup authorization
5178
- UltracartClient.configure do |config|
5179
- # Configure API key authorization: ultraCartBrowserApiKey
5180
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5181
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5182
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5183
4225
 
5184
- # Configure OAuth2 access token for authorization: ultraCartOauth
5185
- config.access_token = 'YOUR ACCESS TOKEN'
4226
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4227
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4228
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5186
4229
 
5187
- # Configure API key authorization: ultraCartSimpleApiKey
5188
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5189
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5190
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5191
- end
5192
-
5193
- api_instance = UltracartClient::StorefrontApi.new
5194
4230
 
5195
4231
  library_item_oid = 56 # Integer |
5196
4232
 
@@ -5236,18 +4272,11 @@ Retrieves the pricing tiers
5236
4272
  ```ruby
5237
4273
  # load the gem
5238
4274
  require 'ultracart_api'
5239
- # setup authorization
5240
- UltracartClient.configure do |config|
5241
- # Configure OAuth2 access token for authorization: ultraCartOauth
5242
- config.access_token = 'YOUR ACCESS TOKEN'
5243
4275
 
5244
- # Configure API key authorization: ultraCartSimpleApiKey
5245
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5246
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5247
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5248
- end
4276
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4277
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4278
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5249
4279
 
5250
- api_instance = UltracartClient::StorefrontApi.new
5251
4280
 
5252
4281
  opts = {
5253
4282
  _expand: '_expand_example' # String | The object expansion to perform on the result. See documentation for examples
@@ -5294,18 +4323,11 @@ Get screen recording
5294
4323
  ```ruby
5295
4324
  # load the gem
5296
4325
  require 'ultracart_api'
5297
- # setup authorization
5298
- UltracartClient.configure do |config|
5299
- # Configure OAuth2 access token for authorization: ultraCartOauth
5300
- config.access_token = 'YOUR ACCESS TOKEN'
5301
4326
 
5302
- # Configure API key authorization: ultraCartSimpleApiKey
5303
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5304
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5305
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5306
- end
4327
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4328
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4329
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5307
4330
 
5308
- api_instance = UltracartClient::StorefrontApi.new
5309
4331
 
5310
4332
  storefront_oid = 56 # Integer |
5311
4333
 
@@ -5354,18 +4376,11 @@ Get screen recording page view data
5354
4376
  ```ruby
5355
4377
  # load the gem
5356
4378
  require 'ultracart_api'
5357
- # setup authorization
5358
- UltracartClient.configure do |config|
5359
- # Configure OAuth2 access token for authorization: ultraCartOauth
5360
- config.access_token = 'YOUR ACCESS TOKEN'
5361
4379
 
5362
- # Configure API key authorization: ultraCartSimpleApiKey
5363
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5364
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5365
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5366
- end
4380
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4381
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4382
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5367
4383
 
5368
- api_instance = UltracartClient::StorefrontApi.new
5369
4384
 
5370
4385
  storefront_oid = 56 # Integer |
5371
4386
 
@@ -5415,23 +4430,11 @@ Get screen recording segment
5415
4430
  ```ruby
5416
4431
  # load the gem
5417
4432
  require 'ultracart_api'
5418
- # setup authorization
5419
- UltracartClient.configure do |config|
5420
- # Configure API key authorization: ultraCartBrowserApiKey
5421
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5422
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5423
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5424
4433
 
5425
- # Configure OAuth2 access token for authorization: ultraCartOauth
5426
- config.access_token = 'YOUR ACCESS TOKEN'
4434
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4435
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4436
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5427
4437
 
5428
- # Configure API key authorization: ultraCartSimpleApiKey
5429
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5430
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5431
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5432
- end
5433
-
5434
- api_instance = UltracartClient::StorefrontApi.new
5435
4438
 
5436
4439
  storefront_oid = 56 # Integer |
5437
4440
 
@@ -5478,23 +4481,11 @@ Get screen recording segments
5478
4481
  ```ruby
5479
4482
  # load the gem
5480
4483
  require 'ultracart_api'
5481
- # setup authorization
5482
- UltracartClient.configure do |config|
5483
- # Configure API key authorization: ultraCartBrowserApiKey
5484
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5485
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5486
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5487
4484
 
5488
- # Configure OAuth2 access token for authorization: ultraCartOauth
5489
- config.access_token = 'YOUR ACCESS TOKEN'
5490
-
5491
- # Configure API key authorization: ultraCartSimpleApiKey
5492
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5493
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5494
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5495
- end
4485
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4486
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4487
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5496
4488
 
5497
- api_instance = UltracartClient::StorefrontApi.new
5498
4489
 
5499
4490
  storefront_oid = 56 # Integer |
5500
4491
 
@@ -5538,23 +4529,11 @@ Get screen recording settings
5538
4529
  ```ruby
5539
4530
  # load the gem
5540
4531
  require 'ultracart_api'
5541
- # setup authorization
5542
- UltracartClient.configure do |config|
5543
- # Configure API key authorization: ultraCartBrowserApiKey
5544
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5545
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5546
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5547
4532
 
5548
- # Configure OAuth2 access token for authorization: ultraCartOauth
5549
- config.access_token = 'YOUR ACCESS TOKEN'
4533
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4534
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4535
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5550
4536
 
5551
- # Configure API key authorization: ultraCartSimpleApiKey
5552
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5553
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5554
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5555
- end
5556
-
5557
- api_instance = UltracartClient::StorefrontApi.new
5558
4537
 
5559
4538
  storefront_oid = 56 # Integer |
5560
4539
 
@@ -5600,18 +4579,11 @@ Get tags used by screen recording
5600
4579
  ```ruby
5601
4580
  # load the gem
5602
4581
  require 'ultracart_api'
5603
- # setup authorization
5604
- UltracartClient.configure do |config|
5605
- # Configure OAuth2 access token for authorization: ultraCartOauth
5606
- config.access_token = 'YOUR ACCESS TOKEN'
5607
4582
 
5608
- # Configure API key authorization: ultraCartSimpleApiKey
5609
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5610
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5611
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5612
- end
4583
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4584
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4585
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5613
4586
 
5614
- api_instance = UltracartClient::StorefrontApi.new
5615
4587
 
5616
4588
  storefront_oid = 56 # Integer |
5617
4589
 
@@ -5657,18 +4629,11 @@ Query screen recordings
5657
4629
  ```ruby
5658
4630
  # load the gem
5659
4631
  require 'ultracart_api'
5660
- # setup authorization
5661
- UltracartClient.configure do |config|
5662
- # Configure OAuth2 access token for authorization: ultraCartOauth
5663
- config.access_token = 'YOUR ACCESS TOKEN'
5664
4632
 
5665
- # Configure API key authorization: ultraCartSimpleApiKey
5666
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5667
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5668
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5669
- end
4633
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4634
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4635
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5670
4636
 
5671
- api_instance = UltracartClient::StorefrontApi.new
5672
4637
 
5673
4638
  storefront_oid = 56 # Integer |
5674
4639
 
@@ -5725,18 +4690,11 @@ Get screen recordings by segment
5725
4690
  ```ruby
5726
4691
  # load the gem
5727
4692
  require 'ultracart_api'
5728
- # setup authorization
5729
- UltracartClient.configure do |config|
5730
- # Configure OAuth2 access token for authorization: ultraCartOauth
5731
- config.access_token = 'YOUR ACCESS TOKEN'
5732
4693
 
5733
- # Configure API key authorization: ultraCartSimpleApiKey
5734
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5735
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5736
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5737
- end
4694
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4695
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4696
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5738
4697
 
5739
- api_instance = UltracartClient::StorefrontApi.new
5740
4698
 
5741
4699
  storefront_oid = 56 # Integer |
5742
4700
 
@@ -5791,23 +4749,11 @@ Get thumbnail parameters
5791
4749
  ```ruby
5792
4750
  # load the gem
5793
4751
  require 'ultracart_api'
5794
- # setup authorization
5795
- UltracartClient.configure do |config|
5796
- # Configure API key authorization: ultraCartBrowserApiKey
5797
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5798
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5799
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5800
-
5801
- # Configure OAuth2 access token for authorization: ultraCartOauth
5802
- config.access_token = 'YOUR ACCESS TOKEN'
5803
4752
 
5804
- # Configure API key authorization: ultraCartSimpleApiKey
5805
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5806
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5807
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5808
- end
4753
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4754
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4755
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5809
4756
 
5810
- api_instance = UltracartClient::StorefrontApi.new
5811
4757
 
5812
4758
  thumbnail_parameters = UltracartClient::ThumbnailParametersRequest.new # ThumbnailParametersRequest | Thumbnail Parameters
5813
4759
 
@@ -5853,23 +4799,11 @@ Fetch a transactional email
5853
4799
  ```ruby
5854
4800
  # load the gem
5855
4801
  require 'ultracart_api'
5856
- # setup authorization
5857
- UltracartClient.configure do |config|
5858
- # Configure API key authorization: ultraCartBrowserApiKey
5859
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5860
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5861
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5862
4802
 
5863
- # Configure OAuth2 access token for authorization: ultraCartOauth
5864
- config.access_token = 'YOUR ACCESS TOKEN'
5865
-
5866
- # Configure API key authorization: ultraCartSimpleApiKey
5867
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5868
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5869
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5870
- end
4803
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4804
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4805
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5871
4806
 
5872
- api_instance = UltracartClient::StorefrontApi.new
5873
4807
 
5874
4808
  storefront_oid = 56 # Integer |
5875
4809
 
@@ -5918,23 +4852,11 @@ Obtain a list of all transactional emails and return back just their names
5918
4852
  ```ruby
5919
4853
  # load the gem
5920
4854
  require 'ultracart_api'
5921
- # setup authorization
5922
- UltracartClient.configure do |config|
5923
- # Configure API key authorization: ultraCartBrowserApiKey
5924
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5925
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5926
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5927
4855
 
5928
- # Configure OAuth2 access token for authorization: ultraCartOauth
5929
- config.access_token = 'YOUR ACCESS TOKEN'
4856
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4857
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4858
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5930
4859
 
5931
- # Configure API key authorization: ultraCartSimpleApiKey
5932
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5933
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5934
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5935
- end
5936
-
5937
- api_instance = UltracartClient::StorefrontApi.new
5938
4860
 
5939
4861
  storefront_oid = 56 # Integer |
5940
4862
 
@@ -5978,23 +4900,11 @@ Get transactional email screenshots
5978
4900
  ```ruby
5979
4901
  # load the gem
5980
4902
  require 'ultracart_api'
5981
- # setup authorization
5982
- UltracartClient.configure do |config|
5983
- # Configure API key authorization: ultraCartBrowserApiKey
5984
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
5985
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5986
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
5987
4903
 
5988
- # Configure OAuth2 access token for authorization: ultraCartOauth
5989
- config.access_token = 'YOUR ACCESS TOKEN'
5990
-
5991
- # Configure API key authorization: ultraCartSimpleApiKey
5992
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
5993
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
5994
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
5995
- end
4904
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4905
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4906
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
5996
4907
 
5997
- api_instance = UltracartClient::StorefrontApi.new
5998
4908
 
5999
4909
  storefront_oid = 56 # Integer |
6000
4910
 
@@ -6041,23 +4951,11 @@ Globally unsubscribe a customer
6041
4951
  ```ruby
6042
4952
  # load the gem
6043
4953
  require 'ultracart_api'
6044
- # setup authorization
6045
- UltracartClient.configure do |config|
6046
- # Configure API key authorization: ultraCartBrowserApiKey
6047
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6048
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6049
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6050
4954
 
6051
- # Configure OAuth2 access token for authorization: ultraCartOauth
6052
- config.access_token = 'YOUR ACCESS TOKEN'
4955
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
4956
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
4957
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6053
4958
 
6054
- # Configure API key authorization: ultraCartSimpleApiKey
6055
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6056
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6057
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6058
- end
6059
-
6060
- api_instance = UltracartClient::StorefrontApi.new
6061
4959
 
6062
4960
  storefront_oid = 56 # Integer |
6063
4961
 
@@ -6104,23 +5002,11 @@ Import a third party provider list
6104
5002
  ```ruby
6105
5003
  # load the gem
6106
5004
  require 'ultracart_api'
6107
- # setup authorization
6108
- UltracartClient.configure do |config|
6109
- # Configure API key authorization: ultraCartBrowserApiKey
6110
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6111
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6112
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6113
5005
 
6114
- # Configure OAuth2 access token for authorization: ultraCartOauth
6115
- config.access_token = 'YOUR ACCESS TOKEN'
6116
-
6117
- # Configure API key authorization: ultraCartSimpleApiKey
6118
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6119
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6120
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6121
- end
5006
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5007
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5008
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6122
5009
 
6123
- api_instance = UltracartClient::StorefrontApi.new
6124
5010
 
6125
5011
  storefront_oid = 56 # Integer |
6126
5012
 
@@ -6166,23 +5052,11 @@ Insert email campaign
6166
5052
  ```ruby
6167
5053
  # load the gem
6168
5054
  require 'ultracart_api'
6169
- # setup authorization
6170
- UltracartClient.configure do |config|
6171
- # Configure API key authorization: ultraCartBrowserApiKey
6172
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6173
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6174
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6175
5055
 
6176
- # Configure OAuth2 access token for authorization: ultraCartOauth
6177
- config.access_token = 'YOUR ACCESS TOKEN'
5056
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5057
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5058
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6178
5059
 
6179
- # Configure API key authorization: ultraCartSimpleApiKey
6180
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6181
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6182
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6183
- end
6184
-
6185
- api_instance = UltracartClient::StorefrontApi.new
6186
5060
 
6187
5061
  storefront_oid = 56 # Integer |
6188
5062
 
@@ -6229,23 +5103,11 @@ Insert email campaign folder
6229
5103
  ```ruby
6230
5104
  # load the gem
6231
5105
  require 'ultracart_api'
6232
- # setup authorization
6233
- UltracartClient.configure do |config|
6234
- # Configure API key authorization: ultraCartBrowserApiKey
6235
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6236
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6237
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6238
5106
 
6239
- # Configure OAuth2 access token for authorization: ultraCartOauth
6240
- config.access_token = 'YOUR ACCESS TOKEN'
6241
-
6242
- # Configure API key authorization: ultraCartSimpleApiKey
6243
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6244
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6245
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6246
- end
5107
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5108
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5109
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6247
5110
 
6248
- api_instance = UltracartClient::StorefrontApi.new
6249
5111
 
6250
5112
  storefront_oid = 56 # Integer |
6251
5113
 
@@ -6292,23 +5154,11 @@ Insert email commseq
6292
5154
  ```ruby
6293
5155
  # load the gem
6294
5156
  require 'ultracart_api'
6295
- # setup authorization
6296
- UltracartClient.configure do |config|
6297
- # Configure API key authorization: ultraCartBrowserApiKey
6298
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6299
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6300
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6301
5157
 
6302
- # Configure OAuth2 access token for authorization: ultraCartOauth
6303
- config.access_token = 'YOUR ACCESS TOKEN'
5158
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5159
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5160
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6304
5161
 
6305
- # Configure API key authorization: ultraCartSimpleApiKey
6306
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6307
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6308
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6309
- end
6310
-
6311
- api_instance = UltracartClient::StorefrontApi.new
6312
5162
 
6313
5163
  storefront_oid = 56 # Integer |
6314
5164
 
@@ -6355,23 +5205,11 @@ Insert email email
6355
5205
  ```ruby
6356
5206
  # load the gem
6357
5207
  require 'ultracart_api'
6358
- # setup authorization
6359
- UltracartClient.configure do |config|
6360
- # Configure API key authorization: ultraCartBrowserApiKey
6361
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6362
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6363
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6364
5208
 
6365
- # Configure OAuth2 access token for authorization: ultraCartOauth
6366
- config.access_token = 'YOUR ACCESS TOKEN'
5209
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5210
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5211
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6367
5212
 
6368
- # Configure API key authorization: ultraCartSimpleApiKey
6369
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6370
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6371
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6372
- end
6373
-
6374
- api_instance = UltracartClient::StorefrontApi.new
6375
5213
 
6376
5214
  storefront_oid = 56 # Integer |
6377
5215
 
@@ -6418,23 +5256,11 @@ Insert email flow
6418
5256
  ```ruby
6419
5257
  # load the gem
6420
5258
  require 'ultracart_api'
6421
- # setup authorization
6422
- UltracartClient.configure do |config|
6423
- # Configure API key authorization: ultraCartBrowserApiKey
6424
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6425
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6426
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6427
5259
 
6428
- # Configure OAuth2 access token for authorization: ultraCartOauth
6429
- config.access_token = 'YOUR ACCESS TOKEN'
5260
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5261
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5262
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6430
5263
 
6431
- # Configure API key authorization: ultraCartSimpleApiKey
6432
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6433
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6434
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6435
- end
6436
-
6437
- api_instance = UltracartClient::StorefrontApi.new
6438
5264
 
6439
5265
  storefront_oid = 56 # Integer |
6440
5266
 
@@ -6481,23 +5307,11 @@ Insert email flow folder
6481
5307
  ```ruby
6482
5308
  # load the gem
6483
5309
  require 'ultracart_api'
6484
- # setup authorization
6485
- UltracartClient.configure do |config|
6486
- # Configure API key authorization: ultraCartBrowserApiKey
6487
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6488
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6489
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6490
-
6491
- # Configure OAuth2 access token for authorization: ultraCartOauth
6492
- config.access_token = 'YOUR ACCESS TOKEN'
6493
5310
 
6494
- # Configure API key authorization: ultraCartSimpleApiKey
6495
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6496
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6497
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6498
- end
5311
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5312
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5313
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6499
5314
 
6500
- api_instance = UltracartClient::StorefrontApi.new
6501
5315
 
6502
5316
  storefront_oid = 56 # Integer |
6503
5317
 
@@ -6544,23 +5358,11 @@ Insert email list
6544
5358
  ```ruby
6545
5359
  # load the gem
6546
5360
  require 'ultracart_api'
6547
- # setup authorization
6548
- UltracartClient.configure do |config|
6549
- # Configure API key authorization: ultraCartBrowserApiKey
6550
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6551
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6552
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6553
5361
 
6554
- # Configure OAuth2 access token for authorization: ultraCartOauth
6555
- config.access_token = 'YOUR ACCESS TOKEN'
5362
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5363
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5364
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6556
5365
 
6557
- # Configure API key authorization: ultraCartSimpleApiKey
6558
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6559
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6560
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6561
- end
6562
-
6563
- api_instance = UltracartClient::StorefrontApi.new
6564
5366
 
6565
5367
  storefront_oid = 56 # Integer |
6566
5368
 
@@ -6607,23 +5409,11 @@ Insert email postcard
6607
5409
  ```ruby
6608
5410
  # load the gem
6609
5411
  require 'ultracart_api'
6610
- # setup authorization
6611
- UltracartClient.configure do |config|
6612
- # Configure API key authorization: ultraCartBrowserApiKey
6613
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6614
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6615
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6616
-
6617
- # Configure OAuth2 access token for authorization: ultraCartOauth
6618
- config.access_token = 'YOUR ACCESS TOKEN'
6619
5412
 
6620
- # Configure API key authorization: ultraCartSimpleApiKey
6621
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6622
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6623
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6624
- end
5413
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5414
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5415
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6625
5416
 
6626
- api_instance = UltracartClient::StorefrontApi.new
6627
5417
 
6628
5418
  storefront_oid = 56 # Integer |
6629
5419
 
@@ -6670,23 +5460,11 @@ Insert email segment
6670
5460
  ```ruby
6671
5461
  # load the gem
6672
5462
  require 'ultracart_api'
6673
- # setup authorization
6674
- UltracartClient.configure do |config|
6675
- # Configure API key authorization: ultraCartBrowserApiKey
6676
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6677
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6678
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6679
-
6680
- # Configure OAuth2 access token for authorization: ultraCartOauth
6681
- config.access_token = 'YOUR ACCESS TOKEN'
6682
5463
 
6683
- # Configure API key authorization: ultraCartSimpleApiKey
6684
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6685
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6686
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6687
- end
5464
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5465
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5466
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6688
5467
 
6689
- api_instance = UltracartClient::StorefrontApi.new
6690
5468
 
6691
5469
  storefront_oid = 56 # Integer |
6692
5470
 
@@ -6733,23 +5511,11 @@ Insert screen recording segment
6733
5511
  ```ruby
6734
5512
  # load the gem
6735
5513
  require 'ultracart_api'
6736
- # setup authorization
6737
- UltracartClient.configure do |config|
6738
- # Configure API key authorization: ultraCartBrowserApiKey
6739
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6740
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6741
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6742
-
6743
- # Configure OAuth2 access token for authorization: ultraCartOauth
6744
- config.access_token = 'YOUR ACCESS TOKEN'
6745
5514
 
6746
- # Configure API key authorization: ultraCartSimpleApiKey
6747
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6748
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6749
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6750
- end
5515
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5516
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5517
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6751
5518
 
6752
- api_instance = UltracartClient::StorefrontApi.new
6753
5519
 
6754
5520
  storefront_oid = 56 # Integer |
6755
5521
 
@@ -6796,23 +5562,11 @@ Prepare download of email segment
6796
5562
  ```ruby
6797
5563
  # load the gem
6798
5564
  require 'ultracart_api'
6799
- # setup authorization
6800
- UltracartClient.configure do |config|
6801
- # Configure API key authorization: ultraCartBrowserApiKey
6802
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6803
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6804
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6805
5565
 
6806
- # Configure OAuth2 access token for authorization: ultraCartOauth
6807
- config.access_token = 'YOUR ACCESS TOKEN'
5566
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5567
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5568
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6808
5569
 
6809
- # Configure API key authorization: ultraCartSimpleApiKey
6810
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6811
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6812
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6813
- end
6814
-
6815
- api_instance = UltracartClient::StorefrontApi.new
6816
5570
 
6817
5571
  storefront_oid = 56 # Integer |
6818
5572
 
@@ -6859,23 +5613,11 @@ Publish library item.
6859
5613
  ```ruby
6860
5614
  # load the gem
6861
5615
  require 'ultracart_api'
6862
- # setup authorization
6863
- UltracartClient.configure do |config|
6864
- # Configure API key authorization: ultraCartBrowserApiKey
6865
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6866
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6867
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6868
-
6869
- # Configure OAuth2 access token for authorization: ultraCartOauth
6870
- config.access_token = 'YOUR ACCESS TOKEN'
6871
5616
 
6872
- # Configure API key authorization: ultraCartSimpleApiKey
6873
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6874
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6875
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6876
- end
5617
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5618
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5619
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6877
5620
 
6878
- api_instance = UltracartClient::StorefrontApi.new
6879
5621
 
6880
5622
  library_item_oid = 56 # Integer |
6881
5623
 
@@ -6922,23 +5664,11 @@ Purchase public library item, which creates a copy of the item in your personal
6922
5664
  ```ruby
6923
5665
  # load the gem
6924
5666
  require 'ultracart_api'
6925
- # setup authorization
6926
- UltracartClient.configure do |config|
6927
- # Configure API key authorization: ultraCartBrowserApiKey
6928
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6929
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6930
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6931
5667
 
6932
- # Configure OAuth2 access token for authorization: ultraCartOauth
6933
- config.access_token = 'YOUR ACCESS TOKEN'
6934
-
6935
- # Configure API key authorization: ultraCartSimpleApiKey
6936
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
6937
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6938
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
6939
- end
5668
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5669
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5670
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6940
5671
 
6941
- api_instance = UltracartClient::StorefrontApi.new
6942
5672
 
6943
5673
  library_item_oid = 56 # Integer |
6944
5674
 
@@ -6986,23 +5716,11 @@ Release email communication sequence customers waiting at the specified step
6986
5716
  ```ruby
6987
5717
  # load the gem
6988
5718
  require 'ultracart_api'
6989
- # setup authorization
6990
- UltracartClient.configure do |config|
6991
- # Configure API key authorization: ultraCartBrowserApiKey
6992
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
6993
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
6994
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
6995
5719
 
6996
- # Configure OAuth2 access token for authorization: ultraCartOauth
6997
- config.access_token = 'YOUR ACCESS TOKEN'
5720
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5721
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5722
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
6998
5723
 
6999
- # Configure API key authorization: ultraCartSimpleApiKey
7000
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7001
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7002
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7003
- end
7004
-
7005
- api_instance = UltracartClient::StorefrontApi.new
7006
5724
 
7007
5725
  storefront_oid = 56 # Integer |
7008
5726
 
@@ -7051,23 +5769,11 @@ Request a review of an email
7051
5769
  ```ruby
7052
5770
  # load the gem
7053
5771
  require 'ultracart_api'
7054
- # setup authorization
7055
- UltracartClient.configure do |config|
7056
- # Configure API key authorization: ultraCartBrowserApiKey
7057
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7058
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7059
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7060
5772
 
7061
- # Configure OAuth2 access token for authorization: ultraCartOauth
7062
- config.access_token = 'YOUR ACCESS TOKEN'
7063
-
7064
- # Configure API key authorization: ultraCartSimpleApiKey
7065
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7066
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7067
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7068
- end
5773
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5774
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5775
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7069
5776
 
7070
- api_instance = UltracartClient::StorefrontApi.new
7071
5777
 
7072
5778
  storefront_oid = 56 # Integer |
7073
5779
 
@@ -7117,23 +5823,11 @@ Searches for all matching values
7117
5823
  ```ruby
7118
5824
  # load the gem
7119
5825
  require 'ultracart_api'
7120
- # setup authorization
7121
- UltracartClient.configure do |config|
7122
- # Configure API key authorization: ultraCartBrowserApiKey
7123
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7124
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7125
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7126
5826
 
7127
- # Configure OAuth2 access token for authorization: ultraCartOauth
7128
- config.access_token = 'YOUR ACCESS TOKEN'
5827
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5828
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5829
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7129
5830
 
7130
- # Configure API key authorization: ultraCartSimpleApiKey
7131
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7132
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7133
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7134
- end
7135
-
7136
- api_instance = UltracartClient::StorefrontApi.new
7137
5831
 
7138
5832
  opts = {
7139
5833
  category: 'category_example', # String |
@@ -7186,23 +5880,11 @@ Searches for all matching values (using POST)
7186
5880
  ```ruby
7187
5881
  # load the gem
7188
5882
  require 'ultracart_api'
7189
- # setup authorization
7190
- UltracartClient.configure do |config|
7191
- # Configure API key authorization: ultraCartBrowserApiKey
7192
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7193
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7194
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7195
5883
 
7196
- # Configure OAuth2 access token for authorization: ultraCartOauth
7197
- config.access_token = 'YOUR ACCESS TOKEN'
7198
-
7199
- # Configure API key authorization: ultraCartSimpleApiKey
7200
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7201
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7202
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7203
- end
5884
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5885
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5886
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7204
5887
 
7205
- api_instance = UltracartClient::StorefrontApi.new
7206
5888
 
7207
5889
  lookup_request = UltracartClient::LookupRequest.new # LookupRequest | LookupRequest
7208
5890
 
@@ -7246,23 +5928,11 @@ Search email list customers
7246
5928
  ```ruby
7247
5929
  # load the gem
7248
5930
  require 'ultracart_api'
7249
- # setup authorization
7250
- UltracartClient.configure do |config|
7251
- # Configure API key authorization: ultraCartBrowserApiKey
7252
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7253
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7254
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7255
5931
 
7256
- # Configure OAuth2 access token for authorization: ultraCartOauth
7257
- config.access_token = 'YOUR ACCESS TOKEN'
5932
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5933
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5934
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7258
5935
 
7259
- # Configure API key authorization: ultraCartSimpleApiKey
7260
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7261
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7262
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7263
- end
7264
-
7265
- api_instance = UltracartClient::StorefrontApi.new
7266
5936
 
7267
5937
  storefront_oid = 56 # Integer |
7268
5938
 
@@ -7313,23 +5983,11 @@ Search email segment customers
7313
5983
  ```ruby
7314
5984
  # load the gem
7315
5985
  require 'ultracart_api'
7316
- # setup authorization
7317
- UltracartClient.configure do |config|
7318
- # Configure API key authorization: ultraCartBrowserApiKey
7319
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7320
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7321
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7322
5986
 
7323
- # Configure OAuth2 access token for authorization: ultraCartOauth
7324
- config.access_token = 'YOUR ACCESS TOKEN'
7325
-
7326
- # Configure API key authorization: ultraCartSimpleApiKey
7327
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7328
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7329
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7330
- end
5987
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
5988
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
5989
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7331
5990
 
7332
- api_instance = UltracartClient::StorefrontApi.new
7333
5991
 
7334
5992
  storefront_oid = 56 # Integer |
7335
5993
 
@@ -7382,18 +6040,11 @@ Retrieves a library items based on a query object. If no parameters are specifi
7382
6040
  ```ruby
7383
6041
  # load the gem
7384
6042
  require 'ultracart_api'
7385
- # setup authorization
7386
- UltracartClient.configure do |config|
7387
- # Configure OAuth2 access token for authorization: ultraCartOauth
7388
- config.access_token = 'YOUR ACCESS TOKEN'
7389
6043
 
7390
- # Configure API key authorization: ultraCartSimpleApiKey
7391
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7392
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7393
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7394
- end
6044
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6045
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6046
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7395
6047
 
7396
- api_instance = UltracartClient::StorefrontApi.new
7397
6048
 
7398
6049
  item_query = UltracartClient::LibraryItemQuery.new # LibraryItemQuery | Item query
7399
6050
 
@@ -7447,18 +6098,11 @@ Retrieves a library items based on a query object. If no parameters are specifi
7447
6098
  ```ruby
7448
6099
  # load the gem
7449
6100
  require 'ultracart_api'
7450
- # setup authorization
7451
- UltracartClient.configure do |config|
7452
- # Configure OAuth2 access token for authorization: ultraCartOauth
7453
- config.access_token = 'YOUR ACCESS TOKEN'
7454
6101
 
7455
- # Configure API key authorization: ultraCartSimpleApiKey
7456
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7457
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7458
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7459
- end
6102
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6103
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6104
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7460
6105
 
7461
- api_instance = UltracartClient::StorefrontApi.new
7462
6106
 
7463
6107
  item_query = UltracartClient::LibraryItemQuery.new # LibraryItemQuery | Item query
7464
6108
 
@@ -7512,18 +6156,11 @@ Retrieves a library items based on a query object. If no parameters are specifi
7512
6156
  ```ruby
7513
6157
  # load the gem
7514
6158
  require 'ultracart_api'
7515
- # setup authorization
7516
- UltracartClient.configure do |config|
7517
- # Configure OAuth2 access token for authorization: ultraCartOauth
7518
- config.access_token = 'YOUR ACCESS TOKEN'
7519
6159
 
7520
- # Configure API key authorization: ultraCartSimpleApiKey
7521
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7522
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7523
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7524
- end
6160
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6161
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6162
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7525
6163
 
7526
- api_instance = UltracartClient::StorefrontApi.new
7527
6164
 
7528
6165
  item_query = UltracartClient::LibraryItemQuery.new # LibraryItemQuery | Item query
7529
6166
 
@@ -7577,18 +6214,11 @@ Retrieves a library items based on a query object. If no parameters are specifi
7577
6214
  ```ruby
7578
6215
  # load the gem
7579
6216
  require 'ultracart_api'
7580
- # setup authorization
7581
- UltracartClient.configure do |config|
7582
- # Configure OAuth2 access token for authorization: ultraCartOauth
7583
- config.access_token = 'YOUR ACCESS TOKEN'
7584
6217
 
7585
- # Configure API key authorization: ultraCartSimpleApiKey
7586
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7587
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7588
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7589
- end
6218
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6219
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6220
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7590
6221
 
7591
- api_instance = UltracartClient::StorefrontApi.new
7592
6222
 
7593
6223
  item_query = UltracartClient::LibraryItemQuery.new # LibraryItemQuery | Item query
7594
6224
 
@@ -7640,23 +6270,11 @@ Send email test
7640
6270
  ```ruby
7641
6271
  # load the gem
7642
6272
  require 'ultracart_api'
7643
- # setup authorization
7644
- UltracartClient.configure do |config|
7645
- # Configure API key authorization: ultraCartBrowserApiKey
7646
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7647
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7648
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7649
6273
 
7650
- # Configure OAuth2 access token for authorization: ultraCartOauth
7651
- config.access_token = 'YOUR ACCESS TOKEN'
6274
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6275
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6276
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7652
6277
 
7653
- # Configure API key authorization: ultraCartSimpleApiKey
7654
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7655
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7656
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7657
- end
7658
-
7659
- api_instance = UltracartClient::StorefrontApi.new
7660
6278
 
7661
6279
  storefront_oid = 56 # Integer |
7662
6280
 
@@ -7706,23 +6324,11 @@ Send postcard test
7706
6324
  ```ruby
7707
6325
  # load the gem
7708
6326
  require 'ultracart_api'
7709
- # setup authorization
7710
- UltracartClient.configure do |config|
7711
- # Configure API key authorization: ultraCartBrowserApiKey
7712
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7713
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7714
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7715
-
7716
- # Configure OAuth2 access token for authorization: ultraCartOauth
7717
- config.access_token = 'YOUR ACCESS TOKEN'
7718
6327
 
7719
- # Configure API key authorization: ultraCartSimpleApiKey
7720
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7721
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7722
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7723
- end
6328
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6329
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6330
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7724
6331
 
7725
- api_instance = UltracartClient::StorefrontApi.new
7726
6332
 
7727
6333
  storefront_oid = 56 # Integer |
7728
6334
 
@@ -7772,23 +6378,11 @@ Start email campaign
7772
6378
  ```ruby
7773
6379
  # load the gem
7774
6380
  require 'ultracart_api'
7775
- # setup authorization
7776
- UltracartClient.configure do |config|
7777
- # Configure API key authorization: ultraCartBrowserApiKey
7778
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7779
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7780
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7781
6381
 
7782
- # Configure OAuth2 access token for authorization: ultraCartOauth
7783
- config.access_token = 'YOUR ACCESS TOKEN'
6382
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6383
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6384
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7784
6385
 
7785
- # Configure API key authorization: ultraCartSimpleApiKey
7786
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7787
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7788
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7789
- end
7790
-
7791
- api_instance = UltracartClient::StorefrontApi.new
7792
6386
 
7793
6387
  storefront_oid = 56 # Integer |
7794
6388
 
@@ -7835,23 +6429,11 @@ Subscribe customers to email list
7835
6429
  ```ruby
7836
6430
  # load the gem
7837
6431
  require 'ultracart_api'
7838
- # setup authorization
7839
- UltracartClient.configure do |config|
7840
- # Configure API key authorization: ultraCartBrowserApiKey
7841
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7842
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7843
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7844
-
7845
- # Configure OAuth2 access token for authorization: ultraCartOauth
7846
- config.access_token = 'YOUR ACCESS TOKEN'
7847
6432
 
7848
- # Configure API key authorization: ultraCartSimpleApiKey
7849
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7850
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7851
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7852
- end
6433
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6434
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6435
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7853
6436
 
7854
- api_instance = UltracartClient::StorefrontApi.new
7855
6437
 
7856
6438
  storefront_oid = 56 # Integer |
7857
6439
 
@@ -7903,18 +6485,11 @@ Remove favorite flag on screen recording
7903
6485
  ```ruby
7904
6486
  # load the gem
7905
6487
  require 'ultracart_api'
7906
- # setup authorization
7907
- UltracartClient.configure do |config|
7908
- # Configure OAuth2 access token for authorization: ultraCartOauth
7909
- config.access_token = 'YOUR ACCESS TOKEN'
7910
6488
 
7911
- # Configure API key authorization: ultraCartSimpleApiKey
7912
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7913
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7914
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7915
- end
6489
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6490
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6491
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7916
6492
 
7917
- api_instance = UltracartClient::StorefrontApi.new
7918
6493
 
7919
6494
  storefront_oid = 56 # Integer |
7920
6495
 
@@ -7960,23 +6535,11 @@ Update email campaign
7960
6535
  ```ruby
7961
6536
  # load the gem
7962
6537
  require 'ultracart_api'
7963
- # setup authorization
7964
- UltracartClient.configure do |config|
7965
- # Configure API key authorization: ultraCartBrowserApiKey
7966
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
7967
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7968
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
7969
6538
 
7970
- # Configure OAuth2 access token for authorization: ultraCartOauth
7971
- config.access_token = 'YOUR ACCESS TOKEN'
6539
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6540
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6541
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
7972
6542
 
7973
- # Configure API key authorization: ultraCartSimpleApiKey
7974
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
7975
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
7976
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
7977
- end
7978
-
7979
- api_instance = UltracartClient::StorefrontApi.new
7980
6543
 
7981
6544
  storefront_oid = 56 # Integer |
7982
6545
 
@@ -8026,23 +6589,11 @@ Update email campaign folder
8026
6589
  ```ruby
8027
6590
  # load the gem
8028
6591
  require 'ultracart_api'
8029
- # setup authorization
8030
- UltracartClient.configure do |config|
8031
- # Configure API key authorization: ultraCartBrowserApiKey
8032
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8033
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8034
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8035
6592
 
8036
- # Configure OAuth2 access token for authorization: ultraCartOauth
8037
- config.access_token = 'YOUR ACCESS TOKEN'
8038
-
8039
- # Configure API key authorization: ultraCartSimpleApiKey
8040
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8041
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8042
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8043
- end
6593
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6594
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6595
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8044
6596
 
8045
- api_instance = UltracartClient::StorefrontApi.new
8046
6597
 
8047
6598
  storefront_oid = 56 # Integer |
8048
6599
 
@@ -8092,23 +6643,11 @@ Update email commseq
8092
6643
  ```ruby
8093
6644
  # load the gem
8094
6645
  require 'ultracart_api'
8095
- # setup authorization
8096
- UltracartClient.configure do |config|
8097
- # Configure API key authorization: ultraCartBrowserApiKey
8098
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8099
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8100
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8101
6646
 
8102
- # Configure OAuth2 access token for authorization: ultraCartOauth
8103
- config.access_token = 'YOUR ACCESS TOKEN'
6647
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6648
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6649
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8104
6650
 
8105
- # Configure API key authorization: ultraCartSimpleApiKey
8106
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8107
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8108
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8109
- end
8110
-
8111
- api_instance = UltracartClient::StorefrontApi.new
8112
6651
 
8113
6652
  storefront_oid = 56 # Integer |
8114
6653
 
@@ -8158,23 +6697,11 @@ Update email customer
8158
6697
  ```ruby
8159
6698
  # load the gem
8160
6699
  require 'ultracart_api'
8161
- # setup authorization
8162
- UltracartClient.configure do |config|
8163
- # Configure API key authorization: ultraCartBrowserApiKey
8164
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8165
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8166
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8167
6700
 
8168
- # Configure OAuth2 access token for authorization: ultraCartOauth
8169
- config.access_token = 'YOUR ACCESS TOKEN'
6701
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6702
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6703
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8170
6704
 
8171
- # Configure API key authorization: ultraCartSimpleApiKey
8172
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8173
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8174
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8175
- end
8176
-
8177
- api_instance = UltracartClient::StorefrontApi.new
8178
6705
 
8179
6706
  storefront_oid = 56 # Integer |
8180
6707
 
@@ -8223,23 +6750,11 @@ Update email email
8223
6750
  ```ruby
8224
6751
  # load the gem
8225
6752
  require 'ultracart_api'
8226
- # setup authorization
8227
- UltracartClient.configure do |config|
8228
- # Configure API key authorization: ultraCartBrowserApiKey
8229
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8230
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8231
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8232
6753
 
8233
- # Configure OAuth2 access token for authorization: ultraCartOauth
8234
- config.access_token = 'YOUR ACCESS TOKEN'
6754
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6755
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6756
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8235
6757
 
8236
- # Configure API key authorization: ultraCartSimpleApiKey
8237
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8238
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8239
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8240
- end
8241
-
8242
- api_instance = UltracartClient::StorefrontApi.new
8243
6758
 
8244
6759
  storefront_oid = 56 # Integer |
8245
6760
 
@@ -8289,23 +6804,11 @@ Update email flow
8289
6804
  ```ruby
8290
6805
  # load the gem
8291
6806
  require 'ultracart_api'
8292
- # setup authorization
8293
- UltracartClient.configure do |config|
8294
- # Configure API key authorization: ultraCartBrowserApiKey
8295
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8296
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8297
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8298
-
8299
- # Configure OAuth2 access token for authorization: ultraCartOauth
8300
- config.access_token = 'YOUR ACCESS TOKEN'
8301
6807
 
8302
- # Configure API key authorization: ultraCartSimpleApiKey
8303
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8304
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8305
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8306
- end
6808
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6809
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6810
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8307
6811
 
8308
- api_instance = UltracartClient::StorefrontApi.new
8309
6812
 
8310
6813
  storefront_oid = 56 # Integer |
8311
6814
 
@@ -8355,23 +6858,11 @@ Update email flow folder
8355
6858
  ```ruby
8356
6859
  # load the gem
8357
6860
  require 'ultracart_api'
8358
- # setup authorization
8359
- UltracartClient.configure do |config|
8360
- # Configure API key authorization: ultraCartBrowserApiKey
8361
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8362
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8363
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8364
6861
 
8365
- # Configure OAuth2 access token for authorization: ultraCartOauth
8366
- config.access_token = 'YOUR ACCESS TOKEN'
6862
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6863
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6864
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8367
6865
 
8368
- # Configure API key authorization: ultraCartSimpleApiKey
8369
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8370
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8371
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8372
- end
8373
-
8374
- api_instance = UltracartClient::StorefrontApi.new
8375
6866
 
8376
6867
  storefront_oid = 56 # Integer |
8377
6868
 
@@ -8421,23 +6912,11 @@ Update email global settings
8421
6912
  ```ruby
8422
6913
  # load the gem
8423
6914
  require 'ultracart_api'
8424
- # setup authorization
8425
- UltracartClient.configure do |config|
8426
- # Configure API key authorization: ultraCartBrowserApiKey
8427
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8428
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8429
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8430
-
8431
- # Configure OAuth2 access token for authorization: ultraCartOauth
8432
- config.access_token = 'YOUR ACCESS TOKEN'
8433
6915
 
8434
- # Configure API key authorization: ultraCartSimpleApiKey
8435
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8436
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8437
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8438
- end
6916
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6917
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6918
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8439
6919
 
8440
- api_instance = UltracartClient::StorefrontApi.new
8441
6920
 
8442
6921
  global_settings = UltracartClient::EmailGlobalSettings.new # EmailGlobalSettings | global settings request
8443
6922
 
@@ -8481,23 +6960,11 @@ Update email list
8481
6960
  ```ruby
8482
6961
  # load the gem
8483
6962
  require 'ultracart_api'
8484
- # setup authorization
8485
- UltracartClient.configure do |config|
8486
- # Configure API key authorization: ultraCartBrowserApiKey
8487
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8488
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8489
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8490
-
8491
- # Configure OAuth2 access token for authorization: ultraCartOauth
8492
- config.access_token = 'YOUR ACCESS TOKEN'
8493
6963
 
8494
- # Configure API key authorization: ultraCartSimpleApiKey
8495
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8496
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8497
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8498
- end
6964
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
6965
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
6966
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8499
6967
 
8500
- api_instance = UltracartClient::StorefrontApi.new
8501
6968
 
8502
6969
  storefront_oid = 56 # Integer |
8503
6970
 
@@ -8547,23 +7014,11 @@ Update email plan
8547
7014
  ```ruby
8548
7015
  # load the gem
8549
7016
  require 'ultracart_api'
8550
- # setup authorization
8551
- UltracartClient.configure do |config|
8552
- # Configure API key authorization: ultraCartBrowserApiKey
8553
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8554
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8555
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8556
-
8557
- # Configure OAuth2 access token for authorization: ultraCartOauth
8558
- config.access_token = 'YOUR ACCESS TOKEN'
8559
7017
 
8560
- # Configure API key authorization: ultraCartSimpleApiKey
8561
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8562
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8563
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8564
- end
7018
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7019
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7020
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8565
7021
 
8566
- api_instance = UltracartClient::StorefrontApi.new
8567
7022
 
8568
7023
  storefront_oid = 56 # Integer |
8569
7024
 
@@ -8610,23 +7065,11 @@ Update email postcard
8610
7065
  ```ruby
8611
7066
  # load the gem
8612
7067
  require 'ultracart_api'
8613
- # setup authorization
8614
- UltracartClient.configure do |config|
8615
- # Configure API key authorization: ultraCartBrowserApiKey
8616
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8617
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8618
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8619
7068
 
8620
- # Configure OAuth2 access token for authorization: ultraCartOauth
8621
- config.access_token = 'YOUR ACCESS TOKEN'
7069
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7070
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7071
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8622
7072
 
8623
- # Configure API key authorization: ultraCartSimpleApiKey
8624
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8625
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8626
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8627
- end
8628
-
8629
- api_instance = UltracartClient::StorefrontApi.new
8630
7073
 
8631
7074
  storefront_oid = 56 # Integer |
8632
7075
 
@@ -8676,23 +7119,11 @@ Update email segment
8676
7119
  ```ruby
8677
7120
  # load the gem
8678
7121
  require 'ultracart_api'
8679
- # setup authorization
8680
- UltracartClient.configure do |config|
8681
- # Configure API key authorization: ultraCartBrowserApiKey
8682
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8683
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8684
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8685
-
8686
- # Configure OAuth2 access token for authorization: ultraCartOauth
8687
- config.access_token = 'YOUR ACCESS TOKEN'
8688
7122
 
8689
- # Configure API key authorization: ultraCartSimpleApiKey
8690
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8691
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8692
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8693
- end
7123
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7124
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7125
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8694
7126
 
8695
- api_instance = UltracartClient::StorefrontApi.new
8696
7127
 
8697
7128
  storefront_oid = 56 # Integer |
8698
7129
 
@@ -8742,23 +7173,11 @@ Update email settings
8742
7173
  ```ruby
8743
7174
  # load the gem
8744
7175
  require 'ultracart_api'
8745
- # setup authorization
8746
- UltracartClient.configure do |config|
8747
- # Configure API key authorization: ultraCartBrowserApiKey
8748
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8749
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8750
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8751
-
8752
- # Configure OAuth2 access token for authorization: ultraCartOauth
8753
- config.access_token = 'YOUR ACCESS TOKEN'
8754
7176
 
8755
- # Configure API key authorization: ultraCartSimpleApiKey
8756
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8757
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8758
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8759
- end
7177
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7178
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7179
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8760
7180
 
8761
- api_instance = UltracartClient::StorefrontApi.new
8762
7181
 
8763
7182
  storefront_oid = 56 # Integer |
8764
7183
 
@@ -8805,23 +7224,11 @@ Update experiment
8805
7224
  ```ruby
8806
7225
  # load the gem
8807
7226
  require 'ultracart_api'
8808
- # setup authorization
8809
- UltracartClient.configure do |config|
8810
- # Configure API key authorization: ultraCartBrowserApiKey
8811
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8812
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8813
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8814
-
8815
- # Configure OAuth2 access token for authorization: ultraCartOauth
8816
- config.access_token = 'YOUR ACCESS TOKEN'
8817
7227
 
8818
- # Configure API key authorization: ultraCartSimpleApiKey
8819
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8820
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8821
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8822
- end
7228
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7229
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7230
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8823
7231
 
8824
- api_instance = UltracartClient::StorefrontApi.new
8825
7232
 
8826
7233
  storefront_oid = 56 # Integer |
8827
7234
 
@@ -8871,23 +7278,11 @@ Update library item. Note that only certain fields may be updated via this metho
8871
7278
  ```ruby
8872
7279
  # load the gem
8873
7280
  require 'ultracart_api'
8874
- # setup authorization
8875
- UltracartClient.configure do |config|
8876
- # Configure API key authorization: ultraCartBrowserApiKey
8877
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8878
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8879
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8880
-
8881
- # Configure OAuth2 access token for authorization: ultraCartOauth
8882
- config.access_token = 'YOUR ACCESS TOKEN'
8883
7281
 
8884
- # Configure API key authorization: ultraCartSimpleApiKey
8885
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8886
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8887
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8888
- end
7282
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7283
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7284
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8889
7285
 
8890
- api_instance = UltracartClient::StorefrontApi.new
8891
7286
 
8892
7287
  library_item_oid = 56 # Integer |
8893
7288
 
@@ -8934,23 +7329,11 @@ Update screen recording segment
8934
7329
  ```ruby
8935
7330
  # load the gem
8936
7331
  require 'ultracart_api'
8937
- # setup authorization
8938
- UltracartClient.configure do |config|
8939
- # Configure API key authorization: ultraCartBrowserApiKey
8940
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
8941
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8942
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
8943
-
8944
- # Configure OAuth2 access token for authorization: ultraCartOauth
8945
- config.access_token = 'YOUR ACCESS TOKEN'
8946
7332
 
8947
- # Configure API key authorization: ultraCartSimpleApiKey
8948
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
8949
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
8950
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
8951
- end
7333
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7334
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7335
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
8952
7336
 
8953
- api_instance = UltracartClient::StorefrontApi.new
8954
7337
 
8955
7338
  storefront_oid = 56 # Integer |
8956
7339
 
@@ -9000,23 +7383,11 @@ Update screen recording settings
9000
7383
  ```ruby
9001
7384
  # load the gem
9002
7385
  require 'ultracart_api'
9003
- # setup authorization
9004
- UltracartClient.configure do |config|
9005
- # Configure API key authorization: ultraCartBrowserApiKey
9006
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
9007
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9008
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
9009
-
9010
- # Configure OAuth2 access token for authorization: ultraCartOauth
9011
- config.access_token = 'YOUR ACCESS TOKEN'
9012
7386
 
9013
- # Configure API key authorization: ultraCartSimpleApiKey
9014
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
9015
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9016
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
9017
- end
7387
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7388
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7389
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
9018
7390
 
9019
- api_instance = UltracartClient::StorefrontApi.new
9020
7391
 
9021
7392
  storefront_oid = 56 # Integer |
9022
7393
 
@@ -9065,18 +7436,11 @@ Update tags on a screen recording
9065
7436
  ```ruby
9066
7437
  # load the gem
9067
7438
  require 'ultracart_api'
9068
- # setup authorization
9069
- UltracartClient.configure do |config|
9070
- # Configure OAuth2 access token for authorization: ultraCartOauth
9071
- config.access_token = 'YOUR ACCESS TOKEN'
9072
7439
 
9073
- # Configure API key authorization: ultraCartSimpleApiKey
9074
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
9075
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9076
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
9077
- end
7440
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7441
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7442
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
9078
7443
 
9079
- api_instance = UltracartClient::StorefrontApi.new
9080
7444
 
9081
7445
  storefront_oid = 56 # Integer |
9082
7446
 
@@ -9127,23 +7491,11 @@ Updates a transactional email
9127
7491
  ```ruby
9128
7492
  # load the gem
9129
7493
  require 'ultracart_api'
9130
- # setup authorization
9131
- UltracartClient.configure do |config|
9132
- # Configure API key authorization: ultraCartBrowserApiKey
9133
- config.api_key['x-ultracart-browser-key'] = 'YOUR API KEY'
9134
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9135
- #config.api_key_prefix['x-ultracart-browser-key'] = 'Bearer'
9136
7494
 
9137
- # Configure OAuth2 access token for authorization: ultraCartOauth
9138
- config.access_token = 'YOUR ACCESS TOKEN'
9139
-
9140
- # Configure API key authorization: ultraCartSimpleApiKey
9141
- config.api_key['x-ultracart-simple-key'] = 'YOUR API KEY'
9142
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
9143
- #config.api_key_prefix['x-ultracart-simple-key'] = 'Bearer'
9144
- end
7495
+ # Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
7496
+ simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
7497
+ api_instance = UltracartClient::StorefrontApi.new_using_api_key(simple_key, false, false)
9145
7498
 
9146
- api_instance = UltracartClient::StorefrontApi.new
9147
7499
 
9148
7500
  storefront_oid = 56 # Integer |
9149
7501