Dashboard > ChannelAdvisor Developer Network > ... > Inventory Service Examples > SynchInventoryItemList Examples
Log In   View a printable version of the current page.
SynchInventoryItemList Examples
Added by Andy Berryman, last edited by Andy Berryman on Jan 31, 2008  (view change)
Labels: 
(None)




Raw Xml 

NOTE: Nodes in RED are "optional" and can be omitted if not needed.

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://api.channeladvisor.com/webservices/">
   <soapenv:Header>
      <web:APICredentials>
         <web:DeveloperKey>XXX</web:DeveloperKey>
         <web:Password>XXX</web:Password>
      </web:APICredentials>
   </soapenv:Header>
   <soapenv:Body>
      <web:SynchInventoryItemList>
         <web:accountID>XXX</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:QuantityInfo>
                  <web:UpdateType></web:UpdateType>
                  <web:Total></web:Total>
               </web:QuantityInfo>
               <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:ClassificationInfo>
                  <web:Name></web:Name>
                  <web:AttributeList>
                     <web:ClassificationAttributeInfo>
                        <web:Name></web:Name>
                        <web:Value></web:Value>
                     </web:ClassificationAttributeInfo>
                     <web:ClassificationAttributeInfo>
                        <web:Name></web:Name>
                        <web:Value></web:Value>
                     </web:ClassificationAttributeInfo>
                  </web:AttributeList>
               </web:ClassificationInfo>
               <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:ImageInfoSubmit>
                     <web:PlacementName></web:PlacementName>
                     <web:FolderName></web:FolderName>
                     <web:FilenameOrUrl></web:FilenameOrUrl>
                  </web:ImageInfoSubmit>
               </web:ImageList>
               <web:ShippingInfo>
                  <web:DistributionCenterCode></web:DistributionCenterCode>
                  <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:AdditionalItemRateAttribute></web:AdditionalItemRateAttribute>
                     </web:ShippingRateInfo>
                     <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:AdditionalItemRateAttribute></web:AdditionalItemRateAttribute>
                     </web:ShippingRateInfo>
                  </web:ShippingRateList>
               </web:ShippingInfo>
            </web:InventoryItemSubmit>
            <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:QuantityInfo>
                  <web:UpdateType></web:UpdateType>
                  <web:Total></web:Total>
               </web:QuantityInfo>
               <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:ClassificationInfo>
                  <web:Name></web:Name>
                  <web:AttributeList>
                     <web:ClassificationAttributeInfo>
                        <web:Name></web:Name>
                        <web:Value></web:Value>
                     </web:ClassificationAttributeInfo>
                     <web:ClassificationAttributeInfo>
                        <web:Name></web:Name>
                        <web:Value></web:Value>
                     </web:ClassificationAttributeInfo>
                  </web:AttributeList>
               </web:ClassificationInfo>
               <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:ImageInfoSubmit>
                     <web:PlacementName></web:PlacementName>
                     <web:FolderName></web:FolderName>
                     <web:FilenameOrUrl></web:FilenameOrUrl>
                  </web:ImageInfoSubmit>
               </web:ImageList>
               <web:ShippingInfo>
                  <web:DistributionCenterCode></web:DistributionCenterCode>
                  <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:AdditionalItemRateAttribute></web:AdditionalItemRateAttribute>
                     </web:ShippingRateInfo>
                     <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:AdditionalItemRateAttribute></web:AdditionalItemRateAttribute>
                     </web:ShippingRateInfo>
                  </web:ShippingRateList>
               </web:ShippingInfo>
            </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>

Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.1 Build:#806 May 06, 2007) - Bug/feature request - Contact Administrators