Class ByProjectKeyCustomersByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.TypeApiMethod<ByProjectKeyCustomersByIDDelete,Customer>
com.commercetools.api.client.ByProjectKeyCustomersByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCustomersByIDDelete,Customer>, ConflictingTrait<ByProjectKeyCustomersByIDDelete>, DataerasureTrait<ByProjectKeyCustomersByIDDelete>, Deprecatable200Trait<ByProjectKeyCustomersByIDDelete>, ErrorableTrait<ByProjectKeyCustomersByIDDelete>, ExpandableTrait<ByProjectKeyCustomersByIDDelete>, VersionedTrait<ByProjectKeyCustomersByIDDelete>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Customer>, io.vrap.rmf.base.client.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()