How to post Tracking number for purchase order

Hello,

Is there a way to include just the tracking number (no other shipment information is needed) into a purchase order mutation? There is a field for “Tracking #” in the purchase order in ShipHero and I would like to target that field. If this isn’t possible, please provide the mutation that does work to add a tracking number here.

Thanks,
Orion

Hi @Orion !
To be able to Update a Tracking number in a PO you should be able to do so with the purchase_order_update mutation, something like this:

mutation{
  purchase_order_update(data: {
    po_id:"497844"
    tracking_number:"123456789"
  }){
    request_id
    complexity
  }
} 

The po_id is the id of the purchase order you want to update.
Let me know if that doesn’t help.
Thanks!
Tom