Welcome, Guest Login

Support Center

Create PO via API

Last Updated: Mar 01, 2019 05:39PM IST
Description:

The API is to create Purchase order via API in the given facility.

API detail: 
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://uniware.unicommerce.com/services/">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:CreateApprovedPurchaseOrderRequest>
         <!--Optional:-->
         <ser:PurchaseOrderCode>?</ser:PurchaseOrderCode>
         <ser:VendorCode>?</ser:VendorCode>
         <ser:VendorAgreementName>?</ser:VendorAgreementName>
         <!--Optional:-->
         <ser:CurrencyCode>?</ser:CurrencyCode>
         <!--Optional:-->
         <ser:ExpiryDate>?</ser:ExpiryDate>
         <!--Optional:-->
         <ser:DeliveryDate>?</ser:DeliveryDate>
         <ser:PurchaseOrderItems>
            <!--1 or more repetitions:-->
            <ser:PurchaseOrderItem>
               <ser:ItemSKU>?</ser:ItemSKU>
               <ser:Quantity>?</ser:Quantity>
               <ser:UnitPrice>?</ser:UnitPrice>
               <!--Optional:-->
               <ser:MaxRetailPrice>?</ser:MaxRetailPrice>
               <!--Optional:-->
               <ser:Discount>?</ser:Discount> 
               <!--Optional:-->
               <ser:TaxTypeCode>?</ser:TaxTypeCode>
            </ser:PurchaseOrderItem>
         </ser:PurchaseOrderItems>
      </ser:CreateApprovedPurchaseOrderRequest>
   </soapenv:Body>
</soapenv:Envelope>
 


Sample Request:
 
<soapenv:Body>
      <ser:CreateApprovedPurchaseOrderRequest>
         <ser:PurchaseOrderCode>PO000108</ser:PurchaseOrderCode>
         <ser:VendorCode>CMPNY-1008</ser:VendorCode>
         <ser:CurrencyCode>INR</ser:CurrencyCode>
         <ser:ExpiryDate>2015-07-31T05:11:27.239Z</ser:ExpiryDate>
         <ser:DeliveryDate>2015-07-31T05:11:27.239Z</ser:DeliveryDate>
         <ser:PurchaseOrderItems>
            <!--1 or more repetitions:-->
            <ser:PurchaseOrderItem>
               <ser:ItemSKU>CMSA12499-R891F00L</ser:ItemSKU>
               <ser:Quantity>2</ser:Quantity>
               <ser:UnitPrice>300</ser:UnitPrice>
               <ser:TaxTypeCode>12.5</ser:TaxTypeCode>
            </ser:PurchaseOrderItem>
         </ser:PurchaseOrderItems>
      </ser:CreateApprovedPurchaseOrderRequest>
   </soapenv:Body>
</soapenv:Envelope> 
 
 
API Parameter:



Sample response:
 
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <CreateApprovedPurchaseOrderResponse xmlns="http://uniware.unicommerce.com/services/">
         <Successful>true</Successful>
         <PurchaseOrderCode>PO000108</PurchaseOrderCode>
      </CreateApprovedPurchaseOrderResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Contact Us

support@unicommerce.com
http://assets2.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