Order Query find holds

How to find holds of order in graphql

Hi Daniel!,
Unfortunately we don’t have a way of doing that. But I just submitted a Feature Request for that to be included.
I will let you know as soon as I get an update or an ETA.
Thanks!,
Tom

Hey Tom,

I am wondering if there is any update to this item. We are trying to build an integration that uses the holds fields, and since the REST API will be discontinued in a few months, it doesn’t make sense to build a new integration with REST. We really need to have these fields available to the GraphQL API.

Any update is much appreciated!

Thanks!
Jon

Hi @jon @Daniel !
This should be available now. Field should be included in order query.
Something like this:

query {
  order(id: "107087010") {
    request_id
    complexity
    data {
      id
      legacy_id
      order_number
      partner_order_id
      holds {
        fraud_hold
        address_hold
        shipping_method_hold
        operator_hold
        payment_hold
      }
    }
  }
}

Please let me know if theres anything else I can help you with,
Thanks!
Tom

1 Like