Skip to main content
Published: --Updated: December 04 2024, 2:25:46 AM

Question

How to get the snapshot of a listing for the time, when transaction was created for the item?

 

Answer

There can be several scenarios where sellers want to get the snapshot of any listing. One of the use cases is, a seller deleted or updated details like item descriptions for the listing and now the seller wants to fetch the details for previous item descriptions. 

For the listings which are having the transactions for the item, seller/3P Developers can execute the GetItem call of Trading API with "ItemID" and "TransactionID" field and set DetailLevel as ReturnAll for the authenticated seller to get the previous description and other details for the item as specifying a TransactionID in the GetItem request allows you to retrieve a snapshot of the listing as it was when the order line item was created.         

 

Sample Request Body:

<?xml version="1.0" encoding="utf-8"?>
<GetItemRequest xmlns="urn:ebay:apis:eBLBaseComponents">
    <ErrorLanguage>en_US</ErrorLanguage>
    <WarningLevel>High</WarningLevel>
  <ItemID>12345XXXXX</ItemID>
  <TransactionID>56673XXXX</TransactionID>
</GetItemRequest>

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