简体   繁体   English

从shopify API获取详细信息并关闭订单

[英]getting details and closing orders from shopify API

order = shopify.Order.find(151574820)

print order

This returns: order(151574820) 这将返回: order(151574820)

How do I get the details from the order? 我如何从订单中获取详细信息? How would I go about modifying this order? 我将如何修改此订单? I am new to the python shopify API but I just can't figure it out and the docs seem super minimal. 我是python shopify API的新手,但我只是想不通,文档似乎非常精简。 Either that or I am not looking in the right place. 要么就是我找的地方不对。 Any help is appreciated! 任何帮助表示赞赏!

shopify.Order.get(shopify.Order.get_id(order))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM