Skip to content

Commit

Permalink
Merge pull request #269 from nVuln/fulfillment-api
Browse files Browse the repository at this point in the history
Fulfillment 2022-07 API version
  • Loading branch information
tareqtms authored Oct 9, 2022
2 parents f931765 + 4d49e3b commit f2e1428
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Fulfillment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -47,5 +48,6 @@ class Fulfillment extends ShopifyResource
'complete',
'open',
'cancel',
'update_tracking',
);
}
}
3 changes: 3 additions & 0 deletions lib/ShopifySDK.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -186,6 +188,7 @@ class ShopifySDK
'DiscountCode',
'DraftOrder',
'Event',
'Fulfillment',
'FulfillmentService',
'FulfillmentOrder',
'GiftCard',
Expand Down

0 comments on commit f2e1428

Please sign in to comment.