public function findBy(array $criteria)
    {
        $params = array_merge($criteria, [
            'with' => implode(',', self::$includes),
        ]);

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

        return iterator_to_array($this->client->getIterator('items/variations', $params));
    }
@param array $criteria

@return array