Class ByProjectKeyProductsKeyByKeyHead

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

Check if a Product exists with a specified key. Responds with a 200 OK status if the Product exists or 404 Not Found otherwise.



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