Welcome, Guest Login

Support Center

Create Reverse Pickup through APIs

Last Updated: Oct 23, 2017 01:38PM IST
                      
Description-
The API enables you to create reverse pickup of the dispatched item from the customer's place.Further you can reship the same or alternate sku while creating the reverse pickup.

API

 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://uniware.unicommerce.com/services/">                                          
   <soapenv:Header/>                                                                           
   <soapenv:Body>
      <ser:CreateReversePickupRequest>
         <ser:SaleOrderCode>?</ser:SaleOrderCode><!--Optional:-->
         <ser:ReversePickupItems>
            <!--1 or more repetitions:-->
            <ser:ReversePickupItem>
               <ser:SaleOrderItemCode>?</ser:SaleOrderItemCode>
               <ser:Reason>?</ser:Reason>
               <!--Optional:-->
               <ser:ReversePickupAlternate>
                  <ser:ItemSku>?</ser:ItemSku>
                  <ser:TotalPrice>?</ser:TotalPrice>
                  <ser:SellingPrice>?</ser:SellingPrice>
                  <!--Optional:-->
                  <ser:Discount>?</ser:Discount>
                  <!--Optional:-->
                  <ser:ShippingCharges>?</ser:ShippingCharges>
                  <!--Optional:-->
                  <ser:PrepaidAmount>?</ser:PrepaidAmount>
               </ser:ReversePickupAlternate>
            </ser:ReversePickupItem>
         </ser:ReversePickupItems>
         <ser:Address id="?">
            <ser:Name>?</ser:Name>
            <ser:AddressLine1>?</ser:AddressLine1>
            <!--Optional:-->
            <ser:AddressLine2>?</ser:AddressLine2>
            <ser:City>?</ser:City>
            <ser:State>?</ser:State>
            <ser:Country>?</ser:Country>
            <ser:Pincode>?</ser:Pincode>
            <ser:Phone>?</ser:Phone>
            <!--Optional:-->
            <ser:Email>?</ser:Email>
         </ser:Address>
         <ser:ActionCode>?</ser:ActionCode>
         <!--Optional:-->
         <ser:CustomFields>
            <!--1 or more repetitions:-->
            <ser:CustomField name="?" value="?"/>
         </ser:CustomFields>
      </ser:CreateReversePickupRequest>
   </soapenv:Body>
</soapenv:Envelope>






Request:
 
<soapenv:Envelope xmlns:ser="http://uniware.unicommerce.com/services/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header>
      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-0ECEFECDE9EEDCDCAA15082363711521">
            <wsse:Username>Your API UserName</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">Your API Password</wsse:Password>
            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">76cAC29K0RtLH8a19pnyNw==</wsse:Nonce>
            <wsu:Created>2017-10-17T10:32:51.149Z</wsu:Created>
         </wsse:UsernameToken>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <ser:CreateReversePickupRequest>
         <ser:SaleOrderCode>SO254</ser:SaleOrderCode>
         <!--Optional:-->
         <ser:ReversePickupItems>
            <!--1 or more repetitions:-->
            <ser:ReversePickupItem>
               <ser:SaleOrderItemCode>Trouser12-4</ser:SaleOrderItemCode>
               <ser:Reason>Damaged Item</ser:Reason>              
            </ser:ReversePickupItem>
         </ser:ReversePickupItems>
         <ser:Address id="1">
            <ser:Name>bhu</ser:Name>
            <ser:AddressLine1>ghy,</ser:AddressLine1>
            <!--Optional:-->
            <ser:City>Delhi</ser:City>
            <ser:State>Delhi</ser:State>
            <ser:Country>IN</ser:Country>
            <ser:Pincode>110020</ser:Pincode>
            <ser:Phone>9876543123</ser:Phone>
            <!--Optional:
            <ser:Email>?</ser:Email>-->
         </ser:Address>
         <ser:ActionCode>WAC</ser:ActionCode>
        
      </ser:CreateReversePickupRequest>
   </soapenv:Body>
</soapenv:Envelope>



Response:
 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <CreateReversePickupResponse xmlns="http://uniware.unicommerce.com/services/">
         <Successful>true</Successful>
         <ReversePickupCode>108</ReversePickupCode>
         <SaleOrderItemCodes>
            <SaleOrderItemCode>Trouser12-4</SaleOrderItemCode>
         </SaleOrderItemCodes>
      </CreateReversePickupResponse>
   </SOAP-ENV:Body>        
</SOAP-ENV:Envelope>



Note:
 Pass the facility code in the url
Example-https://xyz.unicommerce.com:443/services/soap/?version=1.8&facility=warehouse

 

Contact Us

support@unicommerce.com
http://assets1.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete