Liquid、JavaScript、主题、销售渠道。
When I upload company=Amazon Logistics UK, the shipping carrier becomes Wrong . Isn't the shipping carrier filled in company
我在Fulfillment Order上, 填写的shipping carrier(company) 是Amazon Logistics UK,结果变成了其他 carrier
/**
* package: use PHPShopify\ShopifySDK;
*/
/**
* step_1: create
*/
public function create_fulfillment_order($order_id)
{
$order = $this->client->Order($order_id)->FulfillmentOrder->get();
if (empty($order)) {
"create fail";
}
return $order[0]['id'];
}
/**
* step_2
* */
public function fulfillment_order($fulfillment_order_id, $track_number, $company, $track_url)
{
$data = [
'message' => 'The package was shipped',
'notify_customer' => false,
'tracking_info' => [
'number' => $track_number,
"company" => $company,
"url" => $track_url,
],
'line_items_by_fulfillment_order' => [
[
'fulfillment_order_id' => $fulfillment_order_id,
]
],
];
if ($track_url) {
$data['line_items_by_fulfillment_order'][0]['url'] = $track_url;
}
$res = $this->client->Fulfillment->post($data);
return $res;
}
返校促销/劳动节促销是向大量客户展示您的商店的最佳时机。作为一名出海的跨境电商卖家,您该如何参与其中?您该如何在返校促销/劳动节促销中及时吸引在线购物者的注意力?您如何将促销...
By Alice_Z Aug 13, 2024作为一名 Shopify 商家,您可能会遇到客户在结账时无法完成订单的情况。为了找到客户未完成订单的原因,您可以在 Shopify 后台的订单界面中查看相应的弃单详细信息。帮...
By Vikki Aug 4, 2024如果您是一位经营网店的商家,那么您肯定遇到过一些技术上的挑战,这些挑战可能会直接影响到您网店的功能。您是否曾经遇到过这样的情况:突然之间,某些功能停止了工作?那您该怎么办呢?...
By OwenX7 Jul 23, 2024