python shopify_signifyd_brainstorm.py
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了python shopify_signifyd_brainstorm.py相关的知识,希望对你有一定的参考价值。
# Example Meta
my_order = shopify.Order().find(2559147783)
meta_test = shopify.Metafield()
meta_test.namespace = "'fulfillment"
meta_test.key = "hold"
meta_test.value = "active"
meta_test.value_type = "string"
my_order.add_metafield(meta_test)
# Example Fulfillment
my_order = shopify.Order().find(2559147783)
my_fulfillment = shopify.Fulfillment({
'order_id': my_order.id,
'tracking_number': None,
'notify_customer': False
})
my_fulfillment.save()
# Fulfillment status
my_order.attributes['fulfillments'][0].status
以上是关于python shopify_signifyd_brainstorm.py的主要内容,如果未能解决你的问题,请参考以下文章
Python代写,Python作业代写,代写Python,代做Python
Python开发
Python,python,python
Python 介绍
Python学习之认识python
python初识