Class ByProjectKeyProductsByIDDelete

All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductsByIDDelete,Product>, ConflictingTrait<ByProjectKeyProductsByIDDelete>, Deprecatable200Trait<ByProjectKeyProductsByIDDelete>, ErrorableTrait<ByProjectKeyProductsByIDDelete>, ExpandableTrait<ByProjectKeyProductsByIDDelete>, PriceselectingTrait<ByProjectKeyProductsByIDDelete>, VersionedTrait<ByProjectKeyProductsByIDDelete>, ClientRequestCommand<Product>, CreateHttpRequestCommand, HttpRequestCommand<Product>, 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()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()