Hi SH Team!
Hope everything is OK. I’m trying to automate the order cancellation process.
Actually, we can cancel orders through the API, but this only works if they are not fulfilled. In other case, it says that the order already has shipping labels which is OK. But sometimes we have to cancel orders that have been already shipped. So we call Re-ship on the UI, and then cancel the order through the API.
Is there a way to call order re-ship through the API? or maybe some other process to emulate this, like creating a return? The requirement is that the inventory has to be restored after the order gets cancelled.