0

我正在尝试为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”参数值的正确方法是什么?

4

1 回答 1

1

这似乎是一个文档和控制台错误。我相信 order_date 字段不可访问。现在应该修好了。

http://developer.bigcommerce.com/api/orders/shipments

https://developer.bigcommerce.com/console

创建货件时,您应该无法修改 order_date 字段,因为它与订单创建相关联。希望这可以帮助。谢谢!

于 2013-04-03T16:24:59.943 回答