Class ByProjectKeyMeBusinessUnitsByIDPost

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

Updates a Business Unit for a given id. 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()
            .withId("{ID}")
            .post(null)
            .execute()