Skip to content

Commit b2c298d

Browse files
committed
add Fulfillment as child resource of FulfillmentOrder
1 parent aa35f44 commit b2c298d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/FulfillmentOrder.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?php
22
/**
3-
* Created by PhpStorm.
4-
* @author Mark Solly <[email protected]>
5-
* Created at 5/21/21 11:27 AM UTC+10:00
63
*
74
* @see https://shopify.dev/docs/admin-api/rest/reference/shipping-and-fulfillment/fulfillmentorder Shopify API Reference for Fulfillment Order
85
*/
@@ -15,6 +12,7 @@
1512
* FulfillmentOrder -> Child Resources
1613
* --------------------------------------------------------------------------
1714
* @property-read FulfillmentRequest $FulfillmentRequest
15+
* @property-read Fulfillment $Fulfillment
1816
*
1917
* --------------------------------------------------------------------------
2018
* Fulfillment -> Custom actions
@@ -38,7 +36,8 @@ class FulfillmentOrder extends ShopifyResource
3836
* @inheritDoc
3937
*/
4038
protected $childResource = array (
41-
'FulfillmentRequest'
39+
'FulfillmentRequest',
40+
'Fulfillment'
4241
);
4342

4443
/**

0 commit comments

Comments
 (0)