I’m assuming the Cancel API will bring the inventory back, but the location doesn’t seem to be correct.
The API doesn’t seem to allow me to specify a location, is there any solution?
Hi there!
I think you will want to be using the Refund Resource.
https://shopify.dev/api/admin-rest/2022-04/resources/refund#post-orders-order-id-refunds
With the refund resource you will be able to include restocking instructions for the line items, including the location_id, of where the item should be restocked to.