Skip to main content
Published: May 19 2009, 11:16:00 AMUpdated: August 09 2022, 2:49:29 PM

Question

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

Is this information available via GetSellerTransactions?

 

Answer

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>2022-07-09T20:39:10.114Z</ModTimeFrom>
  <ModTimeTo>2022-08-09T20:39:10.114Z</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

Got thoughts? Click the feedback button – your insights help us improve!