# Purchase Orders Filters: Status and Created\_At

**URL:** https://community.shiphero.com/t/purchase-orders-filters-status-and-created-at/354
**Category:** GraphQL API
**Created:** [February 19, 2020, 6:42pm UTC](https://community.shiphero.com/t/purchase-orders-filters-status-and-created-at/354 "2020-02-19T18:42:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Devin\_Mabra](https://avatars.discourse-cdn.com/v4/letter/d/7cd45c/32.png) [@Devin\_Mabra](https://community.shiphero.com/u/Devin_Mabra)
#### Post date: [February 19, 2020, 6:42pm UTC](https://community.shiphero.com/t/purchase-orders-filters-status-and-created-at/354/1 "2020-02-19T18:42:00Z")

</div>

Hi,

Are there, or are there plans to add, filters for created\_at and status for purchase orders?

I am trying to pull only pending purchase orders with create\_at dates in the last year.

Is this possible?

---

<div class="post-metadata">

### Author: ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)
#### Post date: [February 22, 2020, 1:13pm UTC](https://community.shiphero.com/t/purchase-orders-filters-status-and-created-at/354/2 "2020-02-22T13:13:21Z")

</div>

Hi @Devin_Mabra  
As a matter of fact we do have this already requested on [this post](https://community.shiphero.com/t/purchase-orders-filters/303).  
The request has already been assigned to an engineer and I’ll make sure to add a +1 on the request so it gets expedited.  
I’ll let you know as soon as I have an update.  
Thanks!  
Tom

---

<div class="post-metadata">

### Author: ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)
#### Post date: [February 28, 2020, 12:19pm UTC](https://community.shiphero.com/t/purchase-orders-filters-status-and-created-at/354/3 "2020-02-28T12:19:26Z")

</div>

Hi @Devin_Mabra  
This should be available now.  
A query like this one should work for the created\_at:

```
query{
  purchase_orders(created_from: "2020-02-14", created_to: "2020-02-15"){
    request_id
    complexity
    data(first:10){
      edges{
        node{
           id
    legacy_id
    po_number
    account_id
          created_at
        }
      }
    }
  }
}

```

And this should return purchase orders with a created\_at date between 2020-02-14 and 2020-02-15.  
Thanks for the patience on this!  
Tom
