大数跨境

客户账户 API:2026 年 10 月移除 Customer.lastIncompleteCheckout 和 Checkout 类型

客户账户 API:2026 年 10 月移除 Customer.lastIncompleteCheckout 和 Checkout 类型 Shopify电商独立站
2026-07-06
2
导读:截至 Customer Account API 版本 2026-10,已弃用的 Customer.lastIncompleteCheckout 字段已被移除。

截至 Customer Account API 版本 2026-10,已弃用的 Customer.last Incomplete Checkout 字段已被移除。 Customer.lastIncompleteCheckout 字段已移除。

这也移除了现在无法访问的 Customer Account API Checkout Checkout 类型子树,包括:

  • Checkout
  • Checkout.appliedGiftCards
  • AppliedGiftCard
  • AvailableShippingRates
  • CheckoutLineItem
  • CheckoutLineItemConnection
  • CheckoutLineItemEdge
  • ShippingRate

Customer.last Incomplete Checkout Customer.lastIncompleteCheckout 字段此前已被弃用并返回 null 。此更改从 Customer Account API 中移除了过时的 Checkout Classic 架构。 null此更改从客户账户 API 中移除了过时的 Checkout Classic 架构。

需要采取的操作

如果您的应用查询 Customer.lastIncompleteCheckout 或返回的 Checkout 对象上的任何嵌套字段,请在升级到 API 版本 2026-10 之前更新您的查询。 Checkout 对象,在升级到 API 版本 2026-10 之前,请更新您的查询。

请移除如下选择:

customer { lastIncompleteCheckout { id appliedGiftCards { id } } }

Customer Account API 中没有替代字段。

如果您需要买家商店体验中的活跃购物车或结账状态,请使用 Storefront API 购物车流程。如果您需要已完成的客户购买历史记录,请使用 Customer Account API 的 Customer.orders 字段。 Storefront API 购物车流程 相反,如果您需要已完成的客户购买历史记录,请使用 Customer Account API Customer.orders 字段。

【声明】内容源于网络
0
0
Shopify电商独立站
1234
内容 7146
粉丝 0
Shopify电商独立站 1234
总阅读87.4k
粉丝0
内容7.1k