InventoryLevel.php 625 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php
/**
 * Created by PhpStorm.
 * User: Zero
 * Date: 2020/9/23
 * Time: 8:58
 */

namespace Meibuyu\Micro\Shopify\lib;

/**
 * Class InventoryLevel
 * @package Meibuyu\Micro\Shopify\lib
 *
 * @method array adjust($data)  Adjust inventory level.
 * @method array connect($data) Connect an inventory item to a location.
 * @method array set($data)     Sets an inventory level for a single inventory item within a location.
 */
class InventoryLevel extends AbstractShopify
{

22
    protected $resourceKey = 'inventory_level';
23 24 25 26 27 28 29 30

    protected $customPostActions = [
        'adjust',
        'connect',
        'set',
    ];

}