The TransactionDetails response group returns information about customer transactions, including:
Condition of the transaction
Date of the transaction
Seller ID
Total dollar amount of the transaction
TransactionDetails does not return information about the items purchased or about the customers who completed the transaction.
The following table describes the elements returned by TransactionDetails. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.
| Response Element | Ancestry | Definition |
|---|---|---|
Amount
| Transaction/TransactionItems/TransactionItem/UnitPrice/Amount | Price in terms of the lowest currency denomination, for example, pennies, for each item purchased. |
Amount
| Transaction/Totals/Subtotal/Amount | The price in terms of the lowest currency denomination, for example, pennies, for the subtotal of all items purchased. |
Amount
| Transaction/Totals/Promotion/Amount | Price in terms of the lowest currency denomination, for example, pennies, for all promotional discounts. |
Amount
| Transaction/Totals/Total/Amount | Price in terms of the lowest currency denomination, for example, pennies, for all of the items. |
Amount
| Transaction/Totals/ShippingCharge/Amount | Price in terms of the lowest currency denomination, for example, pennies, for all of the shipping charges |
Amount
| Transaction/TransactionItems/TransactionItem/TotalPrice/Amount | Price in terms of the lowest currency denomination, for example, pennies, for the entire purchase, including tax, shipping, and promotional discounts. |
Amount
| Transaction/Totals/Tax/Amount | Price in terms of the lowest currency denomination, for example, pennies, for the tax due. |
CurrencyCode
|
Transaction/Totals/Total/CurrencyCode Transaction/Totals/Tax/CurrencyCode Transaction/Totals/Promotion/CurrencyCode Transaction/TransactionItems/TransactionItem/UnitPrice/CurrencyCode Transaction/Totals/Subtotal/CurrencyCode Transaction/Totals/ShippingCharge/CurrencyCode Transaction/TransactionItems/TransactionItem/TotalPrice/CurrencyCode | Abbreviation for the format to apply to the Amount so that it is presented correctly for the target locale. |
FormattedPrice
|
Transaction/TransactionItems/TransactionItem/TotalPrice/FormattedPrice Transaction/Totals/Subtotal/FormattedPrice Transaction/Totals/Tax/FormattedPrice Transaction/Totals/Promotion/FormattedPrice Transaction/TransactionItems/TransactionItem/UnitPrice/FormattedPrice Transaction/Totals/Total/FormattedPrice Transaction/Totals/ShippingCharge/FormattedPrice | The price formatted correctly for the targeted locale. |
ShipmentItems
| Transaction/Shipments/Shipment/ShipmentItems | The items in a specific shipment. |
Shipments
| Transaction/Shipments | The shipments |
Totals
| Transaction/Totals | Container object for all other Total* elements, including Total, SubTotal, Tax, ShippingCharges, Promotion, and so forth. |
TransactionDate
| Transaction/TransactionDate | The date on which the transaction began of the form yyyy-mm-ddThh.mm.ss, for example, 2005-06-08T19:19:27. |
TransactionDateEpoch
| Transaction/TransactionDateEpoch | The date on which the transaction began in the form of epoch seconds. |
TransactionId
| Transaction/TransactionId | A series of dash-separated integers, such as 111-222-333, that uniquely identify a transaction. |
TransactionItem
| Transaction/TransactionItems/TransactionItem | Container for all of the information related to a specified transaction. |
TransactionItemId
| Transaction/TransactionItems/TransactionItem/TransactionItemId | A string that uniquely identifies a transaction item. |
TransactionItems
| Transaction/TransactionItems | Container for TransactionItem |
TransactionDetails also returns the elements that all response groups return, which is described in Elements Common to All Response Groups.
The following response groups are parent response groups of TransactionDetails.
None
The following response groups are child response groups of TransactionDetails.
None
The folllowing request was used to illustrate the XML response elements returned by TransactionDetails.
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService& AWSAccessKeyId=[Access Key ID]& Operation=TransactionLookup& TransactionId=011-6222227-3333335& ResponseGroup=TransactionDetails
The following response snippet shows the elements returned by TransactionDetails.
<Transaction>
<TransactionId>00269664477138425</TransactionId>
<SellerId>ATVPDKIKX0DER</SellerId>
<Condition>Complete</Condition>
<TransactionDate>20050608T19:19:27</TransactionDate>
<TransactionDateEpoch>1118258367</TransactionDateEpoch>
<SellerName>Amazon.com</SellerName>
<Totals>
<Total>
<Amount>1879</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$18.79</FormattedPrice>
</Total>
<Subtotal>
<Amount>1485</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$14.85</FormattedPrice>
</Subtotal>
<Tax>
<Amount>144</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$1.44</FormattedPrice>
</Tax>
<ShippingCharge>
<Amount>399</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$3.99</FormattedPrice>
</ShippingCharge>
<Promotion>
<Amount>149</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$1.49</FormattedPrice>
</Promotion>
</Totals>
<TransactionItems>
<TransactionItem>
<TransactionItemId>jooloslsnpl</TransactionItemId>
<Quantity>1</Quantity>
<UnitPrice>
<Amount>1485</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$14.85</FormattedPrice>
</UnitPrice>
<TotalPrice>
<Amount>1485</Amount>
<CurrencyCode>USD</CurrencyCode>
<FormattedPrice>$14.85</FormattedPrice>
</TotalPrice>
</TransactionItem>
</TransactionItems>
<Shipments>
<Shipment>
<Condition>Shipped</Condition>
<DeliveryMethod>Mail</DeliveryMethod>
<ShipmentItems>
<TransactionItemId>jooloslsnpl</TransactionItemId>
</ShipmentItems>
</Shipment>
</Shipments>
</Transaction>
</Transactions>