ultracart_api 4.1.14 → 4.1.15

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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -2
  3. data/docs/CartUpsellAfter.md +6 -2
  4. data/docs/ConversationVirtualAgentCapabilities.md +4 -0
  5. data/docs/CustomReport.md +36 -0
  6. data/docs/CustomReportAccountConfig.md +34 -0
  7. data/docs/CustomReportAccountConfigResponse.md +26 -0
  8. data/docs/CustomReportExecutionParameter.md +22 -0
  9. data/docs/CustomReportExecutionRequest.md +18 -0
  10. data/docs/CustomReportParameter.md +28 -0
  11. data/docs/CustomReportParameterOption.md +20 -0
  12. data/docs/CustomReportQuery.md +28 -0
  13. data/docs/CustomReportResponse.md +26 -0
  14. data/docs/CustomReportTooltip.md +20 -0
  15. data/docs/DatawarehouseApi.md +378 -0
  16. data/docs/Item.md +1 -1
  17. data/docs/OrderApi.md +109 -0
  18. data/lib/ultracart_api/api/datawarehouse_api.rb +474 -0
  19. data/lib/ultracart_api/api/order_api.rb +131 -0
  20. data/lib/ultracart_api/models/cart_upsell_after.rb +25 -5
  21. data/lib/ultracart_api/models/conversation_virtual_agent_capabilities.rb +55 -1
  22. data/lib/ultracart_api/models/custom_report.rb +306 -0
  23. data/lib/ultracart_api/models/custom_report_account_config.rb +296 -0
  24. data/lib/ultracart_api/models/custom_report_account_config_response.rb +256 -0
  25. data/lib/ultracart_api/models/custom_report_execution_parameter.rb +237 -0
  26. data/lib/ultracart_api/models/custom_report_execution_request.rb +221 -0
  27. data/lib/ultracart_api/models/custom_report_parameter.rb +266 -0
  28. data/lib/ultracart_api/models/custom_report_parameter_option.rb +228 -0
  29. data/lib/ultracart_api/models/custom_report_query.rb +266 -0
  30. data/lib/ultracart_api/models/custom_report_response.rb +256 -0
  31. data/lib/ultracart_api/models/custom_report_tooltip.rb +228 -0
  32. data/lib/ultracart_api/models/item.rb +1 -1
  33. data/lib/ultracart_api/version.rb +1 -1
  34. data/lib/ultracart_api.rb +10 -0
  35. metadata +22 -2
