我正在尝试使用BigCommerce
在BigCommerce API
中为订单创建新货件。
我传递了所有这些参数:
{
"order_address_id":8,
"tracking_number":"",
"order_date":"Thu, 28 Mar 2013 11:17:22 +0000"," <—I have problem here
items":
[
{"order_product_id":44,"quantity":8},
{"order_product_id":39,"quantity":0},
{"order_product_id":39,"quantity":0}
],
"comments":""
}
我得到的回应是:
[{"status":400,"message":"The field 'order_date' is not supported by this resource."}]
有谁能告诉我传递'order_date
'参数值的正确方法是什么?
答案 0 :(得分:1)
这似乎是一个文档和控制台错误。我相信order_date字段无法访问。它现在应该修复。
http://developer.bigcommerce.com/api/orders/shipments
https://developer.bigcommerce.com/console
创建货件时,您无法修改order_date字段,因为它与订单创建相关联。希望这可以帮助。谢谢!