CreateRefundVoucher


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cdis="http://www.cdiscount.com" xmlns:cdis1="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages" xmlns:sys="http://schemas.datacontract.org/2004/07/System.Device.Location">
   <soapenv:Header/>
   <soapenv:Body>
      <cdis:CreateRefundVoucher>
         <!--Optional:-->
         <cdis:headerMessage>
            <cdis1:Context>
               <!--Optional:-->
               <cdis1:CatalogID>1</cdis1:CatalogID>
               <cdis1:CustomerPoolID>1</cdis1:CustomerPoolID>
               <cdis1:SiteID>100</cdis1:SiteID>
            </cdis1:Context>
            <cdis1:Localization>
               <!--Optional:-->
               <cdis1:Country>Fr</cdis1:Country>
               <!--Optional:-->
               <cdis1:Currency>Eur</cdis1:Currency>
               <!--Optional:-->
               <cdis1:DecimalPosition>2</cdis1:DecimalPosition>
               <!--Optional:-->
               <cdis1:Language>Fr</cdis1:Language>
            </cdis1:Localization>
            <!--Optional:-->
            <cdis1:Security>
			<cdis1:DomainRightsList xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
               <cdis1:IssuerID xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
               <cdis1:SessionID xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
               <cdis1:SubjectLocality xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               </cdis1:SubjectLocality>
               <cdis1:TokenId>TokenId</cdis1:TokenId>
               <cdis1:UserName>UserName</cdis1:UserName>
            </cdis1:Security>
            <cdis1:Version>1.0</cdis1:Version>
         </cdis:headerMessage>
         <!--Optional:-->
         <cdis:request>
            <!--Optional: Use the below tag only in the case you want to make a commercial gesture to your client, can be used regardless of the SellerRefundList tag -->
            <cdis:CommercialGestureList>
               <!--Zero or more repetitions:-->
               <cdis:RefundInformation>
                  <cdis:Amount>10</cdis:Amount>
                  <cdis:MotiveId>132</cdis:MotiveId>
               </cdis:RefundInformation>
            </cdis:CommercialGestureList>
            <cdis:OrderNumber>1510211035PIKEI</cdis:OrderNumber>
            <!--Optional: Use the below tag only in the case you want to refund a product, can be used regardless of the CommercialGestureList tag -->
            <cdis:SellerRefundList>
               <!--Zero or more repetitions:-->
               <cdis:SellerRefundRequest>
                  <!--Optional:-->
                  <cdis:Mode>Claim</cdis:Mode>
                  <!--Optional:-->
                  <cdis:Motive>VendorRejection</cdis:Motive>
                  <cdis:RefundOrderLine>
                     <!--Optional:-->
                     <cdis:Ean>4005274238223</cdis:Ean>
                     <!--Optional:-->
                     <cdis:RefundShippingCharges>true</cdis:RefundShippingCharges>
                     <cdis:SellerProductId>42382235</cdis:SellerProductId>
                  </cdis:RefundOrderLine>
               </cdis:SellerRefundRequest>
             </cdis:SellerRefundList>
         </cdis:request>
      </cdis:CreateRefundVoucher>
   </soapenv:Body>
</soapenv:Envelope>

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <CreateRefundVoucherResponse xmlns="http://www.cdiscount.com">
         <CreateRefundVoucherResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages"/>
            <OperationSuccess xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages">true</OperationSuccess>
            <CommercialGestureList>
               <RefundInformationMessage>
                  <ErrorMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages"/>
                  <OperationSuccess xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages">true</OperationSuccess>
                  <Amount>10</Amount>
                  <MotiveId>132</MotiveId>
               </RefundInformationMessage>
            </CommercialGestureList>
            <OrderNumber>1510211035PIKEI</OrderNumber>
            <SellerRefundList>
               <SellerRefundResult>
                  <ErrorMessage i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages"/>
                  <OperationSuccess xmlns="http://schemas.datacontract.org/2004/07/Cdiscount.Framework.Core.Communication.Messages">true</OperationSuccess>
                  <Ean>4005274238223</Ean>
                  <Motive>VendorRejection</Motive>
                  <SellerProductId>42382235</SellerProductId>
                  <Value>39.99</Value>
               </SellerRefundResult>
            </SellerRefundList>
         </CreateRefundVoucherResult>
      </CreateRefundVoucherResponse>
   </s:Body>
</s:Envelope>