protected function setRequestPath($param)
    {
        if($param instanceof Shopify)
        {
            $this->requestPath = $param->getRequestPath();
        }
        elseif(is_string($param) && strpos($param, 'myshopify') != false)
        {
            $this->requestPath = 'https://'. $param . '/admin/';
        }
        else throw new Exception('invalid request path');

        return $this;
    }