Class ByProjectKeyInStoreKeyByStoreKeyCategoriesByIDGet

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

Retrieves a Category by its id if it is assigned to the specified Store or is global.

For global Categories, use the Get Category by ID 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()
            .withId("{ID}")
            .get()
            .execute()