Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
被要求更新 OrderAPI,我查看了以下链接:
https://shopify.dev/changelog/payment-properties-deprecation-on-the-admin-api-order-resource
但没有找到对应的 OrderAPI 中的字段“ payment_details”和“process_method”,有人知道对应哪个字段吗?或者它们的名称实际上和我在屏幕截图中显示的名称不一样?
我非常需要帮助,谢谢大家!
根据 Shopify 的更新,自 2022 年 12 月 6 日起,REST 和 GraphQL 管理 API 订单资源中的 payment_details 和 processing_method 属性已被弃用。现在,gateway 和 payment_details 属性可在相应的交易资源中找到。由于订单支持多种交易方法,processing_method 属性已移除,因为该字段常包含不正确的数据。processing_method 原先提供的值现在可以通过其他源推断,例如订单总额、checkout_id 和 OrderTransaction 属性。这些更改将在 2023 年 4 月的 API 版本中完全实施
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025