Class ByProjectKeyInStoreKeyByStoreKeyCategoriesByIDHead

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

Checks if a Category exists with the provided id in the specified Store. Returns a 200 status if the Category exists in the Store or is global, or a 404 status otherwise.

For global Categories, use the Check if Category exists by ID endpoint.



   CompletableFuture<ApiHttpResponse<tools.jackson.databind.JsonNode>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .categories()
            .withId("{ID}")
            .head()
            .execute()