code: public function findBy(array $criteria)
      {
          $params = array_merge($criteria, [
              'with' => implode(',', self::$includes),
          ]);
  
          return iterator_to_array($this->client->getIterator('items/variations', $params));
      }
docs: @param array $criteria
  
  @return array