View Full Version : eBay API Help
kniveswood
Nov 7th 2005, 11:02 pm
I can't seem to get the ShipToLocations data when calling GetItem! Anyone able to help me with this? Some sample code would be great. I'm currently using php, the legacy XML schema, and using eBay's php samples as a starting point and modifying from there. (Not the REST API, as my host doesn't seem to want to install xslt) :(
ozgression
Nov 7th 2005, 11:16 pm
Can you show us an example?
kniveswood
Nov 7th 2005, 11:32 pm
Can you show us an example?
Of course. Attached is a php file, modified from eBay's sample file named apiCallSearchResults.php. It should be very familiar to you if you've also used eBay's php sample.
Other than changing everything from GetSearchResults to GetItem, the few lines of code I added are commented with my nick.
With reference to this page, http://developer.ebay.com/DevZone/docs/API_Doc/Functions/GetItem/GetItemReturnValues.htm, ShipToLocations is just one level below 'Item', I don't understand why it returns datas like CurrentPrice, PictureURL, etc, but not ShipToLocations. And not only this particular data, I believe some others are missing too.
:(
kniveswood
Nov 8th 2005, 6:55 pm
Are there no eBay API pros here? :p
kniveswood
Nov 9th 2005, 8:24 pm
Kisses for whoever that helps me! :eek:
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.