diff --git a/lib/Fulfillment.php b/lib/Fulfillment.php index 18138d2..ec9cd75 100644 --- a/lib/Fulfillment.php +++ b/lib/Fulfillment.php @@ -24,6 +24,7 @@ * @method array complete() Complete a fulfillment * @method array open() Open a pending fulfillment * @method array cancel() Cancel a fulfillment + * @method array update_tracking(array $data) Updates the tracking information for a fulfillment. * */ class Fulfillment extends ShopifyResource @@ -47,5 +48,6 @@ class Fulfillment extends ShopifyResource 'complete', 'open', 'cancel', + 'update_tracking', ); -} \ No newline at end of file +} diff --git a/lib/ShopifySDK.php b/lib/ShopifySDK.php index 4c63665..7dffb55 100644 --- a/lib/ShopifySDK.php +++ b/lib/ShopifySDK.php @@ -85,6 +85,7 @@ * @property-read DiscountCode $DiscountCode * @property-read DraftOrder $DraftOrder * @property-read Event $Event + * @property-read Fulfillment $Fulfillment * @property-read FulfillmentService $FulfillmentService * @property-read GiftCard $GiftCard * @property-read InventoryItem $InventoryItem @@ -131,6 +132,7 @@ * @method DraftOrder DraftOrder(integer $id = null) * @method DiscountCode DiscountCode(integer $id = null) * @method Event Event(integer $id = null) + * @method Fulfillment Fulfillment(integer $id = null) * @method FulfillmentService FulfillmentService(integer $id = null) * @method FulfillmentOrder FulfillmentOrder(integer $id = null) * @method GiftCard GiftCard(integer $id = null) @@ -186,6 +188,7 @@ class ShopifySDK 'DiscountCode', 'DraftOrder', 'Event', + 'Fulfillment', 'FulfillmentService', 'FulfillmentOrder', 'GiftCard',