Class ByProjectKeyCategoriesPostString

All Implemented Interfaces:
Deprecatable201Trait<ByProjectKeyCategoriesPostString>, ErrorableTrait<ByProjectKeyCategoriesPostString>, ExpandableTrait<ByProjectKeyCategoriesPostString>, 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("")
            .execute()