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
Sort by

Why am I getting 0 orders back when I am using <ListingType>Half</ListingType> in my GetOrders call when I know I have half orders?

  • Answer ID 1068
  • Published 06/15/2015 02:20 PM
  • Updated 06/15/2015 02:20 PM
  • Permalink
I can see half orders in my half account Sales page (
But when I make the GetOrders call using <ListingType>Half</ListingType> I get back 0 orders.
What is going on?

Detailed Description

Orders on half have different enumeration values for the OrderStatus of an Order than the values used for eBay orders.

"Inactive" is NOT an acceptable value for OrderStatus for half orders (although "Inactive" is acceptable for eBay orders).
So if you make a GetOrders call using <ListingType>Half</ListingType>, with <OrderStatus>ALL</OrderStatus>
you may get back 0 orders. This is the expected behavior.

Here is the list of order status applicable values :

For ebay orders:
•     Active
•     Completed
•     Inactive
•     Cancelled
•     All

Half orders:
•     Active
•     Completed
•     Cancelled
•     Shipped

Note : For orders, you should call the API for each order status type seperately.

Sample : Getting "Shipped" Orders
Include <OrderStatus>Shipped</OrderStatus> in the request.
Here is an example of a GetOrders call used to get "Shipped" orders:

<?xml version="1.0" encoding="utf-8"?>
<GetOrdersRequest xmlns="urn:ebay:apis:eBLBaseComponents">

How well did this answer your question?

Answers others found helpful

Print Email This Page Delicious Digg Facebook Reddit StumbleUpon Twitter