docs/CustomerApi.md in ultracart_api-3.10.11 vs docs/CustomerApi.md in ultracart_api-3.10.12

- old
+ new

@@ -15,10 +15,11 @@ [**get_customers**](CustomerApi.md#get_customers) | **GET** /customer/customers | Retrieve customers [**get_customers_by_query**](CustomerApi.md#get_customers_by_query) | **POST** /customer/customers/query | Retrieve customers by query [**get_customers_for_data_tables**](CustomerApi.md#get_customers_for_data_tables) | **POST** /customer/customers/dataTables | Retrieve customers for DataTables plugin [**get_email_verification_token**](CustomerApi.md#get_email_verification_token) | **POST** /customer/customers/email_verify/get_token | Create a token that can be used to verify a customer email address [**insert_customer**](CustomerApi.md#insert_customer) | **POST** /customer/customers | Insert a customer +[**search**](CustomerApi.md#search) | **POST** /customer/search | Searches for all matching values (using POST) [**update_customer**](CustomerApi.md#update_customer) | **PUT** /customer/customers/{customer_profile_oid} | Update a customer [**update_customer_email_lists**](CustomerApi.md#update_customer_email_lists) | **POST** /customer/customers/{customer_profile_oid}/email_lists | Update email list subscriptions for a customer [**validate_email_verification_token**](CustomerApi.md#validate_email_verification_token) | **POST** /customer/customers/email_verify/validate_token | Validate a token that can be used to verify a customer email address @@ -749,9 +750,57 @@ [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey) ### HTTP request headers - **Content-Type**: application/json; charset=UTF-8 + - **Accept**: application/json + + + +# **search** +> LookupResponse search(lookup_request) + +Searches for all matching values (using POST) + +### Example +```ruby +# load the gem +require 'ultracart_api' + +# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key +simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00' +api_instance = UltracartClient::CustomerApi.new_using_api_key(simple_key, false, false) + + +lookup_request = UltracartClient::LookupRequest.new # LookupRequest | LookupRequest + + +begin + #Searches for all matching values (using POST) + result = api_instance.search(lookup_request) + p result +rescue UltracartClient::ApiError => e + puts "Exception when calling CustomerApi->search: #{e}" +end +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **lookup_request** | [**LookupRequest**](LookupRequest.md)| LookupRequest | + +### Return type + +[**LookupResponse**](LookupResponse.md) + +### Authorization + +[ultraCartBrowserApiKey](../README.md#ultraCartBrowserApiKey), [ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey) + +### HTTP request headers + + - **Content-Type**: application/json - **Accept**: application/json # **update_customer**