Class ByProjectKeyCategoriesByIDGet

All Implemented Interfaces:
CategoryExpansionMixin<ByProjectKeyCategoriesByIDGet>, Deprecatable200Trait<ByProjectKeyCategoriesByIDGet>, ErrorableTrait<ByProjectKeyCategoriesByIDGet>, ExpandableRequest<ByProjectKeyCategoriesByIDGet,CategoryExpansionBuilderDsl>, ExpandableTrait<ByProjectKeyCategoriesByIDGet>, ClientRequestCommand<Category>, CreateHttpRequestCommand, HttpRequestCommand<Category>, RequestCommand<Category>

Either the scope view_products:{projectKey} or view_categories:{projectKey} is required.



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