Your IP : 216.73.216.220


Current Path : /home/rtorresani/www/vendor/magento/module-inventory-catalog-api/Api/
Upload File :
Current File : //home/rtorresani/www/vendor/magento/module-inventory-catalog-api/Api/BulkSourceAssignInterface.php

<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
declare(strict_types=1);

namespace Magento\InventoryCatalogApi\Api;

/**
 * Perform bulk product source assignment
 *
 * @api
 */
interface BulkSourceAssignInterface
{
    /**
     * Run mass product to source assignment
     * @param string[] $skus
     * @param string[] $sourceCodes
     * @return int
     * @throws \Magento\Framework\Validation\ValidationException
     */
    public function execute(array $skus, array $sourceCodes): int;
}