Class ByProjectKeyProductTypesByIDHead

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<ByProjectKeyProductTypesByIDHead,JsonNode>
com.commercetools.api.client.ByProjectKeyProductTypesByIDHead
All Implemented Interfaces:
Deprecatable200Trait<ByProjectKeyProductTypesByIDHead>, ErrorableTrait<ByProjectKeyProductTypesByIDHead>, 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 id 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()
            .withId("{ID}")
            .head()
            .execute()