02-08-2024 04:31 AM
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.
02-13-2024 02:47 PM
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.
02-13-2024 03:04 PM
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>