code: public ApiSuccessResponse getRootCategories(GetRootCategoriesData getRootCategoriesData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = getRootCategoriesWithHttpInfo(getRootCategoriesData);
          return resp.getData();
      }
docs: Get all Root categories.
  Get all Root Categories information.
  @param getRootCategoriesData  (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body