@@ -4,18 +4,78 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
+ | [**delete_custom_report**](DatawarehouseApi.md#delete_custom_report) | **DELETE** /datawarehouse/custom_reports/{custom_report_oid} | Delete a custom report |
7
8
  | [**delete_report**](DatawarehouseApi.md#delete_report) | **DELETE** /datawarehouse/reports/{report_oid} | Delete a report |
8
9
  | [**dry_run_report_queries**](DatawarehouseApi.md#dry_run_report_queries) | **PUT** /datawarehouse/reports/dryrun | Dry run the report queries |
10
+ | [**execute_custom_report**](DatawarehouseApi.md#execute_custom_report) | **PUT** /datawarehouse/custom_reports/{custom_report_oid}/execute | Execute a custom report |
9
11
  | [**execute_report_queries**](DatawarehouseApi.md#execute_report_queries) | **PUT** /datawarehouse/reports/execute | Execute the report queries |
12
+ | [**get_custom_report**](DatawarehouseApi.md#get_custom_report) | **GET** /datawarehouse/custom_reports/{custom_report_oid} | Get a custom report |
13
+ | [**get_custom_report_account_config**](DatawarehouseApi.md#get_custom_report_account_config) | **GET** /datawarehouse/custom_reports/account_config | Get custom report account configuration |
10
14
  | [**get_report**](DatawarehouseApi.md#get_report) | **GET** /datawarehouse/reports/{report_oid} | Get a report |
11
15
  | [**get_report_data_set**](DatawarehouseApi.md#get_report_data_set) | **GET** /datawarehouse/reports/dataset/{dataset_uuid} | Get a report data set |
12
16
  | [**get_report_data_set_page**](DatawarehouseApi.md#get_report_data_set_page) | **GET** /datawarehouse/reports/dataset/{dataset_uuid}/pages/{page_number} | Get a report data set page |
13
17
  | [**get_report_websocket_authorization**](DatawarehouseApi.md#get_report_websocket_authorization) | **PUT** /datawarehouse/reports/auth | Get report websocket authorization |
14
18
  | [**get_reports**](DatawarehouseApi.md#get_reports) | **GET** /datawarehouse/reports | Get list of reports available |
19
+ | [**insert_custom_report**](DatawarehouseApi.md#insert_custom_report) | **POST** /datawarehouse/custom_reports | Create a custom report |
15
20
  | [**insert_report**](DatawarehouseApi.md#insert_report) | **POST** /datawarehouse/reports | Create a report |
21
+ | [**update_custom_report**](DatawarehouseApi.md#update_custom_report) | **PUT** /datawarehouse/custom_reports/{custom_report_oid} | Update a custom report |
22
+ | [**update_custom_report_account_config**](DatawarehouseApi.md#update_custom_report_account_config) | **PUT** /datawarehouse/custom_reports/account_config | Update custom report account config |
16
23
  | [**update_report**](DatawarehouseApi.md#update_report) | **PUT** /datawarehouse/reports/{report_oid} | Update a report |
17
24
 
18
25
 
26
+ ## delete_custom_report
27
+
28
+ > delete_custom_report(custom_report_oid)
29
+
30
+ Delete a custom report
31
+
32
+ Delete a custom report on the UltraCart account.
33
+
34
+
35
+ ### Examples
36
+
37
+
38
+ (No example for this operation).
39
+
40
+
41
+ #### Using the delete_custom_report_with_http_info variant
42
+
43
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
44
+
45
+ > <Array(nil, Integer, Hash)> delete_custom_report_with_http_info(custom_report_oid)
46
+
47
+ ```ruby
48
+ begin
49
+ # Delete a custom report
50
+ data, status_code, headers = api_instance.delete_custom_report_with_http_info(custom_report_oid)
51
+ p status_code # => 2xx
52
+ p headers # => { ... }
53
+ p data # => nil
54
+ rescue UltracartClient::ApiError => e
55
+ puts "Error when calling DatawarehouseApi->delete_custom_report_with_http_info: #{e}"
56
+ end
57
+ ```
58
+
59
+ ### Parameters
60
+
61
+ | Name | Type | Description | Notes |
62
+ | ---- | ---- | ----------- | ----- |
63
+ | **custom_report_oid** | **Integer** | The report oid to delete. | |
64
+
65
+ ### Return type
66
+
67
+ nil (empty response body)
68
+
69
+ ### Authorization
70
+
71
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
72
+
73
+ ### HTTP request headers
74
+
75
+ - **Content-Type**: Not defined
76
+ - **Accept**: application/json
77
+
78
+
19
79
  ## delete_report
20
80
 
21
81
  > delete_report(report_oid)
@@ -124,6 +184,60 @@ end
124
184
  - **Accept**: application/json
125
185
 
126
186
 
187
+ ## execute_custom_report
188
+
189
+ > <CustomReportResponse> execute_custom_report(custom_report_oid, execution_request)
190
+
191
+ Execute a custom report
192
+
193
+ Execute a custom report on the UltraCart account.
194
+
195
+
196
+ ### Examples
197
+
198
+
199
+ (No example for this operation).
200
+
201
+
202
+ #### Using the execute_custom_report_with_http_info variant
203
+
204
+ This returns an Array which contains the response data, status code and headers.
205
+
206
+ > <Array(<CustomReportResponse>, Integer, Hash)> execute_custom_report_with_http_info(custom_report_oid, execution_request)
207
+
208
+ ```ruby
209
+ begin
210
+ # Execute a custom report
211
+ data, status_code, headers = api_instance.execute_custom_report_with_http_info(custom_report_oid, execution_request)
212
+ p status_code # => 2xx
213
+ p headers # => { ... }
214
+ p data # => <CustomReportResponse>
215
+ rescue UltracartClient::ApiError => e
216
+ puts "Error when calling DatawarehouseApi->execute_custom_report_with_http_info: #{e}"
217
+ end
218
+ ```
219
+
220
+ ### Parameters
221
+
222
+ | Name | Type | Description | Notes |
223
+ | ---- | ---- | ----------- | ----- |
224
+ | **custom_report_oid** | **Integer** | The report oid to execute. | |
225
+ | **execution_request** | [**CustomReportExecutionRequest**](CustomReportExecutionRequest.md) | Request to execute custom report | |
226
+
227
+ ### Return type
228
+
229
+ [**CustomReportResponse**](CustomReportResponse.md)
230
+
231
+ ### Authorization
232
+
233
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
234
+
235
+ ### HTTP request headers
236
+
237
+ - **Content-Type**: application/json; charset=UTF-8
238
+ - **Accept**: application/json
239
+
240
+
127
241
  ## execute_report_queries
128
242
 
129
243
  > execute_report_queries(query_request)
@@ -178,6 +292,110 @@ nil (empty response body)
178
292
  - **Accept**: application/json
179
293
 
180
294
 
295
+ ## get_custom_report
296
+
297
+ > <CustomReportResponse> get_custom_report(custom_report_oid)
298
+
299
+ Get a custom report
300
+
301
+ Retrieve a custom report
302
+
303
+
304
+ ### Examples
305
+
306
+
307
+ (No example for this operation).
308
+
309
+
310
+ #### Using the get_custom_report_with_http_info variant
311
+
312
+ This returns an Array which contains the response data, status code and headers.
313
+
314
+ > <Array(<CustomReportResponse>, Integer, Hash)> get_custom_report_with_http_info(custom_report_oid)
315
+
316
+ ```ruby
317
+ begin
318
+ # Get a custom report
319
+ data, status_code, headers = api_instance.get_custom_report_with_http_info(custom_report_oid)
320
+ p status_code # => 2xx
321
+ p headers # => { ... }
322
+ p data # => <CustomReportResponse>
323
+ rescue UltracartClient::ApiError => e
324
+ puts "Error when calling DatawarehouseApi->get_custom_report_with_http_info: #{e}"
325
+ end
326
+ ```
327
+
328
+ ### Parameters
329
+
330
+ | Name | Type | Description | Notes |
331
+ | ---- | ---- | ----------- | ----- |
332
+ | **custom_report_oid** | **Integer** | | |
333
+
334
+ ### Return type
335
+
336
+ [**CustomReportResponse**](CustomReportResponse.md)
337
+
338
+ ### Authorization
339
+
340
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
341
+
342
+ ### HTTP request headers
343
+
344
+ - **Content-Type**: Not defined
345
+ - **Accept**: application/json
346
+
347
+
348
+ ## get_custom_report_account_config
349
+
350
+ > <CustomReportAccountConfigResponse> get_custom_report_account_config
351
+
352
+ Get custom report account configuration
353
+
354
+ Retrieve a custom report account configuration
355
+
356
+
357
+ ### Examples
358
+
359
+
360
+ (No example for this operation).
361
+
362
+
363
+ #### Using the get_custom_report_account_config_with_http_info variant
364
+
365
+ This returns an Array which contains the response data, status code and headers.
366
+
367
+ > <Array(<CustomReportAccountConfigResponse>, Integer, Hash)> get_custom_report_account_config_with_http_info
368
+
369
+ ```ruby
370
+ begin
371
+ # Get custom report account configuration
372
+ data, status_code, headers = api_instance.get_custom_report_account_config_with_http_info
373
+ p status_code # => 2xx
374
+ p headers # => { ... }
375
+ p data # => <CustomReportAccountConfigResponse>
376
+ rescue UltracartClient::ApiError => e
377
+ puts "Error when calling DatawarehouseApi->get_custom_report_account_config_with_http_info: #{e}"
378
+ end
379
+ ```
380
+
381
+ ### Parameters
382
+
383
+ This endpoint does not need any parameter.
384
+
385
+ ### Return type
386
+
387
+ [**CustomReportAccountConfigResponse**](CustomReportAccountConfigResponse.md)
388
+
389
+ ### Authorization
390
+
391
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
392
+
393
+ ### HTTP request headers
394
+
395
+ - **Content-Type**: Not defined
396
+ - **Accept**: application/json
397
+
398
+
181
399
  ## get_report
182
400
 
183
401
  > <ReportResponse> get_report(report_oid)
@@ -445,6 +663,59 @@ This endpoint does not need any parameter.
445
663
  - **Accept**: application/json
446
664
 
447
665
 
666
+ ## insert_custom_report
667
+
668
+ > <CustomReportResponse> insert_custom_report(report)
669
+
670
+ Create a custom report
671
+
672
+ Create a new custom report on the UltraCart account.
673
+
674
+
675
+ ### Examples
676
+
677
+
678
+ (No example for this operation).
679
+
680
+
681
+ #### Using the insert_custom_report_with_http_info variant
682
+
683
+ This returns an Array which contains the response data, status code and headers.
684
+
685
+ > <Array(<CustomReportResponse>, Integer, Hash)> insert_custom_report_with_http_info(report)
686
+
687
+ ```ruby
688
+ begin
689
+ # Create a custom report
690
+ data, status_code, headers = api_instance.insert_custom_report_with_http_info(report)
691
+ p status_code # => 2xx
692
+ p headers # => { ... }
693
+ p data # => <CustomReportResponse>
694
+ rescue UltracartClient::ApiError => e
695
+ puts "Error when calling DatawarehouseApi->insert_custom_report_with_http_info: #{e}"
696
+ end
697
+ ```
698
+
699
+ ### Parameters
700
+
701
+ | Name | Type | Description | Notes |
702
+ | ---- | ---- | ----------- | ----- |
703
+ | **report** | [**CustomReport**](CustomReport.md) | Report to create | |
704
+
705
+ ### Return type
706
+
707
+ [**CustomReportResponse**](CustomReportResponse.md)
708
+
709
+ ### Authorization
710
+
711
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
712
+
713
+ ### HTTP request headers
714
+
715
+ - **Content-Type**: application/json; charset=UTF-8
716
+ - **Accept**: application/json
717
+
718
+
448
719
  ## insert_report
449
720
 
450
721
  > <ReportResponse> insert_report(report)
@@ -499,6 +770,113 @@ end
499
770
  - **Accept**: application/json
500
771
 
501
772
 
773
+ ## update_custom_report
774
+
775
+ > <CustomReportResponse> update_custom_report(custom_report_oid, report)
776
+
777
+ Update a custom report
778
+
779
+ Update a custom report on the UltraCart account.
780
+
781
+
782
+ ### Examples
783
+
784
+
785
+ (No example for this operation).
786
+
787
+
788
+ #### Using the update_custom_report_with_http_info variant
789
+
790
+ This returns an Array which contains the response data, status code and headers.
791
+
792
+ > <Array(<CustomReportResponse>, Integer, Hash)> update_custom_report_with_http_info(custom_report_oid, report)
793
+
794
+ ```ruby
795
+ begin
796
+ # Update a custom report
797
+ data, status_code, headers = api_instance.update_custom_report_with_http_info(custom_report_oid, report)
798
+ p status_code # => 2xx
799
+ p headers # => { ... }
800
+ p data # => <CustomReportResponse>
801
+ rescue UltracartClient::ApiError => e
802
+ puts "Error when calling DatawarehouseApi->update_custom_report_with_http_info: #{e}"
803
+ end
804
+ ```
805
+
806
+ ### Parameters
807
+
808
+ | Name | Type | Description | Notes |
809
+ | ---- | ---- | ----------- | ----- |
810
+ | **custom_report_oid** | **Integer** | The report oid to custom update. | |
811
+ | **report** | [**CustomReport**](CustomReport.md) | Report to custom update | |
812
+
813
+ ### Return type
814
+
815
+ [**CustomReportResponse**](CustomReportResponse.md)
816
+
817
+ ### Authorization
818
+
819
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
820
+
821
+ ### HTTP request headers
822
+
823
+ - **Content-Type**: application/json; charset=UTF-8
824
+ - **Accept**: application/json
825
+
826
+
827
+ ## update_custom_report_account_config
828
+
829
+ > <CustomReportAccountConfigResponse> update_custom_report_account_config(account_config)
830
+
831
+ Update custom report account config
832
+
833
+ Update custom report account config.
834
+
835
+
836
+ ### Examples
837
+
838
+
839
+ (No example for this operation).
840
+
841
+
842
+ #### Using the update_custom_report_account_config_with_http_info variant
843
+
844
+ This returns an Array which contains the response data, status code and headers.
845
+
846
+ > <Array(<CustomReportAccountConfigResponse>, Integer, Hash)> update_custom_report_account_config_with_http_info(account_config)
847
+
848
+ ```ruby
849
+ begin
850
+ # Update custom report account config
851
+ data, status_code, headers = api_instance.update_custom_report_account_config_with_http_info(account_config)
852
+ p status_code # => 2xx
853
+ p headers # => { ... }
854
+ p data # => <CustomReportAccountConfigResponse>
855
+ rescue UltracartClient::ApiError => e
856
+ puts "Error when calling DatawarehouseApi->update_custom_report_account_config_with_http_info: #{e}"
857
+ end
858
+ ```
859
+
860
+ ### Parameters
861
+
862
+ | Name | Type | Description | Notes |
863
+ | ---- | ---- | ----------- | ----- |
864
+ | **account_config** | [**CustomReportAccountConfig**](CustomReportAccountConfig.md) | Account config to update | |
865
+
866
+ ### Return type
867
+
868
+ [**CustomReportAccountConfigResponse**](CustomReportAccountConfigResponse.md)
869
+
870
+ ### Authorization
871
+
872
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
873
+
874
+ ### HTTP request headers
875
+
876
+ - **Content-Type**: application/json; charset=UTF-8
877
+ - **Accept**: application/json
878
+
879
+
502
880
  ## update_report
503
881
 
504
882
  > <ReportResponse> update_report(report_oid, report)
data/docs/Item.md CHANGED
@@ -35,7 +35,7 @@
35
35
  | **merchant_item_oid** | **Integer** | Unique object identifier for this item | [optional] |
36
36
  | **options** | [**Array&lt;ItemOption&gt;**](ItemOption.md) | Options | [optional] |
37
37
  | **parent_category_id** | **Integer** | Parent category of the item. Zero indicates the root folder. | [optional] |
38
- | **parent_category_path** | **String** | Parent category path. / indicates the root folder. | [optional] |
38
+ | **parent_category_path** | **String** | Parent category path. / indicates the root folder. This is the folder structure within item management. | [optional] |
39
39
  | **payment_processing** | [**ItemPaymentProcessing**](ItemPaymentProcessing.md) | | [optional] |
40
40
  | **physical** | [**ItemPhysical**](ItemPhysical.md) | | [optional] |
41
41
  | **pricing** | [**ItemPricing**](ItemPricing.md) | | [optional] |
data/docs/OrderApi.md CHANGED
@@ -5,6 +5,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**adjust_order_total**](OrderApi.md#adjust_order_total) | **POST** /order/orders/{order_id}/adjust_order_total/{desired_total} | Adjusts an order total |
8
+ | [**block_refund_on_order**](OrderApi.md#block_refund_on_order) | **POST** /order/orders/{order_id}/refund_block | Set a refund block on an order |
8
9
  | [**cancel_order**](OrderApi.md#cancel_order) | **POST** /order/orders/{order_id}/cancel | Cancel an order |
9
10
  | [**delete_order**](OrderApi.md#delete_order) | **DELETE** /order/orders/{order_id} | Delete an order |
10
11
  | [**duplicate_order**](OrderApi.md#duplicate_order) | **POST** /order/orders/{order_id}/duplicate | Duplicate an order |
@@ -29,6 +30,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
29
30
  | [**replacement**](OrderApi.md#replacement) | **POST** /order/orders/{order_id}/replacement | Replacement order |
30
31
  | [**resend_receipt**](OrderApi.md#resend_receipt) | **POST** /order/orders/{order_id}/resend_receipt | Resend receipt |
31
32
  | [**resend_shipment_confirmation**](OrderApi.md#resend_shipment_confirmation) | **POST** /order/orders/{order_id}/resend_shipment_confirmation | Resend shipment confirmation |
33
+ | [**unblock_refund_on_order**](OrderApi.md#unblock_refund_on_order) | **POST** /order/orders/{order_id}/refund_unblock | Remove a refund block on an order |
32
34
  | [**update_accounts_receivable_retry_config**](OrderApi.md#update_accounts_receivable_retry_config) | **POST** /order/accountsReceivableRetryConfig | Update A/R Retry Configuration |
33
35
  | [**update_order**](OrderApi.md#update_order) | **PUT** /order/orders/{order_id} | Update an order |
34
36
  | [**validate_order**](OrderApi.md#validate_order) | **POST** /order/validate | Validate |
@@ -114,6 +116,60 @@ end
114
116
  - **Accept**: application/json
115
117
 
116
118
 
119
+ ## block_refund_on_order
120
+
121
+ > block_refund_on_order(order_id, opts)
122
+
123
+ Set a refund block on an order
124
+
125
+ Sets a refund block on an order to prevent a user from performing a refund. Commonly used when a chargeback has been received.
126
+
127
+
128
+ ### Examples
129
+
130
+
131
+ (No example for this operation).
132
+
133
+
134
+ #### Using the block_refund_on_order_with_http_info variant
135
+
136
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
137
+
138
+ > <Array(nil, Integer, Hash)> block_refund_on_order_with_http_info(order_id, opts)
139
+
140
+ ```ruby
141
+ begin
142
+ # Set a refund block on an order
143
+ data, status_code, headers = api_instance.block_refund_on_order_with_http_info(order_id, opts)
144
+ p status_code # => 2xx
145
+ p headers # => { ... }
146
+ p data # => nil
147
+ rescue UltracartClient::ApiError => e
148
+ puts "Error when calling OrderApi->block_refund_on_order_with_http_info: #{e}"
149
+ end
150
+ ```
151
+
152
+ ### Parameters
153
+
154
+ | Name | Type | Description | Notes |
155
+ | ---- | ---- | ----------- | ----- |
156
+ | **order_id** | **String** | The order id to block a refund on. | |
157
+ | **block_reason** | **String** | Block reason code (optional) | [optional] |
158
+
159
+ ### Return type
160
+
161
+ nil (empty response body)
162
+
163
+ ### Authorization
164
+
165
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
166
+
167
+ ### HTTP request headers
168
+
169
+ - **Content-Type**: Not defined
170
+ - **Accept**: application/json
171
+
172
+
117
173
  ## cancel_order
118
174
 
119
175
  > <BaseResponse> cancel_order(order_id, opts)
@@ -2524,6 +2580,59 @@ end
2524
2580
  - **Accept**: application/json
2525
2581
 
2526
2582
 
2583
+ ## unblock_refund_on_order
2584
+
2585
+ > unblock_refund_on_order(order_id)
2586
+
2587
+ Remove a refund block on an order
2588
+
2589
+ Removes a refund block on an order to prevent a user from performing a refund.
2590
+
2591
+
2592
+ ### Examples
2593
+
2594
+
2595
+ (No example for this operation).
2596
+
2597
+
2598
+ #### Using the unblock_refund_on_order_with_http_info variant
2599
+
2600
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
2601
+
2602
+ > <Array(nil, Integer, Hash)> unblock_refund_on_order_with_http_info(order_id)
2603
+
2604
+ ```ruby
2605
+ begin
2606
+ # Remove a refund block on an order
2607
+ data, status_code, headers = api_instance.unblock_refund_on_order_with_http_info(order_id)
2608
+ p status_code # => 2xx
2609
+ p headers # => { ... }
2610
+ p data # => nil
2611
+ rescue UltracartClient::ApiError => e
2612
+ puts "Error when calling OrderApi->unblock_refund_on_order_with_http_info: #{e}"
2613
+ end
2614
+ ```
2615
+
2616
+ ### Parameters
2617
+
2618
+ | Name | Type | Description | Notes |
2619
+ | ---- | ---- | ----------- | ----- |
2620
+ | **order_id** | **String** | The order id to unblock a refund on. | |
2621
+
2622
+ ### Return type
2623
+
2624
+ nil (empty response body)
2625
+
2626
+ ### Authorization
2627
+
2628
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
2629
+
2630
+ ### HTTP request headers
2631
+
2632
+ - **Content-Type**: Not defined
2633
+ - **Accept**: application/json
2634
+
2635
+
2527
2636
  ## update_accounts_receivable_retry_config
2528
2637
 
2529
2638
  > <BaseResponse> update_accounts_receivable_retry_config(retry_config)