File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,20 +33,20 @@ PHPShopify\ShopifySDK::config($config);
33
33
You can use PHPShopify in a pretty simple object oriented way.
34
34
35
35
#### Configure ShopifySDK
36
- If you are using your own private API, provide the ApiKey and Password.
36
+ If you are using your own private API (except GraphQL) , provide the ApiKey and Password.
37
37
38
38
``` php
39
39
$config = array(
40
40
'ShopUrl' => 'yourshop.myshopify.com',
41
41
'ApiKey' => '***YOUR-PRIVATE-API-KEY***',
42
42
'Password' => '***YOUR-PRIVATE-API-PASSWORD***',
43
- 'AccessToken' => '***YOUR-PRIVATE-API-PASSWORD***', // optional but needed if you want to use graphql
44
43
);
45
44
46
45
PHPShopify\ShopifySDK::config($config);
47
46
```
48
47
49
- For Third party apps, use the permanent access token.
48
+ For Third party apps, use the permanent access token.
49
+ > For GraphQL, AccessToken is required. If you are using private API for GraphQL, use your password as AccessToken here.
50
50
51
51
``` php
52
52
$config = array(
You can’t perform that action at this time.
0 commit comments