question

bless_10 avatar image
0 Likes"
bless_10 asked

how to get sku from getsellerlist

Am trying to get sku from Selling api getsellerlist,but am getting other details of product except SKU. My Resuest to getsellerlist as, en_US High Coarse 2016-11-01T00:00:00+00:00 2016-12-09T04:21:42+00:00 true 2 I am getting response as, 2016-12-09T07:24:36.391Z Success 989 E989_CORE_API_18131074_R1 4 7 true false ItemIneligible US USD 0 NoHitCounter 110186534974 2016-11-29T04:44:12.000Z 2016-12-06T04:44:12.000Z http://cgi.sandbox.ebay.com/Harry-Potter-and-Philosophers-Stone-/110186534974 false false http://cgi.sandbox.ebay.com/Harry-Potter-and-Philosophers-Stone-/110186534974 Days_7 San Jose, California 171228 Books:Fiction & Literature 1 false 0 0.25 1.0 1.0 1.0 0 false Ended 0 0 US US PT0S 0 true false 95125 None false 20000.0 MoneyBack Money Back Days_30 30 Days ReturnsAccepted Returns Accepted If you are not satisfied, return the book for refund. Buyer Buyer No NoRestockingFee eBayMotors CanadaFrench Canada US 1000 Brand New false false false false false ItemIneligible US USD 0 NoHitCounter 110186534975 2016-11-29T04:44:44.000Z 2016-12-06T04:44:44.000Z http://cgi.sandbox.ebay.com/Harry-Potter-and-Philosophers-Stone-/110186534975 false false http://cgi.sandbox.ebay.com/Harry-Potter-and-Philosophers-Stone-/110186534975 Days_7 San Jose, California 171228 Books:Fiction & Literature 1 false 0 0.25 1.0 1.0 1.0 0 false Ended 0 0 US US PT0S 0 true false 95125 None false 20000.0 MoneyBack Money Back Days_30 30 Days ReturnsAccepted Returns Accepted If you are not satisfied, return the book for refund. Buyer Buyer No NoRestockingFee eBayMotors CanadaFrench Canada US 1000 Brand New false true DuplicateListing false false 2 1 2
getsellerlistskuhelp requiredseller list
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

davidtsadler avatar image
0 Likes"
davidtsadler answered
By default not all information about an item is returned. The documentation for the [SKU field]( http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetSellerList.html#Response.ItemArray.Item.SKU) tells you that you need to set *DetailLevel* to either *ItemReturnDescription* or *ReturnAll* for the information to be returned. At list of which fields will be returned for each value of DetailLevel is also [available]( http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/GetSellerList.html#DetailLevel).
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

bless_10 avatar image
0 Likes"
bless_10 answered
hello thank you @davidtsadler for replying to my query . Even i have tried this code also, $requestXmlBody =' '.$usertok_id.' en_US High Coarse ReturnAll '.$StartTimeFr.' '.$StartTimeTo.' true '.$EntriesPerPage.' ItemArray.Item.ItemID ItemArray.Item.Quantity ItemArray.Item.SKU ItemArray.Item.Title ItemArray.Item.PrimaryCategory.CategoryID ItemArray.Item.PrimaryCategory.CategoryName '; but still am not getting SKU, am getting response as, Array ( [Timestamp] => 2016-12-12T05:16:25.332Z [Ack] => Success [Version] => 967 [Build] => E967_CORE_APISELLING_17965876_R1 [ItemArray] => Array ( [Item] => Array ( [ItemID] => 182364428691 [PrimaryCategory] => Array ( [CategoryID] => 2228 [CategoryName] => Books:Textbooks, Education ) [Quantity] => 1 [Title] => A History of the Roman People by Allen M. Ward, Cedric A. Yeo and Fritz M.... ) ) ) plz help me
· 1
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi bless_10, An item will return you the SKU only if it has a SKU specified on it by the seller. If you can give us a sample item, we can check and let you know if the SKU exists on it. You can also use GetItem API Call to check the same. Cheers!!!
0 Likes 0 ·
bless_10 avatar image
0 Likes"
bless_10 answered
hi @shulmani_developer.support, Thank you for reply. Yes may be the seller is not adding sKU,thats what in my api its not getting. I have tried GetMyeBaySelling to get all active products from seller account
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.