Deletes the customer specified by their ID.
URL syntax
http://<ccServerURL>/rest/v1/customers/customer/<id>?deleteTransactions=[true/false]
Request
URL path parameters (required)
id
(type:
int
)
URL query parameters (optional)
?deleteTransactions=[true|false]
Default:
false
Response
Response body
A statement of whether the deletion is successful.
Example
URL
http://localhost:8080/rest/v1/customers/customer/10400?deleteTransactions=true
Response body
Successfully deleted the customer with id 10400
Java
String msg = customerServiceProxy.deleteCustomer(10400);