docs/CustomerApi.md in ultracart_api-3.6.38 vs docs/CustomerApi.md in ultracart_api-3.7.38
- old
+ new
@@ -18,11 +18,11 @@
[**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
# **delete_customer**
-> CustomerResponse delete_customer(customer_profile_oid)
+> delete_customer(customer_profile_oid)
Delete a customer
Delete a customer on the UltraCart account.
@@ -39,12 +39,11 @@
customer_profile_oid = 56 # Integer | The customer_profile_oid to delete.
begin
#Delete a customer
- result = api_instance.delete_customer(customer_profile_oid)
- p result
+ api_instance.delete_customer(customer_profile_oid)
rescue UltracartClient::ApiError => e
puts "Exception when calling CustomerApi->delete_customer: #{e}"
end
```
@@ -54,10 +53,10 @@
------------- | ------------- | ------------- | -------------
**customer_profile_oid** | **Integer**| The customer_profile_oid to delete. |
### Return type
-[**CustomerResponse**](CustomerResponse.md)
+nil (empty response body)
### Authorization
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)