Class ByProjectKeyCustomersByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCustomersByIDDelete,Customer>, ConflictingTrait<ByProjectKeyCustomersByIDDelete>, DataerasureTrait<ByProjectKeyCustomersByIDDelete>, Deprecatable200Trait<ByProjectKeyCustomersByIDDelete>, ErrorableTrait<ByProjectKeyCustomersByIDDelete>, ExpandableTrait<ByProjectKeyCustomersByIDDelete>, VersionedTrait<ByProjectKeyCustomersByIDDelete>, ClientRequestCommand<Customer>, CreateHttpRequestCommand, HttpRequestCommand<Customer>, RequestCommand<Customer>

Deleting a Customer produces the CustomerDeleted Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.customer.Customer>> result = apiRoot
            .withProjectKey("{projectKey}")
            .customers()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()