For full functionality of this site it is necessary to enable JavaScript.
Here are the instructions how to enable JavaScript in your web browser.

Knowledge base

Find the answer to your question

Advanced Search PView

Search terms
Search Type
Product
Category
Language
Format
SDK
Sort by
Direction

Order Details from GetSellerTransactions

  • Answer ID 1413
  • Published 05/19/2009 11:16 AM
  • Updated 10/20/2013 06:41 AM
  • Permalink https://ebaydts.com/eBayKBDetails?KBid=1413
Product

I need to retrieve the order's
-OrderID
- Order Price
- Order Creation Time
- Tax
-Shipping Cost
-Shipping Service

Is this information available via GetSellerTransactions?


You can get some of that information from the GetSellerTransations call. Here is how -

1. Make a call to GetSellerTransactions by passing the IncludeContainingOrder tag as true.

 <?xml version="1.0" encoding="utf-8"?>
<GetSellerTransactionsRequest xmlns="urn:ebay:apis:eBLBaseComponents">
  <DetailLevel>ReturnAll</DetailLevel>
  <RequesterCredentials>
    <eBayAuthToken>SellerToken</eBayAuthToken>
  </RequesterCredentials>
  <IncludeContainingOrder>true</IncludeContainingOrder>
  <ModTimeFrom>2009-05-19T00:00:00.000Z</ModTimeFrom>
  <ModTimeTo>2009-05-19T23:59:59.999Z</ModTimeTo>
</GetSellerTransactionsRequest>

2. The response contains transactions that were modified during the time specified by the ModTime time filter.

  • OrderID - If a transaction was a part of an order then the response will return the OrderID in the TransactionArray.Transaction.ContainingOrder.OrderID field. If a transaction is not a part of any order then this field will not be returned.
  • Order Price - TransactionArray.Transaction.AmountPaid, returns the amount the buyer paid for the item(s) in the transaction. For combined payment (the transaction is part of an order), this field returns the amount paid (inclusive of shipping) for the order to which the transaction belongs.
  • Order Creation Time - The exact order creation time that is returned by GetOrderTransactions is not returned by GetSellerTransactions. If the exact timestamp is not important you may choose to use the value returned by the TransactionArray.Transaction.CreatedDate, which is the time the transaction was created.
  • Tax - Shipping Cost - Shipping Service - The order level data for these fields cannot be retrieved via GetSellerTransactions.

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter