cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create Listing on Sandbox API with Images

Is it possible to create sandbox listings with images? The XML payload I'm testing has <PictureDetails> defined both for the listing and variations and I'm sure the image url I'm using is correct but no matter what I try I can't see the images on the sandbox listing. 

Message 1 of 3
latest reply
2 REPLIES 2

Create Listing on Sandbox API with Images

Hi @xbox_best 

 

When creating a new listing, the following Item.PictureDetails fields are used to add one or more pictures to a listing:

Picture hosting Guide: https://developer.ebay.com/api-docs/user-guides/static/trading-user-guide/picture-hosting.html

 

After successfully listing the item, you should be getting the ItemID/listingId for the listing. In the Item View Page URL: https://sandbox.ebay.com/itm/ENTER_ItemID_HERE, replace the ENTER_ItemID_HERE with the ItemID/listingId to see the item view page on Sandbox.

Best Regards,
eBay Developer Support
Message 2 of 3
latest reply

Create Listing on Sandbox API with Images

@xbox_best 

 

More specifically, are you adding the image URL to the correct container?

The GalleryType can be omitted if not relevant, but the PictureURL is where you would add the URL of your hosted image.

    <PictureDetails> PictureDetailsType
      <GalleryType> GalleryTypeCodeType </GalleryType>
      <PictureURL> anyURI </PictureURL>
      <!-- ... more PictureURL values allowed here ... -->
    </PictureDetails>

 

 

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 3 of 3
latest reply