We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c93ec9 + 63cc88c commit 345f1f3Copy full SHA for 345f1f3
src/Shopify.php
@@ -74,7 +74,7 @@ public function getHttpClient(): PendingRequest
74
75
public function graphQl(): PendingRequest
76
{
77
- return Http::baseUrl("https://{$this->domain}/admin/api/graphql.json")
+ return Http::baseUrl("https://{$this->domain}/admin/api/{$this->apiVersion}/graphql.json")
78
->withHeaders(['X-Shopify-Access-Token' => $this->accessToken]);
79
}
80
0 commit comments