Class ByProjectKeyProductTypesHead

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

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



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