davidtsadler / ebay-sdk-examples

Several examples of using the eBay SDK for PHP
http://devbay.net
Apache License 2.0
184 stars 100 forks source link

Example of how to manipulate DetailLevel to get Item pictures #37

Closed thiagomarini closed 7 years ago

thiagomarini commented 7 years ago

Hi there!

It would be great if you could add an example of how to include items pictures when listing my Ebay selling.

https://github.com/davidtsadler/ebay-sdk-examples/blob/master/trading/11-get-my-ebay-selling.php

Thanks

davidtsadler commented 7 years ago

DetailLevel can be specified as follows.

$request->DetailLevel = ['ReturnAll', 'ItemReturnDescription']

It takes an array of values that can be found in the eBay documentation. The values you choose will be dependant upon what you want returned in the response. The documentation of the API calls will tell you for which value of DetailLevel a particular field will be returned for.