Skip to content

Commit 75e8bd2

Browse files
committed
Added the Metafield to the Location Resource
1 parent ac59e48 commit 75e8bd2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

lib/Location.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99

1010
namespace PHPShopify;
1111

12+
/**
13+
* --------------------------------------------------------------------------
14+
* Inventory -> Child Resources
15+
* --------------------------------------------------------------------------
16+
* @property-read Metafield $Metafield
17+
*
18+
* @method Metafield Metafield(integer $id = null)
19+
*/
1220

1321
class Location extends ShopifyResource
1422
{
@@ -32,5 +40,6 @@ class Location extends ShopifyResource
3240
*/
3341
protected $childResource = array(
3442
'InventoryLevel',
43+
'Metafield',
3544
);
36-
}
45+
}

0 commit comments

Comments
 (0)