×

UniCapture Masterclass!

Marketplaces now ask for video proof, join our masterclass to learn how video management helps you resolve claims faster.

🗓️ 6th November 2025 | ⏰ 4:00 PM IST | 💻 Live online session

Save Your Seat
Talk to an Advisor
  1. Home
  2. SOAP API
  3. Create or Edit Vendor Item Type

Create or Edit Vendor Item Type

API Operations

Description:

This API is used to link the Product SKU code with the Vendor SKU code.

The product SKU code is the unique identifier for each product defined in Uniware.

The Vendor SKU code is the vendor’s identification of a particular product.

These two need not be the same every time, so we need to define a mapping between these two entities. This mapping helps in easily identifying the correct items ordered.

API:

<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-1″>

            <wsse:Username>Sandbox</wsse:Username>

            <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>91561781f43921dd2803fa63a7ee5519</wsse:Password>

            <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary”>ZcRyVJhjhD0tD/v4AtjpNg==</wsse:Nonce>

            <wsu:Created>2014-05-15T06:16:17.256Z</wsu:Created>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <ser:CreateOrEditVendorItemTypeRequest>

         <ser:VendorCode>?</ser:VendorCode>

         <ser:ItemSKU>?</ser:ItemSKU>

         <ser:VendorItemSKU>?</ser:VendorItemSKU>

         <ser:UnitPrice>?</ser:UnitPrice>

         <!–Optional:–>

         <ser:Inventory>?</ser:Inventory>

         <!–Optional:–>

         <ser:Priority>?</ser:Priority>

      </ser:CreateOrEditVendorItemTypeRequest>

   </soapenv:Body>

</soapenv:Envelope>

API parameters:

The facility code must be set in the API URL.

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-2″>

            <wsse:Username>ashish1</wsse:Username>

            <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText”>e13cc8cd-17c8-4798-bb7b-2d1335ad92d6</wsse:Password>

            <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary”>gqg0JYy/BOP9zbklxOG7rw==</wsse:Nonce>

            <wsu:Created>2014-05-15T07:03:38.263Z</wsu:Created>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <ser:CreateOrEditVendorItemTypeRequest>

         <ser:VendorCode>IN0022</ser:VendorCode>

         <ser:ItemSKU>PRODCODE006</ser:ItemSKU>

         <ser:VendorItemSKU>hhdaagd</ser:VendorItemSKU>

         <ser:UnitPrice>3000</ser:UnitPrice>

      </ser:CreateOrEditVendorItemTypeRequest>

   </soapenv:Body>

</soapenv:Envelope>

Response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/”>

   <SOAP-ENV:Header/>

   <SOAP-ENV:Body>

      <CreateOrEditVendorItemTypeResponse xmlns=”http://uniware.unicommerce.com/services/”>

         <Successful>true</Successful>

      </CreateOrEditVendorItemTypeResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

The successful=true means a new vendor item type is created successfully.

For editing an existing vendor item type, pass the new Vendor Item SKU for the existing Item SKU code.

Error Codes:

With the tag successful tag=false the system throws an error. The error codes are as defined below:


Go back to API introduction

Next API: Create Or Edit Item Type

Related Articles