public function get($blogId, $articleId, array $fields = array())
    {
        $params = array();
        if (!empty($fields)) {
            $params['fields'] = implode(',', $fields);
        }
        $endpoint = '/admin/blogs/'.$blogId.'/articles/'.$articleId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Article::class, $response['article']);
    }
public function get($blogId, $articleId, array $fields = array())
    {
        $params = array();
        if (!empty($fields)) {
            $params['fields'] = implode(',', $fields);
        }
        $endpoint = '/admin/blogs/'.$blogId.'/articles/'.$articleId.'.json';
        $response = $this->request($endpoint, 'GET', $params);
        return $this->createObject(Article::class, $response['article']);
    }
public function get ( $ blogId , $ articleId , array $ fields = array ( ) ) { $ params = array ( ) ; if ( ! empty ( $ fields ) ) { $ params [ 'fields' ] = implode ( ',' , $ fields ) ; } $ endpoint = '/admin/blogs/' . $ blogId . '/articles/' . $ articleId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Article :: class , $ response [ 'article' ] ) ; }
Receive a single article

@link   https://help.shopify.com/api/reference/article#show
@param  integer $blogId
@param  integer $articleId
@param  array   $fields
@return Article
Receive a single article