Commit 2cc2be53 authored by 赵鹏's avatar 赵鹏

推送shopify

parent 4126a96d
......@@ -83,6 +83,7 @@ class ShopifyApp
'Order',
'Event',
'Fulfillment',
'FulfillmentOrders',
'FulfillmentService',
'GraphQL',
];
......@@ -90,6 +91,7 @@ class ShopifyApp
protected $childResources = array(
'Fulfillment' => 'Order',
'FulfillmentEvent' => 'Fulfillment',
'FulfillmentOrders' => 'Order',
'OrderRisk' => 'Order',
'ProductImage' => 'Product',
'ProductVariant' => 'Product',
......
<?php
namespace Meibuyu\Micro\Shopify\lib;
/**
* Class Fulfillment
* @package Meibuyu\Micro\Shopify\lib
*
* @property-read Event $Event
*
* @method Event Event(integer $id = null)
* @method array get() Cancel a fulfillment
*/
class FulfillmentOrders extends AbstractShopify
{
protected $resourceKey = 'fulfillment_order';
protected $childResource = [
'FulfillmentEvent' => 'Event',
];
protected $customPostActions = [
];
}
\ No newline at end of file
......@@ -29,6 +29,7 @@ class Order extends AbstractShopify
protected $childResource = [
'Fulfillment',
'FulfillmentOrders',
'Event',
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment