Skip to content

Commit e745ccd

Browse files
committed
[Fixes #78] Get all orders of customer
1 parent 106be89 commit e745ccd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ Some resources are available directly, some resources are only available through
255255
- [Customer](https://help.shopify.com/api/reference/customer/)
256256
- Customer -> [Address](https://help.shopify.com/api/reference/customeraddress/)
257257
- Customer -> [Metafield](https://help.shopify.com/api/reference/metafield)
258+
- Customer -> [Order](https://help.shopify.com/api/reference/order)
258259
- [CustomerSavedSearch](https://help.shopify.com/api/reference/customersavedsearch/)
259260
- CustomerSavedSearch -> [Customer](https://help.shopify.com/api/reference/customer/)
260261
- [Discount](https://help.shopify.com/api/reference/discount) _(Shopify Plus Only)_

lib/Customer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ class Customer extends ShopifyResource
4242
protected $childResource = array(
4343
'CustomerAddress' => 'Address',
4444
'Metafield',
45+
'Order'
4546
);
4647
}

0 commit comments

Comments
 (0)