I am Unable to update shipment_status during fulfillment/fulfillmentUpdate. Does someone encounter this issue?
$result = (new Shopify())->request('orders/'.$order_id.'/fulfillments.json',[ 'fulfillment' => [ 'line_items' => $line_items, 'location_id' => $location_id, 'tracking_number' => $tracking_number, 'tracking_urls' => [ $tracking_url ], 'notify_customer' => $notify, 'tracking_company' => $tracking_company, 'shipment_status' => $shipment_status ] ], 'POST');
And here's the response
Thank you in advance.
You should be able to update the fulfillment status through the FulfillmentEvent API: https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentevent#create-2...