question

sarita555 avatar image
0 Likes"
sarita555 asked ·

Get only the item name from getOrders API call

Hi, How do I get only the item name from getOrders API call since the item name also has variations in it like "Gaming Computer[Intel C2D E8400 3.0GHz Retail,Crucial 512MB PC4200 DDR2 533MHz Memory,Western Digital - 1TB HD - 7200..." I don't need these variations. One way I though of was finding the index of '[' in the string and strip the string before that to get the item name but that won't work for items that already have '[' in their names. Is there any other way or any field that I am missing? Thanks.
getordersvariationsitem-name
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.

jourbandts avatar image
0 Likes"
jourbandts answered ·
Ah got it, sorry I didn't quite understand what you were looking at initially. Unfortunately there is no way to get "just" the title using GetOrders. So you will have to use another API to get this, GetItem, GetSingleItem, GetMultipleItems are all a few I can think of, whatever is easiest for you. Why do you need just the title anyways from GetOrders? Maybe I can find a better approach?
· Share
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.

sarita555 avatar image
0 Likes"
sarita555 answered ·
Heres an eg Item -> [Title] => Gaming Computer[AMD Phenom X4 9850 Black Ed. 2.50GHz Retail,Crucial 2GB PC4200 DDR2 533MHz Memory,Seagate 500GB HD - ... Where [AMD Phenom X4 9850 Black Ed.. is the item name along with its variations which is even incomplete. The variation list: [VariationSpecifics] => SimpleXMLElement Object ( [NameValueList] => Array ( [0] => SimpleXMLElement Object ( [Name] => CPU [Value] => AMD Phenom X4 9850 Black Ed. 2.50GHz Retail ) [1] => SimpleXMLElement Object ( [Name] => RAM [Value] => Crucial 2GB PC4200 DDR2 533MHz Memory ) [2] => SimpleXMLElement Object ( [Name] => Hard Drive [Value] => Seagate 500GB HD - 5400RPM ) ) )
· 2 · Share
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.

Can you send me JUST the itemID, or a link to the item. I just want to see the item as it appears on the site.
0 Likes 0 ·
@jourbandts the item id of above metione item is 110137636699 and the link is http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1⁢em=110137636699 An item eg with '[', ']' in its name: 110138949737 and link to it http://cgi.sandbox.ebay.com/ws/eBayISAPI.dll?ViewItem&rd=1⁢em=110138949737
0 Likes 0 ·
jourbandts avatar image
0 Likes"
jourbandts answered ·
Not sure I understand your question? Can you send me the ItemID so I can take a look?
· Share
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.