Class ByProjectKeyProductTypesKeyByKeyHead

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

Checks if a Product Type with given key exists. Responds with a 200 OK status if the Product Type exists or 404 Not Found otherwise.



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