My use case is, I created a purchase order in shiphero today using apis with order quantity 10. Next day I realized that I only need quantity 5. So my question is-
How can I update existing purchase order quantity using APIs?
Hi @kalesha!
You can use the purchase_order_update mutation for that, and update the Quantity for that SKU.
Would that work for you?
Example:
mutation{
purchase_order_update(data: {
line_items:{
sku:"testSKU"
quantity:0
}
}){
request_id
complexity
}
}