Class ByProjectKeyCustomersKeyByKeyDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCustomersKeyByKeyDelete,Customer>, ConflictingTrait<ByProjectKeyCustomersKeyByKeyDelete>, DataerasureTrait<ByProjectKeyCustomersKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyCustomersKeyByKeyDelete>, ErrorableTrait<ByProjectKeyCustomersKeyByKeyDelete>, ExpandableTrait<ByProjectKeyCustomersKeyByKeyDelete>, VersionedTrait<ByProjectKeyCustomersKeyByKeyDelete>, 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()
            .withKey("{key}")
            .delete()
            .withVersion(version)
            .execute()