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);
3333You can use PHPShopify in a pretty simple object oriented way.
3434
3535#### 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.
3737
3838``` php
3939$config = array(
4040 'ShopUrl' => 'yourshop.myshopify.com',
4141 'ApiKey' => '***YOUR-PRIVATE-API-KEY***',
4242 'Password' => '***YOUR-PRIVATE-API-PASSWORD***',
43- 'AccessToken' => '***YOUR-PRIVATE-API-PASSWORD***', // optional but needed if you want to use graphql
4443);
4544
4645PHPShopify\ShopifySDK::config($config);
4746```
4847
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.
5050
5151``` php
5252$config = array(
You can’t perform that action at this time.
0 commit comments