Class ByProjectKeyProductsByIDDelete

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductsByIDDelete,Product>
com.commercetools.api.client.ByProjectKeyProductsByIDDelete
All Implemented Interfaces:
ApiDeleteMethod<ByProjectKeyProductsByIDDelete,Product>, ConflictingTrait<ByProjectKeyProductsByIDDelete>, Deprecatable200Trait<ByProjectKeyProductsByIDDelete>, ErrorableTrait<ByProjectKeyProductsByIDDelete>, ExpandableTrait<ByProjectKeyProductsByIDDelete>, PriceselectingTrait<ByProjectKeyProductsByIDDelete>, VersionedTrait<ByProjectKeyProductsByIDDelete>, 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()
            .withId("{ID}")
            .delete()
            .withVersion(version)
            .execute()