Skip to content

Commit 034a88d

Browse files
authored
Update README.md
1 parent 3609f49 commit 034a88d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ PHPShopify\ShopifySDK::config($config);
3333
You 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

4645
PHPShopify\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(

0 commit comments

Comments
 (0)