question

technocake avatar image
0 Likes"
technocake asked

retrieve OrderLineItemID from PurchaseOrderID

Hi, using the ebay Trading API from the buyers point of view: how can I retrieve an OrderlineItemId from a purchaseOrderID? I am making a system that takes in (manually) an url like below when we purchase something: http://vod.ebay.com/vod/FetchOrderDetails?ViewPaymentStatus&purchaseOrderId=xxxxxxxx&carttype=service&cartid=xxxxxxxxx And then I want to retrieve info about: - the item - the paypal transaction In order to do so I need to get the OrderLineItemID(s), if I understand the Trading API correctly.
purchasespurchaseorderid
10 |600

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

1 Answer

·
jourbandts avatar image
0 Likes"
jourbandts answered
You could use GetMyeBayBuying, http://developer.ebay.com/DevZone/XML/docs/Reference/ebay/GetMyeBayBuying.html#GetMyeBayBuying. That will give you a few pieces of data in order to get the rest that you need. Once you have the OrderLineItemID, you can use GetOrders to get other data. Although the data will be a bit limited from a buyers perspective because you don't have the seller's token. But it should be enough to get what you want.
10 |600

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.