Class ByProjectKeyCategoriesKeyByKeyPost

java.lang.Object
io.vrap.rmf.base.client.ApiMethod<T,TResult>
io.vrap.rmf.base.client.BodyApiMethod<T,TResult,TBody>
io.vrap.rmf.base.client.TypeBodyApiMethod<ByProjectKeyCategoriesKeyByKeyPost,Category,CategoryUpdate>
com.commercetools.api.client.ByProjectKeyCategoriesKeyByKeyPost
All Implemented Interfaces:
ConflictingTrait<ByProjectKeyCategoriesKeyByKeyPost>, Deprecatable200Trait<ByProjectKeyCategoriesKeyByKeyPost>, ErrorableTrait<ByProjectKeyCategoriesKeyByKeyPost>, ExpandableTrait<ByProjectKeyCategoriesKeyByKeyPost>, io.vrap.rmf.base.client.ClientRequestCommand<Category>, io.vrap.rmf.base.client.CreateHttpRequestCommand, io.vrap.rmf.base.client.HttpRequestCommand<Category>, io.vrap.rmf.base.client.RequestCommand<Category>

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



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