From 5815f02c9eb1d4b3ba49033361d9df8add9eb2c6 Mon Sep 17 00:00:00 2001 From: Elizabeth Kenyon Date: Wed, 27 Nov 2024 11:22:20 -0600 Subject: [PATCH] Docs --- docs/usage/rest.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/usage/rest.md b/docs/usage/rest.md index f1dd99aec..4d29010be 100644 --- a/docs/usage/rest.md +++ b/docs/usage/rest.md @@ -1,4 +1,6 @@ # Make a REST API call +> [!WARNING] +> The Admin REST API has been deprecated. New apps should use the GraphQL Admin API. For more information see [All in on GraphQL](https://www.shopify.com/ca/partners/blog/all-in-on-graphql). New apps will be created with the config option `rest_disabled: true`. This will raise a `ShopifyAPI::Errors::DisabledResourceError` if you try to use the REST API. Once OAuth is complete, we can use `ShopifyAPI`'s REST library to make authenticated API calls to the Shopify Admin API. #### Required Session