Skip to main content
Published: July 12 2012, 1:32:00 PMUpdated: August 24 2022, 10:32:52 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, a unique identifier for an order line item).
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, a unique identifier for an order line item, 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>1235</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