Class ByProjectKeyProductsKeyByKeyDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductsKeyByKeyDelete,Product>
com.commercetools.api.client.ByProjectKeyProductsKeyByKeyDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductsKeyByKeyDelete,Product>, ConflictingTrait<ByProjectKeyProductsKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyProductsKeyByKeyDelete>, ErrorableTrait<ByProjectKeyProductsKeyByKeyDelete>, ExpandableTrait<ByProjectKeyProductsKeyByKeyDelete>, PriceselectingTrait<ByProjectKeyProductsKeyByKeyDelete>, VersionedTrait<ByProjectKeyProductsKeyByKeyDelete>, io.vrap.rmf.base.client.ClientRequestCommand<Product>, io.vrap.rmf.base.client.RequestCommand<Product>

If Price selection query parameters are provided, the selected Prices are added to the response. Produces the ProductDeleted Message.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.product.Product>> result = apiRoot
            .withProjectKey("{projectKey}")
            .products()
            .withKey("{key}")
            .delete()
            .withVersion(version)
            .execute()