Class ByProjectKeyCategoriesPost

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyCategoriesPost>, ErrorableTrait<ByProjectKeyCategoriesPost>, ExpandableTrait<ByProjectKeyCategoriesPost>, ClientRequestCommand<Category>, CreateHttpRequestCommand, HttpRequestCommand<Category>, RequestCommand<Category>

Either the scope manage_products:{projectKey} or manage_categories:{projectKey} is required.

Creating a Category produces the CategoryCreated Message.



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