gpt4 book ai didi

bigcommerce - 将承运人邮寄到 Bigcommerce Shipments API

转载 作者:行者123 更新时间:2023-12-01 05:02:06 28 4
gpt4 key购买 nike

当一件元素通过 FedEx 运送时,我希望最终客户看到 FedEx 跟踪号码。我如何指明承运人?我是否将“FedEx”放在shipping_method 字段中?

最佳答案

只能在初始 POST 期间设置运输承运人,而不能在后续 PUT 请求中设置。创建货件并且您想表示承运人时,您应该发送带有 json 正文的 POST 请求,例如:

[
{
"id": 1,
"order_id": 115,
"customer_id": 0,
"order_address_id": 16,
"date_created": "Wed, 19 Dec 2012 17:17:10 +0000",
"tracking_number": "111222333444",
"shipping_method": "None",
"shipping_provider": "fedex",
"tracking_carrier": "fedex",
"comments": "A sample shipment for order 115",
"billing_address": {
"first_name": "Louise",
"last_name": "Dean",
"company": "Skiptube",
"street_1": "147 Meadow Vale Way",
"street_2": "",
"city": "Fullerton",
"state": "Rhode Island",
"zip": "74674",
"country": "United States",
"country_iso2": "US",
"phone": "7-(086)085-9448",
"email": ""
},
"shipping_address": {
"first_name": "Louise",
"last_name": "Dean",
"company": "Skiptube",
"street_1": "147 Meadow Vale Way",
"street_2": "",
"city": "Fullerton",
"state": "Rhode Island",
"zip": "74674",
"country": "United States",
"country_iso2": "US",
"phone": "7-(086)085-9448",
"email": ""
},
"items": [
{
"order_product_id": 16,
"product_id": 0,
"quantity": 1
}
]
}
]

关于bigcommerce - 将承运人邮寄到 Bigcommerce Shipments API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32017286/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com