| Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-catalog/Test/Mftf/Metadata/ |
| Current File : /var/www/clients/client3/web2/web/vendor/magento/module-catalog/Test/Mftf/Metadata/ProductMeta.xml |
<?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="CreateProduct" dataType="product" type="create" auth="adminOauth" url="/V1/products" method="POST">
<contentType>application/json</contentType>
<object dataType="product" key="product">
<field key="sku">string</field>
<field key="name">string</field>
<field key="attribute_set_id">integer</field>
<field key="price">number</field>
<field key="status">integer</field>
<field key="visibility">integer</field>
<field key="type_id">string</field>
<field key="created_at">string</field>
<field key="updated_at">string</field>
<field key="weight">integer</field>
<field key="extension_attributes">product_extension_attribute</field>
<array key="product_links">
<value>product_link</value>
</array>
<array key="custom_attributes">
<value>custom_attribute_array</value>
</array>
<array key="options">
<value>product_option</value>
</array>
</object>
</operation>
<operation name="UpdateProduct" dataType="product" type="update" auth="adminOauth" url="/V1/products/{sku}" method="PUT">
<contentType>application/json</contentType>
<object dataType="product" key="product">
<field key="id">integer</field>
<field key="sku">string</field>
<field key="name">string</field>
<field key="attribute_set_id">integer</field>
<field key="price">number</field>
<field key="status">integer</field>
<field key="visibility">integer</field>
<field key="type_id">string</field>
<field key="created_at">string</field>
<field key="updated_at">string</field>
<field key="weight">integer</field>
<field key="extension_attributes">product_extension_attribute</field>
<array key="product_links">
<value>product_link</value>
</array>
<array key="custom_attributes">
<value>custom_attribute_array</value>
</array>
<array key="options">
<value>product_option</value>
</array>
</object>
<field key="saveOptions">boolean</field>
</operation>
<operation name="DeleteProduct" dataType="product" type="delete" auth="adminOauth" url="/V1/products/{sku}" method="DELETE">
<contentType>application/json</contentType>
</operation>
<operation name="GetProduct" dataType="product" type="get" auth="adminOauth" url="/V1/products/{sku}" method="GET">
<contentType>application/json</contentType>
</operation>
<operation name="CreateProduct2" dataType="product2" type="create" auth="adminOauth" url="/V1/products" method="POST">
<contentType>application/json</contentType>
<object dataType="product2" key="product">
<field key="sku">string</field>
<field key="name">string</field>
<field key="attribute_set_id">integer</field>
<field key="price">number</field>
<field key="status">integer</field>
<field key="visibility">integer</field>
<field key="type_id">string</field>
<field key="created_at">string</field>
<field key="updated_at">string</field>
<field key="weight">integer</field>
<field key="extension_attributes">product_extension_attribute</field>
<array key="product_links">
<value>product_link</value>
</array>
<array key="custom_attributes">
<value>custom_attribute</value>
</array>
<array key="options">
<value>product_option</value>
</array>
</object>
</operation>
<operation name="UpdateProduct2" dataType="product2" type="update" auth="adminOauth" url="/V1/products/{sku}" method="PUT">
<contentType>application/json</contentType>
<object dataType="product2" key="product">
<field key="id">integer</field>
<field key="sku">string</field>
<field key="name">string</field>
<field key="attribute_set_id">integer</field>
<field key="price">number</field>
<field key="status">integer</field>
<field key="visibility">integer</field>
<field key="type_id">string</field>
<field key="created_at">string</field>
<field key="updated_at">string</field>
<field key="weight">integer</field>
<field key="extension_attributes">product_extension_attribute</field>
<array key="product_links">
<value>product_link</value>
</array>
<array key="custom_attributes">
<value>custom_attribute</value>
</array>
<array key="options">
<value>product_option</value>
</array>
</object>
<field key="saveOptions">boolean</field>
</operation>
<operation name="DeleteProduct2" dataType="product2" type="delete" auth="adminOauth" url="/V1/products/{sku}" method="DELETE">
<contentType>application/json</contentType>
</operation>
<operation name="GetProduct2" dataType="product2" type="get" auth="adminOauth" url="/V1/products/{sku}" method="GET">
<contentType>application/json</contentType>
</operation>
<!-- Data type product3 is to work around MQE-1035 -->
<operation name="CreateProduct3" dataType="product3" type="create" auth="adminOauth" url="/V1/products" method="POST">
<contentType>application/json</contentType>
<object dataType="product3" key="product">
<field key="sku">string</field>
<field key="name">string</field>
<field key="attribute_set_id">integer</field>
<field key="price">number</field>
<field key="status">integer</field>
<field key="visibility">integer</field>
<field key="type_id">string</field>
<field key="created_at">string</field>
<field key="updated_at">string</field>
<field key="weight">integer</field>
<field key="extension_attributes">product_extension_attribute</field>
<array key="product_links">
<value>product_link</value>
</array>
<array key="custom_attributes">
<value>custom_attribute_array</value>
</array>
<array key="options">
<value>product_option</value>
</array>
</object>
</operation>
<!-- Data type product3 is to work around MQE-1035 -->
<operation name="DeleteProduct3" dataType="product3" type="delete" auth="adminOauth" url="/V1/products/{sku}" method="DELETE">
<contentType>application/json</contentType>
</operation>
<operation name="GetProduct3" dataType="product3" type="get" auth="adminOauth" url="/V1/products/{sku}" method="GET">
<contentType>application/json</contentType>
</operation>
</operations>