我有下面的代码,并且订单已经创建了一个货件,但我正在尝试添加跟踪号。如果货件已创建且订单已标记完成,是否可以通过此方法添加运单号?
$newShipmentId = $client->call($sess_id, 'sales_order_shipment.create', array($ShippedOrderId, array(), 'Shipment Created', true, true));
$newTrackId = $client->call($sess_id, 'sales_order_shipment.addTrack', array($newShipmentId, $shippedby, $shipname, $fields[4]));}