Class ByProjectKeyProductsKeyByKeyDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductsKeyByKeyDelete,Product>, ConflictingTrait<ByProjectKeyProductsKeyByKeyDelete>, Deprecatable200Trait<ByProjectKeyProductsKeyByKeyDelete>, ErrorableTrait<ByProjectKeyProductsKeyByKeyDelete>, ExpandableTrait<ByProjectKeyProductsKeyByKeyDelete>, PriceselectingTrait<ByProjectKeyProductsKeyByKeyDelete>, VersionedTrait<ByProjectKeyProductsKeyByKeyDelete>, ClientRequestCommand<Product>, CreateHttpRequestCommand, HttpRequestCommand<Product>, RequestCommand<Product>

If Product 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()