Skip to main content
Published: July 09 2008, 7:10:00 AMUpdated: November 28 2020, 4:17:43 PM

I am getting Error 26 as below when make SetPromotionalSale API call against site 3. What is the problem?

  <?xml version="1.0" encoding="UTF-8" ?>
           <SetPromotionalSaleResponse xmlns="urn:ebay:apis:eBLBaseComponents">
     <T imestamp>2008-07-09T13:56:45.895Z</Timestamp>
    <Ack>Failure</Ack>
      <Errors>
      <ShortMessage>Invalid Site ID.</ShortMessage>
     <LongMessage>The site ID you have entered is invalid.</LongMessage>
     <E rrorCode>26</ErrorCode>
         <SeverityCode>Error</SeverityCode>
     <ErrorClassification>RequestError</ErrorClassification>
  </Errors>
      <Version>571</Version>
     <Build>e571_intl_Bundled_6822429_R1</Build>
  </SetPromotionalSaleResponse

Detailed Description

     Using SetPromotionalSale API, a Store owner can create price discount and/or free shipping sales for many listings at a time, however; Promotional Sale can only be set  from the Site where the store was opened.     

    A seller's store site id can be determined with GetUser API call.

    <?xml version="1.0" encoding="UTF-8" ?> 

 <GetUserResponse xmlns="urn:ebay:apis:eBLBaseComponents">

..         ...   <User>  ...  <SellerInfo>
           ...    <StoreOwner>true</StoreOwner>   ...
          ...  <StoreSite>UK</StoreSite>
     ...  </SellerInfo ...  </User>
</GetUserResponse>

    If the value of StoreSiteID is UK  as above, SetPromotionalSale API can only be called against the SiteID 3 or the call is blocked with Error 26 'Invalid Site ID' .


Additional Info    

API Documentation: SetPromotionalSale

How well did this answer your question?
Answers others found helpful