Shopify 开发者更新·· 2026-09-19推荐指数52
Shopify GraphQL Admin API 2027-01 版本移除 deprecated `automaticDiscounts` 查询
The `automaticDiscounts` query is removed in API version 2027-01
导读
Shopify GraphQL Admin API 2027-01 版本移除了 deprecated 的 `automaticDiscounts` 查询,建议使用 `discountNodes` 查询替代,并需在升级到 2027-01 版本前进行迁移,否则可能导致查询失败。此变更影响调用 `automaticDiscounts` 并请求 2027-01 或更高版本 API 的应用。
来源:Shopify 开发者更新 · shopify.dev