# Alternative to subscription

**URL:** <https://community.shiphero.com/t/alternative-to-subscription/326>\
**Category:** GraphQL API\
**Created:** [February 7, 2020, 10:44pm UTC](https://community.shiphero.com/t/alternative-to-subscription/326 "2020-02-07T22:44:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![albrana](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/albrana/32/91_2.png) [@albrana](https://community.shiphero.com/u/albrana)\
**Post date:** [February 7, 2020, 10:44pm UTC](https://community.shiphero.com/t/alternative-to-subscription/326/1 "2020-02-07T22:44:33Z")

</div>

As legacy webhooks are getting deprecated, I don’t see a point in creating a subscription at this time but I do want the ability to update the status of an order in my system when it is fulfilled in ShipHero. It doesn’t need to be real-time. I was thinking about issuing a query something like this:

query {  
orders (fulfillment\_status: “fulfilled”){  
complexity  
request\_id  
data(first: 20 sort: “-order\_number”) {  
edges {  
node {  
id  
legacy\_id  
order\_number  
fulfillment\_status  
}  
}  
}  
}  
}

This should return the last 20 orders that were fullfilled. I can issue this maybe once per hour or so and update any orders in my system that have not been updated yet. What do you think? Is there a better way?
