Halachic decisors prohibit ordering something which is guaranteed to be delivered on Shabbat in normal circumstances (see the last paragraph for exceptions).
R Doniel Neustadt explains the general principle (here)
Amirah l’akum, giving instructions to a non-Jew to do an action which would be forbidden for a Jew to do on Shabbos, is prohibited. It
makes no difference whether the Jew’s command is given on Shabbos or
before Shabbos. Accordingly, it should be forbidden to instruct a
non-Jew to deliver an overnight package on Shabbos, since there are
several prohibitions involved in delivering mail on Shabbos.
R Yehuda Shurpin at chabad.org (here) explicitly prohibits in your case
Placing a guaranteed overnight delivery on Friday to arrive on Shabbat
is problematic. Unlike the previous scenario, to fulfill the terms of
your order, the company needs to do work on Shabbat [...] it goes
without saying that one cannot make an Instacart or Prime Now order
that is set to be delivered on Shabbat, since in this scenario you
are essentially asking the non-Jew to do work for you on Shabbat.
Same for R Tsvi Heber at COR (here)
Amazon consumers are advised to avoid choosing a delivery option that
specifies that the product should be delivered on Shabbos or Yom Tov
Same for Yoel Lieberman at yeshiva.co (here)
So when you're requesting for the package to be delivered on Shabbat
or there is no choice other than they work on Shabbat it is forbidden
to do so
Same for OU Kosher
One may not place an order if the delivery will definitely take place
on Shabbos. For example, one cannot send a package with UPS or FedEx
on Friday and select “next day delivery”.
In exceptional cases, in case of great loss or great need (e.g., urgent medication), there is room to permit based on indirect amirah l'akum or because the non-Jew delivering the mail doesn't know he's working for a Jew. R Doniel Neustads explains these leniencies at length.