Class ByProjectKeyMeBusinessUnitsByIDGet

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

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