# REST API  Deprecated

**URL:** <https://community.shopify.com/t/rest-api-deprecated/415158>\
**Category:** Shopify 应用\
**Created:** [May 20, 2025, 9:13am UTC](https://community.shopify.com/t/rest-api-deprecated/415158 "2025-05-20T09:13:10Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

Shopify 的 REST Admin API 已被标记为遗留 API（自 2024 年 10 月 1 日起）。

**关键时间节点：**
- 2025 年 4 月 1 日起，所有新公共应用必须exclusively使用 GraphQL Admin API
- 现有应用需在 2025 年 7 月 1 日前采取行动

**问题核心：**
用户收到邮件通知，其应用正在使用 `/admin/api/2023-07/countries.json` 端点，询问是否只需更新版本号，还是必须迁移到 GraphQL API。

**官方建议：**
长期来看，建议直接切换到 GraphQL API。Shopify 提供了详细的[迁移指南](https://shopify.dev/docs/apps/build/graphql/migrate)帮助开发者完成过渡。

**状态：** 问题已得到官方回复，但用户尚未确认具体迁移方案。

<div class="post-metadata">

**Author:** ![tianahibo](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@tianahibo](https://community.shopify.com/u/tianahibo)\
**Post date:** [May 20, 2025, 9:13am UTC](https://community.shopify.com/t/rest-api-deprecated/415158/1 "2025-05-20T09:13:10Z")

</div>

![tianahibo_0-1747732224080.png](https://canada1.discourse-cdn.com/shopifyforum/original/2X/5/5fd0aa84f529a2cf74792bac8be20676d5ca88f1.png)

REST API 将要废弃了吗，我收到了一份邮件，目前看我的应用里正在使用shopify的 admin api /admin/api/2023-07/countries.json,我要在7月1日前修改 /admin/api/2023-07/countries.json 的版本号就可以了嘛？还是要将REST API 改为 GraphQL API，

---

<div class="post-metadata">

**Author:** ![AndyX](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/andyx/32/417600_2.png) [@AndyX](https://community.shopify.com/u/AndyX)\
**Post date:** [October 10, 2025, 8:23am UTC](https://community.shopify.com/t/rest-api-deprecated/415158/2 "2025-10-10T08:23:00Z")

</div>

In the long term, it’s recommended to switch to the GraphQL API directly.

The REST Admin API is a legacy API as of October 1, 2024. Starting April 1, 2025, all new public apps must be built exclusively with the [GraphQL Admin API](https://shopify.dev/docs/api/admin-graphql). For details and migration steps, visit our [migration guide](https://shopify.dev/docs/apps/build/graphql/migrate).
