![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/magento/module-inventory-admin-ui/Test/Mftf/Metadata/ |
<?xml version="1.0" encoding="UTF-8"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <operations xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataOperation.xsd"> <operation name="CreateStock" dataType="stock" type="create" auth="adminOauth" url="/V1/inventory/stocks" method="POST"> <contentType>application/json</contentType> <object dataType="stock" key="stock"> <field key="id">integer</field> <field key="stock_id">integer</field> <field key="name">string</field> <object dataType="stock_extension_attribute" key="extension_attributes"> <array key="sales_channels"> <object dataType="sales_channel"> <field key="type">string</field> <field key="code">string</field> </object> </array> </object> </object> </operation> <operation name="DeleteStock" dataType="stock" type="delete" auth="adminOauth" url="/V1/inventory/stocks/{return}" method="DELETE"> <contentType>application/json</contentType> </operation> </operations>