Class ByProjectKeyMeBusinessUnitsKeyByKeyPost

All Implemented Interfaces:
ConflictingTrait<ByProjectKeyMeBusinessUnitsKeyByKeyPost>, Deprecatable200Trait<ByProjectKeyMeBusinessUnitsKeyByKeyPost>, ErrorableTrait<ByProjectKeyMeBusinessUnitsKeyByKeyPost>, ExpandableTrait<ByProjectKeyMeBusinessUnitsKeyByKeyPost>, ClientRequestCommand<BusinessUnit>, CreateHttpRequestCommand, HttpRequestCommand<BusinessUnit>, RequestCommand<BusinessUnit>

Updates a Business Unit for a given key. Returns a 200 OK status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.



   CompletableFuture<ApiHttpResponse<com.commercetools.api.models.business_unit.BusinessUnit>> result = apiRoot
            .withProjectKey("{projectKey}")
            .me()
            .businessUnits()
            .withKey("{key}")
            .post(null)
            .execute()