SynchInventoryItemList Examples


Code samples provided here are generated by our clients and their developers. ChannelAdvisor cannot provide code for API development purposes.

Our documentation is meant to be the final format to be delivered to our API.

If you want to see other developer's code to execute calls, make a request of them on the ChannelAdvisor Google Forum.

Raw XML

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://api.channeladvisor.com/webservices/">
   <soapenv:Header>
      <web:APICredentials>
         <web:DeveloperKey>?</web:DeveloperKey>
         <web:Password>?</web:Password>
      </web:APICredentials>
   </soapenv:Header>
   <soapenv:Body>
      <web:SynchInventoryItemList>
         <web:accountID>?</web:accountID>
         <web:itemList>
            <web:InventoryItemSubmit>
               <web:Sku>?</web:Sku>
               <web:Title>?</web:Title>
               <web:Subtitle>?</web:Subtitle>
               <web:ShortDescription>?</web:ShortDescription>
               <web:Description>?</web:Description>
               <web:Weight>?</web:Weight>
               <web:SupplierCode>?</web:SupplierCode>
               <web:WarehouseLocation>?</web:WarehouseLocation>
               <web:TaxProductCode>?</web:TaxProductCode>
               <web:FlagStyle>?</web:FlagStyle>
               <web:FlagDescription>?</web:FlagDescription>
               <web:IsBlocked>?</web:IsBlocked>
               <web:BlockComment>?</web:BlockComment>
               <web:ASIN>?</web:ASIN>
               <web:ISBN>?</web:ISBN>
               <web:UPC>?</web:UPC>
               <web:MPN>?</web:MPN>
               <web:EAN>?</web:EAN>
               <web:Manufacturer>?</web:Manufacturer>
               <web:Brand>?</web:Brand>
               <web:Condition>?</web:Condition>
               <web:Warranty>?</web:Warranty>
               <web:ProductMargin>?</web:ProductMargin>
               <web:SupplierPO>?</web:SupplierPO>
               <web:HarmonizedCode>?</web:HarmonizedCode>
               <web:Height>?</web:Height>
               <web:Length>?</web:Length>
               <web:Width>?</web:Width>
               <web:Classification>?</web:Classification>
               <web:DistributionCenterList>
                  <web:DistributionCenterInfoSubmit>
                     <web:DistributionCenterCode>?</web:DistributionCenterCode>
                     <web:Quantity>?</web:Quantity>
                     <web:QuantityUpdateType>?</web:QuantityUpdateType>
                     <web:WarehouseLocation>?</web:WarehouseLocation>
                     <web:ReceivedInInventory>?</web:ReceivedInInventory>
                     <web:ShippingRateList>
                        <web:ShippingRateInfo>
                           <web:DestinationZoneName>?</web:DestinationZoneName>
                           <web:CarrierCode>?</web:CarrierCode>
                           <web:ClassCode>?</web:ClassCode>
                           <web:FirstItemRate>?</web:FirstItemRate>
                           <web:AdditionalItemRate>?</web:AdditionalItemRate>
                           <web:FirstItemHandlingRate>?</web:FirstItemHandlingRate>
                           <web:AdditionalItemHandlingRate>?</web:AdditionalItemHandlingRate>
                           <web:FreeShippingIfBuyItNow>?</web:FreeShippingIfBuyItNow>
                           <web:FirstItemRateAttribute>?</web:FirstItemRateAttribute>
                           <web:FirstItemHandlingRateAttribute>?</web:FirstItemHandlingRateAttribute>
                           <web:AdditionalItemRateAttribute>?</web:AdditionalItemRateAttribute>
                           <web:AdditionalItemHandlingRateAttribute>?</web:AdditionalItemHandlingRateAttribute>
                        </web:ShippingRateInfo>
                     </web:ShippingRateList>
                  </web:DistributionCenterInfoSubmit>
               </web:DistributionCenterList>
               <web:PriceInfo>
                  <web:Cost>?</web:Cost>
                  <web:RetailPrice>?</web:RetailPrice>
                  <web:StartingPrice>?</web:StartingPrice>
                  <web:ReservePrice>?</web:ReservePrice>
                  <web:TakeItPrice>?</web:TakeItPrice>
                  <web:SecondChanceOfferPrice>?</web:SecondChanceOfferPrice>
                  <web:StorePrice>?</web:StorePrice>
               </web:PriceInfo>
               <web:AttributeList>
                  <web:AttributeInfo>
                     <web:Name>?</web:Name>
                     <web:Value>?</web:Value>
                  </web:AttributeInfo>
               </web:AttributeList>
               <web:VariationInfo>
                  <web:IsInRelationship>?</web:IsInRelationship>
                  <web:RelationshipName>?</web:RelationshipName>
                  <web:IsParent>?</web:IsParent>
                  <web:ParentSku>?</web:ParentSku>
               </web:VariationInfo>
               <web:StoreInfo>
                  <web:DisplayInStore>?</web:DisplayInStore>
                  <web:Title>?</web:Title>
                  <web:Description>?</web:Description>
                  <web:CategoryID>?</web:CategoryID>
               </web:StoreInfo>
               <web:ImageList>
                  <web:ImageInfoSubmit>
                     <web:PlacementName>?</web:PlacementName>
                     <web:FolderName>?</web:FolderName>
                     <web:FilenameOrUrl>?</web:FilenameOrUrl>
                  </web:ImageInfoSubmit>
               </web:ImageList>
               <web:LabelList>
                  <web:string>?</web:string>
               </web:LabelList>
               <web:MetaDescription>?</web:MetaDescription>
            </web:InventoryItemSubmit>
         </web:itemList>
      </web:SynchInventoryItemList>
   </soapenv:Body>
</soapenv:Envelope>

Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SynchInventoryItemListResponse xmlns="http://api.channeladvisor.com/webservices/">
         <SynchInventoryItemListResult>
            <Status>Success</Status>
            <MessageCode>0</MessageCode>
            <ResultData>
               <SynchInventoryItemResponse>
                  <Sku>Sku1</Sku>
                  <Result>true</Result>
                  <ErrorMessage></ErrorMessage>
               </SynchInventoryItemResponse>
               <SynchInventoryItemResponse>
                  <Sku>Sku2</Sku>
                  <Result>true</Result>
                  <ErrorMessage></ErrorMessage>
               </SynchInventoryItemResponse>
            </ResultData>
         </SynchInventoryItemListResult>
      </SynchInventoryItemListResponse>
   </soap:Body>
</soap:Envelope>