Skip to main content
Published: July 12 2012, 1:32:00 PMUpdated: November 28 2020, 10:34:13 PM

A seller is listing an Multi-Quantity item with Item location set to a country(China).   We are tring to retrieve the item information associated with each transaction.

 Here is the scenario: 

1. A buyer , say buyer 1 bought the item -Quantity 1 ( Transaction 123456789012).
2. The seller revise the listing and modify the Item location to another country(Japan)
3.  Buyer 2 bought the item -Quantity 1 ( Transaction 210987654321)

How can we get the item location information or other item properties for the revised item based on the transaction?

Summary  

  You can pass the TransactionID  in your GetItem request as below to retrieve a snapshot of the listing version that is assoicated with that transaction:


<?xml version="1.0" encoding="utf-8"?>
<GetItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
<DetailLevel>ReturnAll</DetailLevel>
<Version>765</Version>
<ItemID>290006872491</ItemID>
<RequesterCredentials>
<eBayAuthToken>xxx </eBayAuthToken>
</RequesterCredentials>
<TransactionID>123456789012</TransactionID>
</GetItemRequest>

GetItem returns only the latest listing version if no TransactionID is passed in the request.

How well did this answer your question?
Answers others found helpful