# Provide a Status filter on Fulfillments

**URL:** <https://community.shopify.dev/t/provide-a-status-filter-on-fulfillments/6732>\
**Category:** GraphQL Admin API Troubleshooting\
**Tags:** rest-migration, general-gql-troubles\
**Created:** [January 24, 2025, 3:31pm UTC](https://community.shopify.dev/t/provide-a-status-filter-on-fulfillments/6732 "2025-01-24T15:31:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gary\_Gilbert](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/gary_gilbert/32/1746_2.png) [@Gary\_Gilbert](https://community.shopify.dev/u/Gary_Gilbert)\
**Post date:** [January 24, 2025, 3:31pm UTC](https://community.shopify.dev/t/provide-a-status-filter-on-fulfillments/6732/1 "2025-01-24T15:31:57Z")

</div>

It would be great if we had a status filter on order fulfillments so that we do not have to filter them in our application logic. It makes way more sense to filter them at the source.

```auto
{
  order(id:"gid://shopify/Order/6200248434893"){
    fulfillments(first:10 status:SUCCESS){
      status
      id
      fulfillmentLineItems(first:10){
        nodes{
          id
          lineItem{
            sku
            refundableQuantity
          }
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![JordanFinners](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/jordanfinners/32/6616_2.png) [@JordanFinners](https://community.shopify.dev/u/JordanFinners)\
**Post date:** [January 24, 2025, 6:52pm UTC](https://community.shopify.dev/t/provide-a-status-filter-on-fulfillments/6732/2 "2025-01-24T18:52:31Z")

</div>

Can you get to the same information via the fulfillment orders? 🤔

If you go for fulfillmentOrders where the status is Complete or In Progress. Then you can loop over the fulfillments there?  
Not sure if thats any better or not

> **[Order - GraphQL Admin](https://shopify.dev/docs/api/admin-graphql/2025-01/objects/Order#connection-fulfillmentOrders-query-query-filter-status)**
>
> An order is a customer's request to purchase one or more products from a shop. You can retrieve and update orders using the \`Order\` object.
> Learn more about
> \[editing an existing order with the GraphQL Admin...
