Skip to main content
Published: October 12 2006, 2:27:00 PMUpdated: July 27 2022, 8:37:29 AM

How do I control the GalleryType setting when listing with ExternalProductID or ProductListingDetails?

Summary

When listing an item using the eBay Catalog feature, special logic exists for the determination of the PictureDetails.GalleryURL setting. The behavior of AddItem and which image is used for Gallery, varies based on the use of the ExternalProductID input, versus the ProductListingDetails container, and the explicit GalleryType setting.  The examples below explain the behavior through examples of various combinations of settings.


Detailed Description

ExternalProductID

When listing with ExternalProductID, the following logic applies:

  • GalleryType = Gallery
    • IncludeStockPhotoURL defaults to True
    • UseStockPhotoURLasGallery defaults to True
    • GalleryURL is StockPhotoURL
  • GalleryType = Gallery AND GalleryURL specified
    • IncludeStockPhotoURL defaults to True
    • UseStockPhotoURLasGallery set to False
    • GalleryURL is user input defined GalleryURL
  • GalleryType = None
    • IncludeStockPhotoURL defaults to True
    • No Gallery

ProductListingDetails.ProductID

  • GalleryType = Gallery and No GalleryURL Specified
    • GalleryURL is StockPhotoURL
    • UseStockPhotoURLasGallery defaults to True
    • IncludeStockPhotoURL is user input value
  • GalleryType = Gallery AND GalleryURL specified
    • GalleryURL is user input defined GalleryURL
    • IncludeStockPhotoURL is user input value
  • GalleryType = None
    • All values set to user defined inputs

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