Class ByProjectKeyMeBusinessUnitsKeyByKeyGet

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

Returns 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}")
            .get()
            .execute()