From 1e8abb90a9f4e6c981e7f6c91355aa65d7aa499e Mon Sep 17 00:00:00 2001 From: Oleksii Savchuk Date: Fri, 5 Feb 2021 17:43:00 +0200 Subject: [PATCH 1/2] Fix storefront root key --- src/ServiceDescription/Shopify-v1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ServiceDescription/Shopify-v1.php b/src/ServiceDescription/Shopify-v1.php index bcb00d9..8fa68aa 100644 --- a/src/ServiceDescription/Shopify-v1.php +++ b/src/ServiceDescription/Shopify-v1.php @@ -71,7 +71,7 @@ 'uri' => 'admin/api/{version}/storefront_access_tokens.json', 'responseModel' => 'GenericModel', 'summary' => 'Create a new storefront token', - 'data' => ['root_key' => 'article'], + 'data' => ['root_key' => 'storefront_access_token'], 'parameters' => [ 'version' => [ 'description' => 'API version', From bc58382aab77d6b06b4e6a4936ea0fa1dfe38322 Mon Sep 17 00:00:00 2001 From: Oleksii Savchuk Date: Fri, 5 Feb 2021 17:45:57 +0200 Subject: [PATCH 2/2] Fix README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7a6c71c..6563c56 100644 --- a/README.md +++ b/README.md @@ -447,13 +447,13 @@ Here is a list of supported endpoints (more to come in the future): * array getAccessScopes(array $args = []) -**ACCESS SCOPE RELATED METHODS:** +**STOREFRONT ACCESS TOKEN RELATED METHODS:** * array getStorefrontAccessTokens(array $args = []) * array createStorefrontAccessToken(array $args = []) * array deleteStorefrontAccessToken(array $args = []) -**STOREFRONT ACCESS TOKEN RELATED METHODS:** +**APPLICATION CHARGE RELATED METHODS:** * array getApplicationCharges(array $args = []) * array getApplicationCharge(array $args = [])