Class ByProjectKeyInStoreKeyByStoreKeyCategoriesKeyByKeyHead

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

Checks if a Category exists with the provided key 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 Key endpoint.



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