Skip to content

Commit 0a22aa0

Browse files
committed
update readme for graphql with private apps
1 parent 3b402c3 commit 0a22aa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ $blogArticle = $shopify->Blog($blogID)->Article($articleID)->delete();
238238
The GraphQL Admin API is a GraphQL-based alternative to the REST-based Admin API, and makes the functionality of the Shopify admin available at a single GraphQL endpoint. The full set of supported types can be found in the [GraphQL Admin API reference](https://help.shopify.com/en/api/graphql-admin-api/reference).
239239
You can simply call the GraphQL resource and make a post request with a GraphQL string:
240240

241-
> The GraphQL Admin API requires an access token for making authenticated requests. So it won't work with `ApiKey` and `Password` which is allowed for REST API resources.
241+
> The GraphQL Admin API requires an access token for making authenticated requests. You can obtain an access token either by creating a private app and using that app's API password, or by following the OAuth authorization process. [Getting Started](https://help.shopify.com/en/api/graphql-admin-api/getting-started#authentication)
242242
243243
```php
244244
$graphQL = <<<Query

0 commit comments

Comments
 (0)