Skip to main content
Published: December 18 2018, 2:51:00 PMUpdated: August 31 2022, 12:58:52 AM

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:

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