REST API Deprecated

Topic 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 提供了详细的迁移指南帮助开发者完成过渡。

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

Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

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

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. For details and migration steps, visit our migration guide.