Class ByProjectKeyMeBusinessUnitsKeyByKeyPostString

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