Class ByProjectKeyProductsHead

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductsHead,JsonNode>
com.commercetools.api.client.ByProjectKeyProductsHead
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductsHead>, ErrorableTrait<ByProjectKeyProductsHead>, io.vrap.rmf.base.client.ClientRequestCommand<JsonNode>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.RequestCommand<JsonNode>

Check if Products exist. Responds with a 200 OK status if any Products match the Query Predicate, or 404 Not Found otherwise.



   CompletableFuture<ApiHttpResponse<com.fasterxml.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .products()
            .head()
            .execute()