Magento 2 | SOAP apiMagento SOAP (v1) API causes fatal error getSelect() after completed orderHow can i rewrite TierPrice Block in Magento2Magento 2 SOAP api not workingMagento 2 Rest Api get Products List including qty fieldMagento 2 SOAP API ERRORMagento 2 SOAP API Questioncreate soap api in an existing custom moduleGET products for my cart with customer tokenmagento 1.9 soap api errorMagento 2 API add item to Cart ignore price
Java guess the number
Does there exist a word to express a male who behaves as a female?
What is the purpose of building foundations?
Subtables with equal width?
Do any instruments not produce overtones?
Secure offsite backup, even in the case of hacker root access
What's the correct term for a waitress in the Middle Ages?
Can you really not move between grapples/shoves?
What are the words for people who cause trouble believing they know better?
Bent spoke design wheels — feasible?
Approximate solutions to non polynomial equations
Movie about a boy who was born old and grew young
Do simulator games use a realistic trajectory to get into orbit?
Etymology of 'calcit(r)are'?
Average spam confidence
Do the English have an ancient (obsolete) verb for the action of the book opening?
Why is the application of an oracle function not a measurement?
Turing patterns
How to retract the pitched idea from employer?
Select items in a list that contain criteria
Proof that shortest path with negative cycles is NP hard
Are there any existing monsters I can use as a basis for a baby skeleton statblock?
Why is the relationship between frequency and pitch exponential?
Pushout commutative diagram
Magento 2 | SOAP api
Magento SOAP (v1) API causes fatal error getSelect() after completed orderHow can i rewrite TierPrice Block in Magento2Magento 2 SOAP api not workingMagento 2 Rest Api get Products List including qty fieldMagento 2 SOAP API ERRORMagento 2 SOAP API Questioncreate soap api in an existing custom moduleGET products for my cart with customer tokenmagento 1.9 soap api errorMagento 2 API add item to Cart ignore price
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have created an API in Magento 2.3 to update the product qty in bulk. The functionality is working fine, when we execute the API using the $soapClient = new SoapClient($wsdlUrl, ['version' => SOAP_1_2, 'stream_context' => $context]);
But when I try to execute the SOAP API using POSTMAN it showing the error ** GenericFaultParameter **
The request body is below:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://magento.local/soap/default?wsdl&services=namespaceProductProductUpdateManagementV1">
<soap:Header/>
<soap:Body>
<def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
<products>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB01</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB04</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-WB04</sku>
</item>
</products>
</def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
</soap:Body>
</soap:Envelope>
The returned error is
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="MagentoWSDL" targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<types>
<xsd:schema targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<xsd:element name="GenericFault" type="tns:GenericFault"/>
<xsd:complexType name="GenericFaultParameter">
<xsd:sequence>
<xsd:element name="key" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfGenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An array of GenericFaultParameter items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:GenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfGenericFaultParameter.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WrappedError">
<xsd:sequence>
<xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Message parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfWrappedError">
<xsd:annotation>
<xsd:documentation>An array of WrappedError items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:WrappedError">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfWrappedError.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GenericFault">
<xsd:sequence>
<xsd:element name="Trace" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Exception calls stack trace.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional exception parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="WrappedErrors" type="tns:ArrayOfWrappedError" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional wrapped errors.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FrameworkDataImageContentInterface">
<xsd:annotation>
<xsd:documentation>Image Content data interface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="base64EncodedData" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Media data (base64 encoded content)</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>MIME type</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Image name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataRegionInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Customer address region interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="regionCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="1" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfString">
<xsd:annotation>
<xsd:documentation>An array of string items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:string">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfString.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataAddressInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>Interface for custom attribute value.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="attributeCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Attribute code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:anyType">
<xsd:annotation>
<xsd:documentation>Attribute value</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfFrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An array of FrameworkAttributeInterface items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfFrameworkAttributeInterface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressInterface">
<xsd:annotation>
<xsd:documentation>Customer address interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="customerId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Customer ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="countryId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Country code in ISO_3166-2 format</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="street" type="tns:ArrayOfString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Street</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="company" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Company</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="telephone" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Telephone number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="fax" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Fax number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="postcode" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Postcode</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="city" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>City name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="firstname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>First name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="lastname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Last name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="middlename" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Middle name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="prefix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Prefix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="suffix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Suffix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="vatId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Vat id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultShipping" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default shipping address.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultBilling" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default billing address</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="customAttributes" type="tns:ArrayOfFrameworkAttributeInterface" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Custom attributes values.</xsd:documentation>
.....
.....
.....
</definitions>
magento2 magento2.3 soap soap-api-v1 qty
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have created an API in Magento 2.3 to update the product qty in bulk. The functionality is working fine, when we execute the API using the $soapClient = new SoapClient($wsdlUrl, ['version' => SOAP_1_2, 'stream_context' => $context]);
But when I try to execute the SOAP API using POSTMAN it showing the error ** GenericFaultParameter **
The request body is below:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://magento.local/soap/default?wsdl&services=namespaceProductProductUpdateManagementV1">
<soap:Header/>
<soap:Body>
<def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
<products>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB01</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB04</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-WB04</sku>
</item>
</products>
</def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
</soap:Body>
</soap:Envelope>
The returned error is
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="MagentoWSDL" targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<types>
<xsd:schema targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<xsd:element name="GenericFault" type="tns:GenericFault"/>
<xsd:complexType name="GenericFaultParameter">
<xsd:sequence>
<xsd:element name="key" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfGenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An array of GenericFaultParameter items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:GenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfGenericFaultParameter.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WrappedError">
<xsd:sequence>
<xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Message parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfWrappedError">
<xsd:annotation>
<xsd:documentation>An array of WrappedError items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:WrappedError">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfWrappedError.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GenericFault">
<xsd:sequence>
<xsd:element name="Trace" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Exception calls stack trace.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional exception parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="WrappedErrors" type="tns:ArrayOfWrappedError" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional wrapped errors.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FrameworkDataImageContentInterface">
<xsd:annotation>
<xsd:documentation>Image Content data interface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="base64EncodedData" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Media data (base64 encoded content)</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>MIME type</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Image name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataRegionInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Customer address region interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="regionCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="1" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfString">
<xsd:annotation>
<xsd:documentation>An array of string items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:string">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfString.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataAddressInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>Interface for custom attribute value.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="attributeCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Attribute code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:anyType">
<xsd:annotation>
<xsd:documentation>Attribute value</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfFrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An array of FrameworkAttributeInterface items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfFrameworkAttributeInterface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressInterface">
<xsd:annotation>
<xsd:documentation>Customer address interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="customerId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Customer ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="countryId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Country code in ISO_3166-2 format</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="street" type="tns:ArrayOfString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Street</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="company" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Company</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="telephone" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Telephone number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="fax" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Fax number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="postcode" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Postcode</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="city" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>City name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="firstname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>First name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="lastname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Last name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="middlename" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Middle name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="prefix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Prefix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="suffix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Suffix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="vatId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Vat id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultShipping" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default shipping address.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultBilling" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default billing address</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="customAttributes" type="tns:ArrayOfFrameworkAttributeInterface" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Custom attributes values.</xsd:documentation>
.....
.....
.....
</definitions>
magento2 magento2.3 soap soap-api-v1 qty
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have created an API in Magento 2.3 to update the product qty in bulk. The functionality is working fine, when we execute the API using the $soapClient = new SoapClient($wsdlUrl, ['version' => SOAP_1_2, 'stream_context' => $context]);
But when I try to execute the SOAP API using POSTMAN it showing the error ** GenericFaultParameter **
The request body is below:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://magento.local/soap/default?wsdl&services=namespaceProductProductUpdateManagementV1">
<soap:Header/>
<soap:Body>
<def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
<products>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB01</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB04</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-WB04</sku>
</item>
</products>
</def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
</soap:Body>
</soap:Envelope>
The returned error is
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="MagentoWSDL" targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<types>
<xsd:schema targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<xsd:element name="GenericFault" type="tns:GenericFault"/>
<xsd:complexType name="GenericFaultParameter">
<xsd:sequence>
<xsd:element name="key" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfGenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An array of GenericFaultParameter items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:GenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfGenericFaultParameter.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WrappedError">
<xsd:sequence>
<xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Message parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfWrappedError">
<xsd:annotation>
<xsd:documentation>An array of WrappedError items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:WrappedError">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfWrappedError.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GenericFault">
<xsd:sequence>
<xsd:element name="Trace" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Exception calls stack trace.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional exception parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="WrappedErrors" type="tns:ArrayOfWrappedError" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional wrapped errors.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FrameworkDataImageContentInterface">
<xsd:annotation>
<xsd:documentation>Image Content data interface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="base64EncodedData" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Media data (base64 encoded content)</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>MIME type</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Image name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataRegionInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Customer address region interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="regionCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="1" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfString">
<xsd:annotation>
<xsd:documentation>An array of string items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:string">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfString.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataAddressInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>Interface for custom attribute value.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="attributeCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Attribute code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:anyType">
<xsd:annotation>
<xsd:documentation>Attribute value</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfFrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An array of FrameworkAttributeInterface items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfFrameworkAttributeInterface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressInterface">
<xsd:annotation>
<xsd:documentation>Customer address interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="customerId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Customer ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="countryId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Country code in ISO_3166-2 format</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="street" type="tns:ArrayOfString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Street</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="company" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Company</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="telephone" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Telephone number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="fax" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Fax number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="postcode" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Postcode</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="city" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>City name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="firstname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>First name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="lastname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Last name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="middlename" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Middle name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="prefix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Prefix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="suffix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Suffix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="vatId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Vat id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultShipping" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default shipping address.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultBilling" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default billing address</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="customAttributes" type="tns:ArrayOfFrameworkAttributeInterface" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Custom attributes values.</xsd:documentation>
.....
.....
.....
</definitions>
magento2 magento2.3 soap soap-api-v1 qty
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have created an API in Magento 2.3 to update the product qty in bulk. The functionality is working fine, when we execute the API using the $soapClient = new SoapClient($wsdlUrl, ['version' => SOAP_1_2, 'stream_context' => $context]);
But when I try to execute the SOAP API using POSTMAN it showing the error ** GenericFaultParameter **
The request body is below:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:def="http://magento.local/soap/default?wsdl&services=namespaceProductProductUpdateManagementV1">
<soap:Header/>
<soap:Body>
<def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
<products>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB01</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-MB04</sku>
</item>
<item>
<qty>30</qty>
<storeId>0</storeId>
<sku>24-WB04</sku>
</item>
</products>
</def:namespaceProductProductUpdateManagementV1UpdateProductRequest>
</soap:Body>
</soap:Envelope>
The returned error is
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" name="MagentoWSDL" targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<types>
<xsd:schema targetNamespace="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<xsd:element name="GenericFault" type="tns:GenericFault"/>
<xsd:complexType name="GenericFaultParameter">
<xsd:sequence>
<xsd:element name="key" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfGenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An array of GenericFaultParameter items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:GenericFaultParameter">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfGenericFaultParameter.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="WrappedError">
<xsd:sequence>
<xsd:element name="message" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation></xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Message parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfWrappedError">
<xsd:annotation>
<xsd:documentation>An array of WrappedError items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:WrappedError">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfWrappedError.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="GenericFault">
<xsd:sequence>
<xsd:element name="Trace" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Exception calls stack trace.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="Parameters" type="tns:ArrayOfGenericFaultParameter" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional exception parameters.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="WrappedErrors" type="tns:ArrayOfWrappedError" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Additional wrapped errors.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="FrameworkDataImageContentInterface">
<xsd:annotation>
<xsd:documentation>Image Content data interface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="base64EncodedData" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Media data (base64 encoded content)</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="type" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>MIME type</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Image name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataRegionInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Customer address region interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="regionCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="1" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfString">
<xsd:annotation>
<xsd:documentation>An array of string items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:string">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfString.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>ExtensionInterface class for @see MagentoCustomerApiDataAddressInterface</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:complexType>
<xsd:complexType name="FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>Interface for custom attribute value.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="attributeCode" minOccurs="1" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Attribute code</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" minOccurs="1" maxOccurs="1" type="xsd:anyType">
<xsd:annotation>
<xsd:documentation>Attribute value</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ArrayOfFrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An array of FrameworkAttributeInterface items.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:FrameworkAttributeInterface">
<xsd:annotation>
<xsd:documentation>An item of ArrayOfFrameworkAttributeInterface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="CustomerDataAddressInterface">
<xsd:annotation>
<xsd:documentation>Customer address interface.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="customerId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Customer ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="region" minOccurs="0" maxOccurs="1" type="tns:CustomerDataRegionInterface">
<xsd:annotation>
<xsd:documentation>Region</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="regionId" minOccurs="0" maxOccurs="1" type="xsd:int">
<xsd:annotation>
<xsd:documentation>Region ID</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:min/>
<inf:max/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="countryId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Country code in ISO_3166-2 format</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="street" type="tns:ArrayOfString" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Street</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:natureOfType>array</inf:natureOfType>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="company" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Company</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="telephone" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Telephone number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="fax" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Fax number</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="postcode" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Postcode</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="city" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>City name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="firstname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>First name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="lastname" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Last name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="middlename" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Middle name</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="prefix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Prefix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="suffix" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Suffix</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="vatId" minOccurs="0" maxOccurs="1" type="xsd:string">
<xsd:annotation>
<xsd:documentation>Vat id</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:maxLength/>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultShipping" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default shipping address.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="defaultBilling" minOccurs="0" maxOccurs="1" type="xsd:boolean">
<xsd:annotation>
<xsd:documentation>If this address is default billing address</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1">
<inf:default>false</inf:default>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="extensionAttributes" minOccurs="0" maxOccurs="1" type="tns:CustomerDataAddressExtensionInterface">
<xsd:annotation>
<xsd:documentation>Existing extension attributes object or create a new one.</xsd:documentation>
<xsd:appinfo xmlns:inf="http://magento.local/soap/default?services=namespaceProductProductUpdateManagementV1"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="customAttributes" type="tns:ArrayOfFrameworkAttributeInterface" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Custom attributes values.</xsd:documentation>
.....
.....
.....
</definitions>
magento2 magento2.3 soap soap-api-v1 qty
magento2 magento2.3 soap soap-api-v1 qty
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited May 30 at 6:06
Muhammad Wasif
14811
14811
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked May 28 at 15:42
Ciril NelsonCiril Nelson
1
1
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Ciril Nelson is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Ciril Nelson is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276443%2fmagento-2-soap-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ciril Nelson is a new contributor. Be nice, and check out our Code of Conduct.
Ciril Nelson is a new contributor. Be nice, and check out our Code of Conduct.
Ciril Nelson is a new contributor. Be nice, and check out our Code of Conduct.
Ciril Nelson is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f276443%2fmagento-2-soap-api%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown