Purchase Orders Filters: Status and Created_At

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?

Hi @Devin_Mabra
As a matter of fact we do have this already requested on this post.
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

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