API for pick status?

We were wondering if it was possible for API information to be pulled for an orders pick status. (Like whether it is in a tote or not) We are trying to setup a customer service chat bot and we are trying to make it possible for customers to cancel their orders but only if the pick status for that order is ‘not picked’. This will be very helpful ability to us, is this a possibility?

Hi @AmericanTall,
Welcome, Luca! We do not have the tote status for orders available through the Public API. I can put in a feature request for it, where the idea can be reviewed. Let me know if you would like me to do that or if there is another way you would like to approach this.

That would be perfect! I feel like this will be very beneficial, not only us but a lot of other companies as well. Thanks!

The is a request for this!

1 Like

Also curious, is it possible to put order on hold through API calls? Is this something that is a current feature request as well?

Yes, that you can do now. For instance, if you wanted to engage an operator hold …

mutation{
  order_update_holds(data:{
    order_id:"*Xorder id hereX*"
    operator_hold:true
  }){
    request_id
    complexity
    
  }
}

1 Like

Good news @AmericanTall ! Hi Luca, you can now see the tote information in the LineItem query

query{
order(id: "[order id here]") {
    request_id
    complexity
    data {
      id
      line_items {
        edges {
          node {
            id
            tote_picks {tote_id, current}
          }
        }
      }
    }
  }
}

Current should return a 1 or 0 to show if it is currently in a tote.