Skip to main content
Published: December 18 2018, 2:51:00 PMUpdated: November 28 2020, 12:48:45 PM

Why does Fulfillment api's getOrders return Cancelled Orders?

The orders that get Cancelled are checkout complete purchases, i.e. they are orders so they should appear in the Fulfillment API's getOrders response no matter whether the orders were cancelled or refunded.


There are containers/fields in the getOrders API response to keep a record of cancel/refund status of orders:

https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrders#response.orders.cancelStatus

https://developer.ebay.com/api-docs/sell/fulfillment/resources/order/methods/getOrders#response.orders.lineItems.refunds

These containers need to be checked before fulfilling the orders.


Note: Even if filters like IN_PROGRESS|NOT_STARTED are included in the request, since cancelled orders don’t start the fulfillment process, the getOrders response will not filter them out and they will be returned in the response.


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