slince / shopify-api-php

:rocket: Shopify API Client for PHP
MIT License
128 stars 47 forks source link

Tracking info #112

Open namidad opened 1 year ago

namidad commented 1 year ago

Hello, when I'm creating fulfillment I'm passing also details about tracking. Order status is changing into 'Fulfilled' but there isn't any information about tracking. How I can update it?

$shopifyConnection->getClient()->getFulfillmentManager()->create($shopify_order_id, [ "location_id" => $location_origin->getId(), "message" => "The package was sent to client.", "notify_customer" => false, "tracking_info" => [ "number" => $tracking_id, "company" => $tracking_company, "url" => 'https://auspost.com.au/mypost/track/#/details/' ], "line_items_by_fulfillment_order" => ["fulfillment_order_id" => $shopify_order_id] ]);

namidad commented 1 year ago

@slince any info?