这里是商家谈论应用的区域。 哪些应用最适合您?
By interface:
admin/api/2023-04/orders/5565680353588/fulfillment_orders.json
I have received the shipment data for the order, as shown in the following figure
Next, I want to perform the shipping operation on the shipping order, using the interface:
admin/api/2023-04/fulfillments.json
The debugging code snippet is as follows:
$url = "https://494782508ceshi.myshopify.com/admin/api/2023-04/fulfillments.json";
$param = array();
$param['access_token'] = "********"; //Omitted for data security
$fulfillment = array();
$fulfillment['line_items_by_fulfillment_order'] = ['fulfillment_order_id' => '**'];
$fulfillment['tracking_info'] = ['number' => 'YT2331821292044240', "url" => "https://www.track718.com/en/detail?nums=YT2331821292044240"];
$param['fulfillment'] = $fulfillment;
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($param));
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE);
$responseText = curl_exec($curl);
curl_close($curl);
But the interface reported an error:
string(76) "{"errors":{"line_items_by_fulfillment_order":"expected Hash to be a Array"}}"
How should I adjust my code?
在当今竞争激烈的电商市场中,视觉效果是吸引和留住客户的关键因素之一。高质量的图片不仅能提升店铺的专业形象,还能显著提高转化率和用户体验。研究表明,优质的产品图片可以增...
By Vikki Sep 15, 2024您是否遇到过尝试在 Shopify 后台连接您在第三方购买的域名,但是遇到错误提示无法连接的情况? 我们懂您的困扰!不用担心,我将把我们在进行支持时遇到的最常见...
By OwenX7 Sep 8, 2024返校促销/劳动节促销是向大量客户展示您的商店的最佳时机。作为一名出海的跨境电商卖家,您该如何参与其中?您该如何在返校促销/劳动节促销中及时吸引在线购物者的注意力?您如何将促销...
By Alice_Z Aug 13, 2024