Last updated 1 year ago
Disclaimer: The GraphQL implementation is currently a very basic implementation.
Here's a quick example:
We are working on improving this implementation.
$query = <<<QUERY { products (first: 3) { edges { node { id title } } } } QUERY; $response = $shopify->graphQL()->post('', ['query' => $query]); $data = $response->json();