Skip to content

Commit f2e1428

Browse files
authored
Merge pull request #269 from nVuln/fulfillment-api
Fulfillment 2022-07 API version
2 parents f931765 + 4d49e3b commit f2e1428

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/Fulfillment.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @method array complete() Complete a fulfillment
2525
* @method array open() Open a pending fulfillment
2626
* @method array cancel() Cancel a fulfillment
27+
* @method array update_tracking(array $data) Updates the tracking information for a fulfillment.
2728
*
2829
*/
2930
class Fulfillment extends ShopifyResource
@@ -47,5 +48,6 @@ class Fulfillment extends ShopifyResource
4748
'complete',
4849
'open',
4950
'cancel',
51+
'update_tracking',
5052
);
51-
}
53+
}

lib/ShopifySDK.php

+3
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
* @property-read DiscountCode $DiscountCode
8686
* @property-read DraftOrder $DraftOrder
8787
* @property-read Event $Event
88+
* @property-read Fulfillment $Fulfillment
8889
* @property-read FulfillmentService $FulfillmentService
8990
* @property-read GiftCard $GiftCard
9091
* @property-read InventoryItem $InventoryItem
@@ -131,6 +132,7 @@
131132
* @method DraftOrder DraftOrder(integer $id = null)
132133
* @method DiscountCode DiscountCode(integer $id = null)
133134
* @method Event Event(integer $id = null)
135+
* @method Fulfillment Fulfillment(integer $id = null)
134136
* @method FulfillmentService FulfillmentService(integer $id = null)
135137
* @method FulfillmentOrder FulfillmentOrder(integer $id = null)
136138
* @method GiftCard GiftCard(integer $id = null)
@@ -186,6 +188,7 @@ class ShopifySDK
186188
'DiscountCode',
187189
'DraftOrder',
188190
'Event',
191+
'Fulfillment',
189192
'FulfillmentService',
190193
'FulfillmentOrder',
191194
'GiftCard',

0 commit comments

Comments
 (0)