code: public function getCustomerInfo()
      {
          $uri = $this->config->getApiEndpoint() . 'current_customer';
          $result = $this->_fetch($uri);
  
          return $result;
      }
docs: Get the logged in customer details
  
  @return bool|mixed
  @throws LocalizedException