How to direct link PO page through po_id

Looks like current links for POs use internal shiphero database ids.
https://app.shiphero.com/dashboard/purchase-orders/details/0000000

Is there an option to link somehow through the po_id that we get when creating the PO?

Thank You,
Uri R.

1 Like

Hi Uri!,
I’ve submitted a Feature Request for the engineering team to check if we are able to do it.
I will let you know when as soon as they provide an answer for that.
Thanks!,
Tom.

Thanks a lot Tomas !

Hi again urir!

Unfortunately, the po_id field previously used on our Rest API will be deprecated eventually, so now we will be using id or po_number.
But to make it easier we just included the possibility of making a purchase_order query, and getting a result by po_number, something like this:

query{
  purchase_order(po_number: "PO-NR1234-EXAMPLE"){
    request_id
    complexity
    data{
       id
    legacy_id
    po_number
    account_id
    warehouse_id
    vendor_id
    created_at
    po_date
    fulfillment_status
    }
  }
}

I hope this helps,
thanks again!
Tom