Class ByProjectKeyInStoreKeyByStoreKeyCategoriesKeyByKeyGet

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

Retrieves a Category by its key in the specified Store.

For global Categories, use the Get Category by Key endpoint.

If the Category does not exist in the Store, a ResourceNotFound error is returned.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.category.Category>> result = apiRoot
            .withProjectKey("{projectKey}")
            .inStoreKeyWithStoreKeyValue("{storeKey}")
            .categories()
            .withKey("{key}")
            .get()
            .execute()