eBay API ShipToLocations help

Discussion in 'Commission Junction' started by LongHaul, Mar 11, 2008.

  1. #1
    When I make a call to eBay's shopping API, I get <ShipToLocations> which is supposed to be a list of places the seller will ship to. But I always only get one place - usually GB, US or AU. But when I look at the eBay listing page, it is N. America or Worldwide shipping.

    I can't look up eBay's documentation because developer.ebay.com is down.

    Can anyone shed some light on this? I'm using API version 549. I don't understand why only one ShipToLocations is being returned.
     
    LongHaul, Mar 11, 2008 IP
  2. mrmonster

    mrmonster Active Member

    Messages:
    374
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Might be silly but ShipToLocations should contain multiple child nodes, like an array, for each shippable location.


    <ShipToLocations>
    <location>GB</location>
    <location>US</location>
    <location>Canada</location>
    </ShipToLocations>


    ^ Just an example, not sure exactly of the node names.


    Edit.

    Never mind, I just googled and it seems like there are multiple ShipToLocations in the API, weird, sorry :)
     
    mrmonster, Mar 11, 2008 IP
  3. LongHaul

    LongHaul Peon

    Messages:
    670
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Actually, I was using in a FindItemsAdvanced call and it wasn't working. The documentation says this is ok, but I did it in a GetSingleItem call instead and it worked fine. Strange, but whatever. I'm very fortunate that that happened to be workable in my example.

    But the real lesson for me here was: when developer.ebay.com goes down, go to Google cache!
     
    LongHaul, Mar 11, 2008 IP