ultracart_api 4.1.83 → 4.1.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/docs/OrderApi.md CHANGED
@@ -15,6 +15,8 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
15
15
  | [**generate_order_token**](OrderApi.md#generate_order_token) | **GET** /order/orders/token/{order_id} | Generate an order token for a given order id |
16
16
  | [**generate_packing_slip_all_dc**](OrderApi.md#generate_packing_slip_all_dc) | **GET** /order/orders/{order_id}/packing_slip | Generate a packing slip for this order across all distribution centers. |
17
17
  | [**generate_packing_slip_specific_dc**](OrderApi.md#generate_packing_slip_specific_dc) | **GET** /order/orders/{order_id}/packing_slip/{distribution_center_code} | Generate a packing slip for this order for the given distribution center. |
18
+ | [**get_accounts_receivable_detail_value_histogram**](OrderApi.md#get_accounts_receivable_detail_value_histogram) | **GET** /order/accounts_receivable/detail_value_histogram | Retrieve a value histogram for a given AR transaction-detail name |
19
+ | [**get_accounts_receivable_gateway_detail_names**](OrderApi.md#get_accounts_receivable_gateway_detail_names) | **GET** /order/accounts_receivable/gateway_detail_names | Retrieve gateway / detail-name picker data for the AR filter modal |
18
20
  | [**get_accounts_receivable_retry_config**](OrderApi.md#get_accounts_receivable_retry_config) | **GET** /order/accountsReceivableRetryConfig | Retrieve A/R Retry Configuration |
19
21
  | [**get_accounts_receivable_retry_stats**](OrderApi.md#get_accounts_receivable_retry_stats) | **GET** /order/accountsReceivableRetryConfig/stats | Retrieve A/R Retry Statistics |
20
22
  | [**get_order**](OrderApi.md#get_order) | **GET** /order/orders/{order_id} | Retrieve an order |
@@ -860,6 +862,111 @@ end
860
862
  - **Accept**: application/json
861
863
 
862
864
 
865
+ ## get_accounts_receivable_detail_value_histogram
866
+
867
+ > get_accounts_receivable_detail_value_histogram(detail, opts)
868
+
869
+ Retrieve a value histogram for a given AR transaction-detail name
870
+
871
+ For the calling merchant's Accounts Receivable orders, returns a value -> document-count histogram for the named transaction detail, optionally scoped to transactions on the named gateway. Drives the AR filter modal's autocomplete on the detail-value input.
872
+
873
+
874
+ ### Examples
875
+
876
+
877
+ (No example for this operation).
878
+
879
+
880
+ #### Using the get_accounts_receivable_detail_value_histogram_with_http_info variant
881
+
882
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
883
+
884
+ > <Array(nil, Integer, Hash)> get_accounts_receivable_detail_value_histogram_with_http_info(detail, opts)
885
+
886
+ ```ruby
887
+ begin
888
+ # Retrieve a value histogram for a given AR transaction-detail name
889
+ data, status_code, headers = api_instance.get_accounts_receivable_detail_value_histogram_with_http_info(detail, opts)
890
+ p status_code # => 2xx
891
+ p headers # => { ... }
892
+ p data # => nil
893
+ rescue UltracartClient::ApiError => e
894
+ puts "Error when calling OrderApi->get_accounts_receivable_detail_value_histogram_with_http_info: #{e}"
895
+ end
896
+ ```
897
+
898
+ ### Parameters
899
+
900
+ | Name | Type | Description | Notes |
901
+ | ---- | ---- | ----------- | ----- |
902
+ | **detail** | **String** | The transaction-detail name to histogram. | |
903
+ | **gateway** | **String** | The gateway name to scope to (optional). | [optional] |
904
+
905
+ ### Return type
906
+
907
+ nil (empty response body)
908
+
909
+ ### Authorization
910
+
911
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
912
+
913
+ ### HTTP request headers
914
+
915
+ - **Content-Type**: Not defined
916
+ - **Accept**: application/json
917
+
918
+
919
+ ## get_accounts_receivable_gateway_detail_names
920
+
921
+ > get_accounts_receivable_gateway_detail_names
922
+
923
+ Retrieve gateway / detail-name picker data for the AR filter modal
924
+
925
+ For the calling merchant's Accounts Receivable orders, returns the distinct payment gateway names paired with the set of transaction-detail names observed on those gateways. Drives the cascading gateway / detail-name pickers in the AR filter modal.
926
+
927
+
928
+ ### Examples
929
+
930
+
931
+ (No example for this operation).
932
+
933
+
934
+ #### Using the get_accounts_receivable_gateway_detail_names_with_http_info variant
935
+
936
+ This returns an Array which contains the response data (`nil` in this case), status code and headers.
937
+
938
+ > <Array(nil, Integer, Hash)> get_accounts_receivable_gateway_detail_names_with_http_info
939
+
940
+ ```ruby
941
+ begin
942
+ # Retrieve gateway / detail-name picker data for the AR filter modal
943
+ data, status_code, headers = api_instance.get_accounts_receivable_gateway_detail_names_with_http_info
944
+ p status_code # => 2xx
945
+ p headers # => { ... }
946
+ p data # => nil
947
+ rescue UltracartClient::ApiError => e
948
+ puts "Error when calling OrderApi->get_accounts_receivable_gateway_detail_names_with_http_info: #{e}"
949
+ end
950
+ ```
951
+
952
+ ### Parameters
953
+
954
+ This endpoint does not need any parameter.
955
+
956
+ ### Return type
957
+
958
+ nil (empty response body)
959
+
960
+ ### Authorization
961
+
962
+ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
963
+
964
+ ### HTTP request headers
965
+
966
+ - **Content-Type**: Not defined
967
+ - **Accept**: application/json
968
+
969
+
863
970
  ## get_accounts_receivable_retry_config
864
971
 
865
972
  > <AccountsReceivableRetryConfigResponse> get_accounts_receivable_retry_config
data/docs/Warning.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **more_info** | **String** | Additional information often a link to additional documentation | [optional] |
8
+ | **warning_code** | **String** | A stable machine-readable code identifying the warning. See API docs for known values. | [optional] |
8
9
  | **warning_message** | **String** | A technical message meant to be read by a developer | [optional] |
9
10
 
10
11
  ## Example
@@ -14,6 +15,7 @@ require 'ultracart_api'
14
15
 
15
16
  instance = UltracartClient::Warning.new(
16
17
  more_info: null,
18
+ warning_code: null,
17
19
  warning_message: null
18
20
  )
19
21
  ```