Could someone advise me if I am on the correct path?
What I am trying to do is to fulfill an order. I am using the phpclassic shopifySDK.
In order to do that
-
I Query the ‘GET fulfillment_orders endpoint’ to get the fulfillment IDs for each line for a particular order.
-
once I get the fulfillment IDs, I am going to , do the below
$shopify->Fulfillment($fulfillment['id'])->update_tracking([
"tracking_number" => 'XXXXXXX'
"tracking_urls" => 'https://tracking_url...',
"notify_customer" => true,
"location_id" => 'location_id,
]);
I know My question includes the use of an external library, but just posting it here hoping that someone here is using the same.