You can return a json object instead of rendering a page.
So instead of this:
public function show(Order $order)
{
return inertia('Order/Show', [
'order' => $order,
]);
}
you can do something like this:
public function show(Order $order)
{
return response()->json([
'order' => $order,
]);
}
Then handle the response in the Order/Index.