Class ByProjectKeyCustomersKeyByKeyDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyCustomersKeyByKeyDelete,Customer>
com.commercetools.api.client.ByProjectKeyCustomersKeyByKeyDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyCustomersKeyByKeyDelete,Customer>, ConflictingTrait<ByProjectKeyCustomersKeyByKeyDelete>, DataerasureTrait<ByProjectKeyCustomersKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyCustomersKeyByKeyDelete>, ErrorableTrait<ByProjectKeyCustomersKeyByKeyDelete>, ExpandableTrait<ByProjectKeyCustomersKeyByKeyDelete>, VersionedTrait<ByProjectKeyCustomersKeyByKeyDelete>, io.vrap.rmf.base.client.ClientRequestCommand<Customer>, io.vrap.rmf.base.client.CreateHttpRequestCommand, 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()
            .withKey("{key}")
            .delete()
            .withVersion(version)
            .execute()