kahmra
kahmra
> Hi! i use the same method hahaha but this not works if an order have a delete item
@fr00ller this still dont work :( i have this function function fulfill_order_by_id($order_id,$tracking_number){ $config=connection(); $shopify = new PHPShopify\ShopifySDK($config); $list = $shopify->Order($order_id)->FulfillmentOrder()->get(); $fulfillmentorder_id = $list[0]['id']; try{ $params = array( 'location_id' =>'********', 'notify_customer'=>...
> @kahmra > > Have you try to remove company field from "tracking_info" array ? > > Accordly with official documentation https://shopify.dev/docs/api/admin-rest/2023-04/resources/fulfillment#post-fulfillments the company field it must exactly match one...
> Currently ``` $fulfilledOrders = $ShopifyConnection->fulfilledOrders($sinceId,250); foreach ($fulfilledOrders as $order) { $shopifyBatchProcessData->batchProcess("Orders",$order,"order"); } ```